Optimal index selection in polynomial time
AssigneeOracle International Corporation
InventorsBernhard F. Scholz, Pavle Subotic
Life of this patent
Estimating the term…
Abstract
A method for performing analysis may use a minimal set of indices for an input query including identifying the input query including primitive searches that are accelerated using indices, computing a minimal set of indices for the input query using an optimal, polynomial-time algorithm, and performing relational data analysis using the minimal set of indices for input queries.
Claims15
A method for performing analysis using a minimal set of indices for an input query comprising:
- identifying the input query comprising a plurality of primitive searches that are accelerated using indices;
- computing a minimal set of indices for the input query using a polynomial-time algorithm by constructing a bi-partite graph comprising a first and a second vertex set and an edge set,
- wherein the first and the second vertex set are a set of searches in both partitions of the bi-partite graph,
- wherein each edge of the edge set connects a vertex in the first vertex set and a vertex in the second vertex set, and
- wherein each of the plurality of primitive searches is covered by at least one index in the minimal set of indices;
- and
- performing relational data analysis using the minimal set of indices for input queries.
A system for performing analysis using a minimal set of indices for an input query comprising:
- a data repository storing software code;
- a computer processor communicatively connected to the data repository and configured to execute instructions to:
- identify the input query comprising primitive searches that are accelerated using indices;
- compute a minimal set of indices for the input query using a optimal, polynomial-time algorithm by constructing a bi-partite graph comprising a first and a second vertex set and an edge set,
- wherein the first and the second vertex set are a set of searches in both partitions of the bi-partite graph,
- wherein each edge of the edge set connects a vertex in the first vertex set and a vertex in the second vertex set, and
- wherein each of the primitive searches is covered by at least one index in the minimal set of indices;
- and
- perform relational data analysis using the minimal set of indices for input queries.
A non-transitory computer readable medium comprising instructions that, when executed by a computer processor, perform a method for performing analysis using a minimal set of indices for an input query comprising:
- identifying the input query comprising primitive searches that are accelerated using indices;
- computing a minimal set of indices for the input query using a polynomial-time algorithm by constructing a bi-partite graph comprising a first and a second vertex set and an edge set,
- wherein the first and the second vertex set are a set of searches in both partitions of the bi-partite graph,
- wherein each edge of the edge set connects a vertex in the first vertex set and a vertex in the second vertex set, and
- wherein each of the primitive searches is covered by at least one index in the minimal set of indices;
- and
- performing relational data analysis using the minimal set of indices for input queries.
Dependencies are inferred from the claim text.