Method for efficient query execution using dynamic queries in database environments
First Claim
1. A method providing query execution plans for distributed database environments having distributed partitioned views comprising the steps of:
- analyzing offered queries to determine if said offered queries comprise predicate expressions and/or sub-queries; and
providing dynamic start-up filters for inclusion in query execution plans, said startup filters, when applied, removing redundant partitions from query plan execution, wherein the dynamic start-up filters are chosen based on the predicate expressions found in the offered queries.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method allowing for optimization of query execution in database environments is provided. In an illustrative implementation, a database having distributed partitioned views is provided such that queries may initiate at any of the participating data stores. In operation, an offered query is analyzed to determine if it has predicate expression and/or sub-queries. Using this information the expressions and/or sub-queries are analyzed and processed to determine if appropriate start-up filters are available for the offered query. The start-up filters are applied to the query such that during compile and/or run time, redundant partitions in the distributed partitioned database environment are eliminated during query execution.
32 Citations
29 Claims
-
1. A method providing query execution plans for distributed database environments having distributed partitioned views comprising the steps of:
-
analyzing offered queries to determine if said offered queries comprise predicate expressions and/or sub-queries; and
providing dynamic start-up filters for inclusion in query execution plans, said startup filters, when applied, removing redundant partitions from query plan execution, wherein the dynamic start-up filters are chosen based on the predicate expressions found in the offered queries. - View Dependent Claims (2, 3, 4, 19, 20, 21)
-
-
5-18. -18. (Cancelled)
-
22-23. -23. (Cancelled)
-
24. A system providing enhanced query execution plans for distributed database environments having distributed partitioned views comprising:
-
a dynamic execution plan system, the dynamic execution plan system processing queries comprising at least one predicate expression; and
a dynamic start-up filter generation system cooperating with said dynamic execution plan system to produce execution plans having start-up filters, wherein the start-up filters are chosen based on the at least one predicate expression. - View Dependent Claims (25, 26)
-
-
27. A method providing enhanced query execution plans comprising:
-
providing start-up filters, said start-up filters being processed at run and/or compile time to remove redundant processing steps from said execution plans based on data provided in offered queries, wherein the queries comprise at least one predicate expression and wherein the start-up filters provided are provided based on the at least one predicate expression; and
applying said start-up filters on said offered queries. - View Dependent Claims (28, 29)
-
Specification