14. A system in communication with a database, comprising: a computer readable storage medium; a compiler executed to perform operations, the operations comprising: translating source code including at least one query statement written in a database query language into executable object code in the computer readable storage medium; and generating a statement descriptor data structure in the object code including statement descriptor information for the translated at least one query statement including information on the at least one query statement as presented in the source code; and a monitor application executed to perform operations comprising—executing the object code to cause execution of the at least one query statement; accessing the statement descriptor information in the statement descriptor data structure in the object code for the at least one executed query statement; and processing the accessed statement descriptor in to output information on the at least one query statement included in the statement descriptor information.
16. The system of claim 14 , wherein the operations further comprise: determining database objects affected by the at least one query statement in the source code; and generating information on the determined database objects into the statement descriptor information for the at least one query statement affecting the determined database objects.