Profiling stored procedures
Abstract
An improved system and method for profiling elements of software applications facilitates identification and diagnosis of performance issues. Using aspect-oriented programming, additional code, referred to as an advice, is added at various steps in execution of a stored procedure. The additional code specifies additional action to be taken, such as capture of a stored procedure signature, parameters, and system time before and after execution. By adding the code at load time, the system of the present invention provides a mechanism by which the original procedure code as stored in the database and the application code calling the stored procedure can remain unchanged. Captured data is used in generating a profile of the stored procedure call.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for profiling a stored procedure, comprising: in a processor, receiving an instruction to execute a call preparation function to prepare a call to invoke a stored procedure; in the processor, inserting first additional code to the call preparation function operable to capture a call signature of the stored procedure; in the processor, receiving an instruction to execute a parameter setting function to set a parameter for the stored procedure; in the processor, inserting second additional code to the parameter setting function operable to capture the parameter for
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- Chu, Cliff, "SQL stored procedure profiling in DB2 Developer Workbench," , Oct. 4, 2007, IBM, p. 1-14.
- Chu, Cliff, “SQL stored procedure profiling in DB2 Developer Workbench,” <http://www.ibm.com/developerworks/data/library/techarticle/dm-0710chu/>, Oct. 4, 2007, IBM, p. 1-14.
- Depesz, "Profiling stored procedures/functions," , Mar. 18, 2010, p. 1-15.
- Depesz, “Profiling stored procedures/functions,” <http://www.depesz.com/2010/03/18/profiling-stored-proceduresfunctions/>, Mar. 18, 2010, p. 1-15.
- Kiczales et al., "An Overview of AspectJ," 2001.