1. A method, comprising: collecting, with a processor of a computer, client information for client applications running on a client computer, wherein the client information includes a client application identifier for each client application that issues queries to a database along with text of each of the queries that the client application issues; collecting, with the processor of the computer, database monitoring information that includes the text of each of the queries issued against the database and performance information for each of the queries, wherein the database monitoring information does not include the client application identifier of each client application that issues the queries; matching, with the processor of the computer, the text of the queries in the client information and the text of the queries in the database monitoring information to obtain combined information that provides the client application identifier and the performance information for each of the queries; identifying, with the processor of the computer, a problem query using the combined information; identifying, with the processor of the computer, multiple client applications that issued the problem query using the combined information; and in response to determining that a comparison window can be expanded, wherein the comparison window represents a number of queries that were issued in a particular order and include the problem query being compared to the combined information, expanding the comparison window; and attempting to identify a single client application that issued the problem query using the expanded comparison window.