STATISTICS COLLECTION USING PATH-IDENTIFIERS FOR RELATIONAL DATABASES
First Claim
1. A method, on an information processing system, for collecting statistics associated with data in a database, the method comprising:
- determining an amount of memory needed to collect statistics for data associated with a defined data type in a relational database, wherein the defined data type is based upon a mark-up language using a tree structure with one or more root-to-node paths therein;
allocating the amount of memory as determined for collecting the statistics for the data of the defined data type; and
performing a collection of statistics for the data of the defined data type in a single pass through the database and within the amount of memory which has been allocated;
0 Assignments
0 Petitions
Accused Products
Abstract
Disclosed are a system, method, and computer readable medium for collecting statistics associated with data in a database. The method comprises determining an amount of memory needed to collect statistics for data associated with a defined data type in a relational database. The defined data type is based upon a mark-up language using a tree structure with one or more root-to-node paths therein. The amount of memory as determined is allocated for collecting the statistics for the data of the defined data type. A statistics collection is performed for the data of the defined data type in a single pass through the database and within the amount of memory which has been allocated.
-
Citations
20 Claims
-
1. A method, on an information processing system, for collecting statistics associated with data in a database, the method comprising:
-
determining an amount of memory needed to collect statistics for data associated with a defined data type in a relational database, wherein the defined data type is based upon a mark-up language using a tree structure with one or more root-to-node paths therein; allocating the amount of memory as determined for collecting the statistics for the data of the defined data type; and performing a collection of statistics for the data of the defined data type in a single pass through the database and within the amount of memory which has been allocated; - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for collecting statistics associated with data in a database, the system comprising:
at least one information processing system communicatively coupled to a database, the information processing system comprising; a memory estimator for determining an amount of memory needed to collect statistics for data associated with a defined data type in the database, wherein the defined data type is based upon a mark-up language using a tree structure with one or more root-to-node paths therein; a memory allocator for allocating the amount of memory as determined for collecting the statistics for the data of the defined data type; and a statistics collector for performing a collection of statistics for the data of the defined data type in a single pass through the database and within the amount of memory which has been allocated. - View Dependent Claims (10, 11, 12, 13)
-
14. A computer readable medium for collecting statistics associated with data in a database, the computer readable medium comprising instructions for:
-
determining an amount of memory needed to collect statistics for data associated with a defined data type in a relational database, wherein the defined data type is based upon a mark-up language using a tree structure with one or more root-to-node paths therein; allocating the amount of memory as determined for collecting the statistics for the data of the defined data type; and performing a collection of statistics for the data of the defined data type in a single pass through the database and within the amount of memory which has been allocated. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification