Invention Grant
US07702642B1 Method, system and computer-readable code for instrumenting code for logging database-related strings 有权
用于记录数据库相关字符串的代码的方法,系统和计算机可读代码

Method, system and computer-readable code for instrumenting code for logging database-related strings
Abstract:
A method, system and computer readable code for instrumenting code into database access modules are disclosed. According to some embodiments, specific functions within the database access module are identified as query-execution functions, and instructions for logging at least one of database access strings and database connection string during runtime are instrumented into the identified query-execution functions. Exemplary database access strings include database query strings, such as an SQL query string, and stored procedure names. Optionally, additional instructions for extracting various parameters, such as database identifiers, performance parameters, and security policy parameters, from the database connection strings are instrumented. According to some embodiments, the identifying of query-execution functions includes determining if an identity of a candidate function of a database access module matches one of the identifiers of a known execution function. According to some embodiments, a repository of known query execution functions and/or a repository of encoding schema for database connection strings is maintained, for example, using one or more configuration files.
Information query
Patent Agency Ranking
0/0