Processing Overlapping Continuous Queries
First Claim
1. A computer readable medium embodying instructions executable by a processor to perform a method for an edge-covering based greedy method for shared filter ordering, the method comprising:
- receiving a plurality of queries, wherein each query is a conjunction of filters, and each filter is shared across multiple queries of,the plurality of queries;
evaluating a unit price of each filter;
evaluating, sequentially, each filter in order of a lowest unit price to a highest unit price, to determine a value for each filter; and
changing an ordering of the filters according to the values, wherein the ordering of the filters is an evaluation plan having a lowest cost among possible evaluation plans.
1 Assignment
0 Petitions
Accused Products
Abstract
An edge-covering based greedy method for shared filter ordering includes receiving a plurality of queries, wherein each query is a conjunction of filters, and each filter is shared across multiple queries of the plurality of queries, evaluating a unit price of each filter, evaluating, sequentially, each filter in order of a lowest to a highest unit price, to determine a value for each filter, and changing an ordering of the filters according to the values.
An edge-covering based harmonic method for shared filter ordering includes receiving a plurality of queries, wherein each query is a conjunction of filters, and each filter is shared across multiple queries of the plurality of queries, evaluating a weight of each filter, evaluating, randomly, each filter having a probability inversely proportionally to its weight, to determine a value, and changing an ordering of the filters according to the values.
97 Citations
18 Claims
-
1. A computer readable medium embodying instructions executable by a processor to perform a method for an edge-covering based greedy method for shared filter ordering, the method comprising:
-
receiving a plurality of queries, wherein each query is a conjunction of filters, and each filter is shared across multiple queries of,the plurality of queries; evaluating a unit price of each filter; evaluating, sequentially, each filter in order of a lowest unit price to a highest unit price, to determine a value for each filter; and changing an ordering of the filters according to the values, wherein the ordering of the filters is an evaluation plan having a lowest cost among possible evaluation plans. - View Dependent Claims (2, 3, 4)
-
-
5. A computer readable medium embodying instructions executable by a processor to perform a method for an edge-covering based harmonic method for shared filter ordering, the method comprising:
-
receiving a plurality of queries, wherein each query is a conjunction of filters, and each filter is shared across multiple queries of the plurality of queries; evaluating a weight of each filter; evaluating, randomly, each filter having a probability inversely proportionally to its weight, to determine a value; and changing an ordering of the filters according to the values, wherein the ordering of the filters is an evaluation plan having a lowest cost among possible evaluation plans. - View Dependent Claims (6, 7, 8, 9)
-
-
10. A system for an edge-covering based greedy method for shared filter ordering comprising:
-
a memory storing a plurality of queries, wherein each query is a conjunction of filters, and each filter is shared across multiple queries of the plurality of queries; and a processor in communication with the memory for receiving the plurality of queries and executing commands for ordering the plurality of queries comprising, evaluating a unit price of each filter; evaluating, sequentially, each filter in order of a lowest unit price to a highest unit price, to determine a value for each filter; and changing an ordering of the filters according to the values, wherein the ordering of the filters is an evaluation plan having a lowest cost among possible evaluation plans. - View Dependent Claims (11, 12, 13)
-
-
14. A system for an edge-covering based harmonic method for shared filter ordering comprising:
-
a memory storing a plurality of queries, wherein each query is a conjunction of filters, and each filter is shared across multiple queries of the plurality of queries; and a processor in communication with the memory for receiving the plurality of queries and executing commands for ordering the plurality of queries comprising, evaluating a weight of each filter; evaluating, randomly, each filter having a probability inversely proportionally to its weight, to determine a value; and changing an ordering of the filters according to the values, wherein the ordering of the filters is an evaluation plan having a lowest cost among possible evaluation plans. - View Dependent Claims (15, 16, 17, 18)
-
Specification