Two-level caching system for prepared SQL statements in a relational database management system
First Claim
1. A method of executing a statement in a computer, the statement being executed by the computer to manipulate data in a database stored on a data storage device connected to the computer, the method comprising the steps of:
- preparing a first statement to create an executable structure for executing the first statement from an application;
storing the executable structure in an application-level cache associated with the application across a commit operation;
receiving a second statement for execution from the application;
determining that the second statement can be executed using the stored executable structure for the first statement; and
executing the second statement using the stored executable structure.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, apparatus, and article of manufacture for a computer implemented two-level caching system. A statement is executed in a computer. The statement is executed by the computer to manipulate data in a database stored on a data storage device connected to the computer. Initially, a first statement is prepared to create an executable structure for executing the first statement from an application. Then, the executable structure is stored in an application-level cache associated with the application. A second statement is received for execution from the application. It is determined that the second statement can be executed using the stored executable structure for the first statement. Next, the second statement is executed using the stored executable structure.
-
Citations
33 Claims
-
1. A method of executing a statement in a computer, the statement being executed by the computer to manipulate data in a database stored on a data storage device connected to the computer, the method comprising the steps of:
-
preparing a first statement to create an executable structure for executing the first statement from an application; storing the executable structure in an application-level cache associated with the application across a commit operation; receiving a second statement for execution from the application; determining that the second statement can be executed using the stored executable structure for the first statement; and executing the second statement using the stored executable structure. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An apparatus for executing a statement, comprising:
-
a computer having a data storage device connected thereto, wherein the data storage device stores a database; one or more computer programs, performed by the computer, for preparing a first statement to create an executable structure for executing the first statement from an application, for storing the executable structure in an application-level cache associated with the application across a commit operation, for receiving a second statement for execution from the application, for determining that the second statement can be executed using the stored executable structure for the first statement, and for executing the second statement using the stored executable structure. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. An article of manufacture comprising a computer program carrier readable by a computer and embodying one or more instructions executable by the computer to perform method steps for executing a statement, the statement being performed by the computer to retrieve data from a database stored in a data storage device connected to the computer, the method comprising the steps of:
-
preparing a first statement to create an executable structure for executing the first statement from an application; storing the executable structure in an application-level cache associated with the application across a commit operation; receiving a second statement for execution from the application; determining that the second statement can be executed using the stored executable structure for the first statement; and executing the second statement using the stored executable structure. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
Specification