1. A method comprising: in a computing device, maintaining a configuration file, said configuration file including identifiers of query-execution functions; identifying query-execution functions within binary code or intermediate code of one or more database access modules, in response to the identifiers; and instrumenting into the identified query-execution functions instructions operable to profile the query-execution functions by logging at least one of database access strings and database connection strings during runtime of the query execution functions.