Patents
US 7,840,592 B2#13885448 Most CitedActiveUnited States (USPTO)Utility

Estimating a number of rows returned by a recursive query

8Forward Citations (#13885448 Global)
0.5/yrCitation Velocity (#15632266 Global)
1.51Citation PageRank (#22754968 Global)
10Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A number of rows that a recursive query will retrieve from a table is estimated by recursively probing an index associated with the table. A recursive query includes a seed and a recursive predicate, each of which is associated with a respective column in the table. If the index has a leading column that matches the table column associated with the seed, and the index has a secondary column that matches the table column associated with the recursive predicate, then the index is recursively probed until a threshold depth of the recursive probing is reached or until all nodes of the index have been examined. The estimated number of rows that the recursive query will retrieve is then calculated based on either the number of rows examined in the index or based on the threshold depth, a cardinality of the secondary column, and a cardinality of the primary column.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 8.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method comprising: receiving a recursive query from a query optimizer, wherein the recursive query comprises a recursive predicate associated with a recursive column in a table; estimating a number of rows that the recursive query will retrieve, wherein the estimating further comprises recursively probing an index associated with the table, wherein the recursive predicate comprises a comparison of a first column and a second column, wherein the estimating further comprises determining that the recursive column of the index is associated with the first column of the recursive predicate and a

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗