Global caching and sharing of SQL statements in a heterogeneous application environment
First Claim
1. A method of operating a relational database management system, said system comprising a plurality of nodes, said method providing a global cache accessible by a plurality of agents, wherein said global cache comprises a portion including a static SQL section and a portion including a dynamic SQL section.
1 Assignment
0 Petitions
Accused Products
Abstract
A global cache for SQL sections and methods of accessing the cache. The global cache being at the database level and being accessible to all agents of all applications. The global cache having a static and a dynamic portion. The static portion containing section entries having both section information and section data. The dynamic portion having two sub-portions, a statement portion and a dependency portion. The dependency portion containing multiple SQL statements, multiple compilation environments for each SQL statement and multiple variations within each compilation environment. The dependency portion of the dynamic portion containing a plurality of lists of object types. Each object type having its own list, the list containing data on which variations are dependant on each object.
147 Citations
22 Claims
- 1. A method of operating a relational database management system, said system comprising a plurality of nodes, said method providing a global cache accessible by a plurality of agents, wherein said global cache comprises a portion including a static SQL section and a portion including a dynamic SQL section.
-
6. A global cache for SQL sections in a relational database management system, said global cache being stored in a computer readable memory and being accessible to a plurality of agents, said cache comprising:
-
a) a portion including a static SQL section; and
b) a portion including a dynamic SQL section. - View Dependent Claims (7)
a) one or more packages; and
b) one or more section entries within each of said packages.
-
-
14. A Relational Database Management system comprising a plurality of interlinked heterogeneous nodes, each of said nodes having associated storage and processor resources wherein each node includes:
-
a) a global cache comprising a plurality of SQL sections;
b) means for locating said sections; and
c) means for creating new variations in said cache. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22)
a) a static SQL portion; and
b) a dynamic SQL portion.
-
-
16. The system of claim 15 wherein said static portion comprises:
-
a) one or more packages; and
b) one or more section entries within each of said packages.
-
-
17. The system of claim 16, wherein the static portion includes, in one package, a section including a section entry for a dynamic SQL request.
-
18. The system of claim 17 wherein said dynamic portion comprises:
-
a) a statement portion; and
b) a dependency portion.
-
-
19. The system of claim 18, wherein said statement portion comprises:
-
a) one or more SQL text statements;
b) one or more compilation environments, each compilation environment being linked with one SQL text statement;
c) at least one variation linked to each of said compilation environments.
-
-
20. The system of claim 19, wherein each variation includes an indication of the validity thereof.
-
21. The system of claim 20, wherein said dependency portion comprises a plurality of lists of objects, each of said lists being specific to a single object type, each object in each of said lists containing information on which of said variations are dependent on said object.
-
22. The system of claim 21 wherein said compilation environment comprises information not contained in the catalogue tables, said information being of a type that influences the decision made by an SQL compiler when generating an access plan.
Specification