QUERY PROGRESS ESTIMATION BASED ON PROCESSED VALUE PACKETS
First Claim
1. A data processing system comprising:
- a database query processor comprising;
a query optimizer that creates a query plan;
a database plan executor that executes the query plan and observes intermediate result streams processed as the query plan is executed; and
a value packet manager that anticipates value packets during query optimization, creates value packets as the intermediate result streams are processed, and compares anticipated value packets with created value packets to determine accuracy of the anticipated value packets and estimate query progress.
2 Assignments
0 Petitions
Accused Products
Abstract
A data processing system performs query progress estimation based on processed value packets. In the illustrative data processing system, a database query processor comprises a query optimizer that creates a query plan, and a database plan executor that executes the query plan and observes intermediate result streams processed as the query plan is executed. A value packet manager anticipates value packets during query optimization, creates value packets as the intermediate result streams are processed, and compares anticipated value packets with created value packets to determine accuracy of the anticipated value packets and estimate query progress.
41 Citations
15 Claims
-
1. A data processing system comprising:
a database query processor comprising; a query optimizer that creates a query plan; a database plan executor that executes the query plan and observes intermediate result streams processed as the query plan is executed; and a value packet manager that anticipates value packets during query optimization, creates value packets as the intermediate result streams are processed, and compares anticipated value packets with created value packets to determine accuracy of the anticipated value packets and estimate query progress. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
13. A method for processing data comprising:
processing database queries comprising; creating a query plan; executes the query plan; observing intermediate result streams processed as the query plan is executed; anticipating value packets during query optimization; creating value packets as the intermediate result streams are processed; and comparing anticipated value packets with created value packets to determine accuracy of the anticipated value packets and estimate query progress.
-
14. A data processing system comprising:
a database query processor in a relational database having a query optimizer that creates a query plan, verifies compliance of a subset of records from the relational database with a query criteria as the query plan is executed, and generates intermediate result streams based on the compliance verification, the database query processor comprising; a database plan executor that executes the query plan, observes the intermediate result streams, sorts the intermediate result streams according to predetermine criteria, and divides the intermediate result stream into value packets according to sort order; and a value packet manager that collects and analyzes detailed information about data statistics, dynamically corrects the data statistics during query processing, and creates value packets based on the data statistics as the intermediate result streams are processed. - View Dependent Claims (15)
Specification