Method and system for index sampled tablescan
First Claim
1. An optimized query processing system for processing a query to a database system, wherein the database system comprises a table of data and an index correlated to both the query and to the table, the optimized query processing system comprising:
- an index accessing module adapted to access the index a specified number of times to determine if the table contains an entry satisfying the query; and
a tablescan module for scanning substantially the entire table and retrieving data satisfying the query.
3 Assignments
0 Petitions
Accused Products
Abstract
An optimized query processing system and method for a database system. The database system includes a table of data and an index correlated to both the query and to the table. The optimized query processing system includes an index accessing module adapted to access the index to determine if the table contains an entry satisfying a query predicate; and a tablescan module for scanning substantially the entire table and retrieving data satisfying the query. A method is also disclosed for generating database diagnostic data.
62 Citations
15 Claims
-
1. An optimized query processing system for processing a query to a database system, wherein the database system comprises a table of data and an index correlated to both the query and to the table, the optimized query processing system comprising:
-
an index accessing module adapted to access the index a specified number of times to determine if the table contains an entry satisfying the query; and
a tablescan module for scanning substantially the entire table and retrieving data satisfying the query. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of processing a database query, wherein the database comprises a table of data and wherein the database also comprises an index correlated to both the query and to the table, the method comprising the following steps:
-
(a) receiving the database query;
(b) accessing the index to determine if the table contains an instance of data satisfying a query predicate; and
(c) if step (b) determines that the table contains an instance of data satisfying the query predicate, scanning the table to retrieve all instances of data satisfying the query. - View Dependent Claims (7, 8)
-
-
9. A program product stored on a computer readable medium, the program product comprising an optimized query processing system for processing a query to a database system, wherein the database system comprises a table of data and an index correlated to both the query and to the table, and wherein the optimized query processing system comprises:
-
an index accessing module adapted to access the index a specified number of times to determine if the table contains an entry satisfying the query; and
a tablescan module for scanning substantially the entire table and retrieving data satisfying the query. - View Dependent Claims (10, 11, 12)
-
-
13. A computer readable medium containing program instructions for processing database query, wherein the database comprises a table of data and wherein the database also comprises an index correlated to both the query and to the table, the program instructions for:
-
(a) receiving the database query;
(b) accessing the index to determine if the table contains an instance of data satisfying a query predicate; and
(c) if step (b) determines that the table contains an instance of data satisfying the query predicate, scanning the table to retrieve all instances of data satisfying the query. - View Dependent Claims (14, 15)
-
Specification