A method, system and computer program for analysis of patch impact. The method comprises obtaining first data manipulating statement (DMS) from description of a patch to be installed to a database system; extracting first parse tree and first access path of first DMS; obtaining second DMS from an running database application; extracting second parse tree of second DMS; comparing first parse tree with second parse tree and first access path with second access path; and installing the patch to a database system in response to a determination that first parse tree is a subset of second parse tree and first access path is a subset of second access path.