Method and system for disjunctive single index access
Abstract
A method for performing disjunctive single-index access on a database is disclosed. The method includes a query engine determining whether a first OR predicate and a second OR predicate map to a shared index. Responsive to the query engine determining that the first OR predicate and the second OR predicate map to the shared index, the first OR predicate and the second OR predicate are ordered in an ascending sequence. A first range of the first OR predicate is queued. A first row of the shared index is probed for the first range of the first OR predicate. Whether the first row is disqualified by the first OR predicate is determined. Responsive to determining that the first row is not disqualified by the first OR predicate, the row is reported in a result reporting structure. Responsive to determining that the row is disqualified by the first OR predicate, whether the first range of the first OR predicate overlaps a second range of the second OR predicate is determined, and, responsive to determining that the first range of the first OR predicate overlaps the second range of the second OR predicate, the row is checked against second range of the second or predicate.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a data processing system, a method for performing disjunctive single-index access on a database, said method comprising: a query engine determining whether a first OR predicate and a second OR predicate map to a shared index; responsive to said query engine determining that said first OR predicate and said second OR predicate map to said shared index, ordering said first OR predicate and said second OR predicate in an ascending sequence; queuing a first range of said first OR predicate; probing a first row of said shared index for said first range of said first OR predicate; determining whe
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗