Method to measure stored procedure execution statistics
First Claim
1. A method of evaluating the performance of a business or financial software application comprising the steps of:
- providing a stored procedure to interact with a database;
executing the stored procedure in a stored procedure execution time;
querying the database for the stored procedure execution statistics including reads and writes of the database;
analyzing the stored procedure execution statistics to generate a set of stored procedure execution statistics based on many runs;
evaluating the analysis by comparison to a set of predicted or previously recorded execution statistics; and
modifying the stored procedure when the evaluation shows the performance has degraded as compared to the predicted or previously recorded statistics.
2 Assignments
0 Petitions
Accused Products
Abstract
The invention is a method to obtain actual stored procedure execution statistics while an overlying application is running. The method is accomplished by a software module running in background and acquires the execution statistics, including database writes and reads, for every stored procedure run. Statistics, such as the number of database writes and reads, are reported by the application'"'"'s underlying database supervisory program. The resulting execution statistics are analyzed and selected information is saved to a stored procedure statistics database. Because the module can be run continuously in background, it can develop statistics for all procedure calls made under varying computing conditions with varying calling parameter sets. A statistical analysis of such acquired stored procedure execution statistics is useful for evaluating new versions of the complex software application, new stored procedures, modified stored procedures, and for locating a specific cause of application failure or reduced performance as caused by a malformed or malfunctioning stored procedure. Additionally, the method can flag anomalous performance, warning of previously undetected failure.
-
Citations
16 Claims
-
1. A method of evaluating the performance of a business or financial software application comprising the steps of:
-
providing a stored procedure to interact with a database; executing the stored procedure in a stored procedure execution time; querying the database for the stored procedure execution statistics including reads and writes of the database; analyzing the stored procedure execution statistics to generate a set of stored procedure execution statistics based on many runs; evaluating the analysis by comparison to a set of predicted or previously recorded execution statistics; and modifying the stored procedure when the evaluation shows the performance has degraded as compared to the predicted or previously recorded statistics. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method of evaluating the performance of a business or financial software application comprising the steps of:
-
providing a stored procedure to interact with a database; starting a timer; executing the stored procedure in a stored procedure execution time; stopping the timer; reading the timer to register the total execution time from call to returned data; querying the database for the stored procedure execution statistics including the number of reads and writes of the database; analyzing the stored procedure execution statistics and total execution time to generate a set of stored procedure execution statistics based on many runs; evaluating the analysis by comparison to a set of predicted or previously recorded execution statistics; and modifying the stored procedure when the evaluation shows the performance has degraded as compared to the predicted or previously recorded statistics.
-
-
14. A method of evaluating the performance of a business or financial software application in a simulated trading environment comprising the steps of:
-
providing a stored procedure to interact with a database; providing client terminals programmed to simulate normal trading activities on a network; performing a regression test caused by simulated trades from multiple terminals; executing stored procedures according to the simulated trades; querying the database for the stored procedure execution statistics including the number of reads and writes of the database; analyzing the stored procedure execution statistics to generate a set of stored procedure execution statistics based on many runs; evaluating the analysis by comparison to a set of predicted or previously recorded execution statistics; and modifying the stored procedure when the evaluation shows the performance has degraded as compared to the predicted or previously recorded statistics. - View Dependent Claims (15)
-
-
16. A method of evaluating the performance of a business or financial software application comprising the steps of:
-
providing a stored procedure to interact with a database; executing the stored procedure in a stored procedure execution time; querying the database for the stored procedure execution statistics including reads and writes of the database; returning the stored procedure execution time from an error handler in the database; analyzing the stored procedure execution statistics to generate a set of stored procedure execution statistics based on many runs; evaluating the analysis by comparison to a set of predicted or previously recorded execution statistics; and modifying the stored procedure when the evaluation shows the performance has degraded as compared to the predicted or previously recorded statistics.
-
Specification