1. A computer-implemented method, comprising: receiving a request to evaluate a patch for a database management system (DBMS) configured to manage a database, wherein the DBMS provides a first execution environment that is not based on the patch, and wherein the database includes a first plurality of access plans generated based on the first execution environment; providing a second execution environment in the DBMS, based on the patch; and generating a second plurality of access plans based on the second execution environment; and by operation of one or more computer processors, comparing the first plurality of access plans with the second plurality of access plans to identify one or more queries impacted by the patch.