Patents
US 7,447,679 B2#19107778 Most CitedExpiredUnited States (USPTO)Utility

Optimizing execution of a database query by using the partitioning schema of a partitioned object to select a subset of partitions from another partitioned object

5Forward Citations (#19107778 Global)
0.3/yrCitation Velocity (#27066057 Global)
2.97Citation PageRank (#7685625 Global)
26Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

One embodiment of the present invention provides a system that optimizes the execution of a database query involving a target partitioned-database-object. During system operation, the database receives a query. If the query has a predicate that includes a partition-mapping function that uses the partitioning schema of a partitioned database-object and a list of columns from one or more tables to express a mapping of the list of column values to the partitions of the partitioned database-object, the system determines the compatibility of the partitioning schemas of the target partitioned-database-object and the partitioned database-object. Next, if the partitioning schemas are compatible, and if the list of columns is compatible with the partitioning keys of the target partitioned-database-object and the partitioned database-object, the system attempts to identify a subset of partitions in the target partitioned-database-object that satisfy the predicate. Finally, if a subset of partitions is successfully identified, the system performs the query only on the identified subset of partitions, and not on the other partitions, thereby optimizing the execution of the query by reducing th

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for optimizing an execution of a database query, the method comprising: receiving the database query for querying data in a target partitioned database-object; wherein the database query includes a predicate which includes a partition-mapping function that is a partitioned table; wherein the partition-mapping function's input parameters includes: a second partitioned database-object which is separate from the target partitioned database-object, and a list of columns in the target partitioned database-object; determining whether the target partitioned database-object's partitio

Technical Overview & Description

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

References Cited — Backward Prior Art (26)

PatentTitleYearCitations
US 6,014,656 AUsing overlapping partitions of data for query optimization2000135
US 6,092,062 ARelational database query optimization to perform query evaluation plan, pruning based on the partition properties2000295
US 6,112,198 AOptimization of data repartitioning during parallel query optimization2000332
US 6,226,639 B1System and method for hybrid hash join using over-partitioning to respond to database query200137
US 6,256,621 B1Database management system and query operation therefor, including processing plural database operation requests based on key range of hash code200181
US 6,356,890 B1Merging materialized view pairs for database workload materialized view selection200266
US 6,439,783 B1Range-based query optimizer2002158
US 2002184253 A1Method and system for improving response time of a query for a partitioned database object—26
US 2002194157 A1Partition pruning with composite partitioning—98
US 6,510,422 B1Cost based materialized view selection for query optimization200380
US 6,513,029 B1Interesting table-subset selection for database workload materialized view selection200389
US 2003055822 A1Database systems, methods and computer program products including primary key and super key indexes for use with partitioned tables—36
US 2003093415 A1System and method for optimizing queries using materialized views and fast view matching—61
US 6,567,802 B1Systematic approach to query optimization2003137
US 6,571,233 B2Optimization of SQL queries using filtering predicates200359
US 2004006574 A1Methods of navigating a cube that is implemented as a relational object—66
US 2004122845 A1System and method for automating data partitioning in a parallel database—140
US 2004148273 A1Method, system, and program for optimizing database query execution—41
US 2004148293 A1Method, system, and program for managing database operations with respect to a database table—39
US 6,795,821 B2Database systems, methods and computer program products including primary key and super key indexes for use with partitioned tables200422
US 2004205057 A1Method and system for executing a database query—33
US 2004260684 A1Integrating horizontal partitioning into physical database design—83
US 2005027692 A1Method, system, and program for accessing data in a database table—50
US 2005091208 A1System and method for optimizing queries using materialized views and fast view matching—20
US 6,931,395 B2Method and apparatus for optimizing queries in a logically partitioned computer system200521

Non-Patent Literature (5)

  • Chaudhuri, Surajit, "An Overview of Query Optimization in Relational Systems", PODS '98, Seattle, WA, (C) 1998, pp. 34-43.
  • Goldstein, Jonathan, et al., "Optimizing Queries Using Materialized Views: A Practical, Scalable Solution", SIGMOD 2001, Santa Barbara, CA, May 21-24, 2001, pp. 331-342.
  • He, Bin, et al., "Statistical Schema Matching Across Web Query Interfaces", SIGMOD 2003, San Diego, CA, Jun. 9-12, 2003, pp. 217-228.
  • Mendelzon, Alberto O., et al., "Concise Descriptions of Subsets of Structured Sets", PODS 2003, San Diego, CA, Jun. 9-12, 2003, pp. 123-133.
  • Rao, Jun, et al., "Automating Physical Database Design in a Parallel Database", ACM SIGMOD 2002, Madison, WI, Jun. 4-6, 2003, pp. 558-569.