15. A system, comprising: a processor; and a memory containing a program which when executed on a processor performs an operation for analyzing performance data, the operation comprising: receiving event records of performance data for query statements executed by a relational database management system, condensing the performance data in each respective event record into a summary, wherein the summary for a respective event record includes at least one characteristic of a query statement obtained during execution of that query statement, identifying at least one executed query statement based on the at least one characteristic, wherein the executed query statement is issued by at least one application program, generating, from the condensed event records related to the identified query statement, a performance summary for the executed query statement; and generating a performance summary for the at least one application program from at least the performance summary for the executed query statement.
15. A system, comprising: a processor; and a memory containing a program which when executed on a processor performs an operation for analyzing performance data, the operation comprising: receiving event records of performance data for query statements executed by a relational database management system, condensing the performance data in each respective event record into a summary, wherein the summary for a respective event record includes at least one characteristic of a query statement obtained during execution of that query statement, identifying at least one executed query statement based on the at least one characteristic, wherein the executed query statement is issued by at least one application program, generating, from the condensed event records related to the identified query statement, a performance summary for the executed query statement; and generating a performance summary for the at least one application program from at least the performance summary for the executed query statement. 16. The system of claim 15 , wherein the operation further comprises: analyzing the performance summaries for the executed statements based on one or more performance characteristics to identify one or more statements.