1. A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform a method, the method comprising: determining that a first set of database values in a database table are in a committed transaction state and that a second set of database values in the database table are in an uncommitted transaction state, wherein the determining includes reading a first set of column values and second set of column values of a plurality of columns within one or more index objects, the first set of column values specifying that the first set of database values are in a committed transaction state, and the second set of column values specifying that the second set of database values are in an uncommitted transactions state; in response to the determining, generating a first set of statistics for the first set of database values and generating a second set of statistics for the second set of database values, the first and second set of statistics for use in determining a query execution plan, wherein the first set of statistics and the second set of statistics include: histogram statistics, cardinality statistics, frequent value list statistics, and selectivity statistics; receiving a first query request to access a first set of database records that includes one or more of the first set of database values and one or more of the second set of database values; determining that a first isolation level allows a read of the first and second set of database values, wherein the isolation level determines whether database values in an uncommitted transaction state and database values in a committed transaction state can both be accessed for a particular query request; in response to the determining that a first isolation level allows a read of the first and second set of database values, using one or more of the first set of statistics and one or more of the second set of statistics to determine a first query execution plan for accessing the first set of database records; receiving a second query request to modify a second set of database records that includes at least one of the first set of database values and at least one of the second set of database values; determining, for the second query request, that a second isolation level only allows a modification of the first set of database values but not a modification of the second set of database values; using, for the second query request, at least one of the first set of statistics for the at least one of the first set of database values to determine a second query execution plan, wherein the second set of statistics for the second set of database values are not used; changing the uncommitted transaction state of the at least one of the second set of database values to a committed transaction state; in response to the changing, updating the at least one of the first set of statistics by generating a third set of statistics and updating at least one of the second set of statistics by generating a fourth set of statistics; receiving a third query request to modify the second set of database records; determining for the third query request, that a third isolation level allows a modification of the first set of database values and the at least one of the second set of database values that have been changed to the committed transaction state; and using the third and fourth set of statistics to change the second query execution plan to a third query execution plan.