Patents
US 11,036,735 B2#34135953 Most CitedActiveUnited States (USPTO)Utility

Dimension context propagation techniques for optimizing SQL query plans

3Forward Citations (#34135953 Global)
0.6/yrCitation Velocity (#13490267 Global)
0.94Citation PageRank (#45794607 Global)
12Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Techniques for efficient execution of queries. A query plan generated for the query is optimized and rewritten as an enhanced query plan, which when executed, uses fewer CPU cycles and thus executes faster than the original query plan. The query for which the enhanced query plan is generated thus executes faster without compromising the results obtained or the data being queried. Optimization includes identifying a set of one or more fact scan operations in the original query plan and then, in the rewritten enhanced query plan, associating one or more dimension context predicate conditions with one or more of the set of fact scan operations. This reduces the overall cost of scanning and/or processing fact records in the enhanced query plan compared to the original query plan and makes the enhanced query plan execute faster than the original query plan.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method comprising: receiving, by a computing system, an original query plan generated for a query for querying data stored in a relational database, the original query plan comprising a first fact scan operation configured to scan fact records from a source of fact records, the original query plan further comprising a second operation configured to receive a set of records from the first fact scan operation; identifying, by the computing system, a first dimension context predicate condition to be associated with the first fact scan operation, wherein the first dimension context predicate con

Technical Overview & Description

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

Non-Patent Literature (5)

  • “Sparkline BI Accelerator”, Sparkline Data, Release 0.4.0, Aug. 3, 2018 (date of last commit comment), 6 pages, Retrieved from the Internet: <URL: https://index.scala-lang.org/sparklinedata/spark-druid-olap/spl-accel/0.4.1?target=_2.10>.
  • Butani et al., “Benefits of BI Semantics in Spark SQL: A View Through the TPCDS Benchmark”, Sep. 19, 2018, 12 pages, Retrieved from the Internet: <URL: https://medium.com/@rhbutani/https-medium-com-oracle-snap-benefits-of-bi-semantics-in-spark-sql-a-view-through-the-tpcds-benchmark-5cca8d6d25d2>.
  • Butani, “Analytical Queries: It Pays to Understand the Dimensional Context”, Published Jan. 29, 2018, 13 pages, Retrieved from the Internet: <URL: https://www.linkedin.com/pulse/analytical-queries-pays-understand-dimensional-context-harish-butani>.
  • Butani, “Combining Druid and Spark: Interactive and Flexible Analytics at Scale”, Published on Sep. 18, 2015, 8 pages, Retrieved from the Internet: <URL: https://www.linkedin.com/pulse/combining-druid-spark-interactive-flexible-analytics-scale-butani?trk=portfolio_article-card_title>.
  • Butani, “Integrated Business Intelligence on Big Data Stacks”, Mar. 29, 2017, 14 pages, Retrieved from the Internet: <URL: https://www.linkedin.com/pulse/integrated-business-intelligence-big-data-stacks-harish-butani>.