Patents
US 7,487,140 B2#29826599 Most CitedExpiredUnited States (USPTO)Utility

Method for executing a query having multiple distinct key columns

3Forward Citations (#29826599 Global)
0.2/yrCitation Velocity (#35319824 Global)
1.27Citation PageRank (#29527952 Global)
28Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method for executing a query to access data stored in a database, wherein the query includes a plurality of DISTINCT keys, is disclosed. The method of the present invention includes providing a first DISTINCT operation on a first DISTINCT key, storing data fetched from the first DISTINCT operation in a master workfile if more than one sort process is needed to execute the query, and utilizing the master workfile to perform subsequent DISTINCT operations for the other DISTINCT keys.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for executing a query to access data stored in a database with a sort process, wherein the query includes a plurality of DISTINCT keys, the method comprising the steps of: (a) determining if more than one sort is needed to execute the query; (b) performing a first DISTINCT operation on a first DISTINCT key of the plurality of DISTINCT keys comprising (b1) optimizing the query; and (b2) analyzing the query comprising (b2i) identifying the plurality of DISTINCT keys; and (b2ii) writing the plurality of DISTINCT keys to a control block, wherein the control block is u

Technical Overview & Description

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

References Cited — Backward Prior Art (28)

PatentTitleYearCitations
US 4,595,995 ASort circuit and method using multiple parallel sorts of the sorted items198629
US 5,027,388 AMethod of selecting the most cost effective cellular service plan provided by cellular telephone resellers to multi-line customers1991174
US 5,519,860 ACentral processor index sort followed by direct record sort and write by an intelligent control unit199613
US 5,548,758 AOptimization of SQL queries using early-out join transformations of column-bound relational tables199690
US 5,615,361 AExploitation of uniqueness properties using a 1-tuple condition for the optimization of SQL queries199768
US 5,706,495 AEncoded-vector indices for decision support and warehousing1998315
US 5,713,015 AReordering of complex SQL queries involving GROUPBYs, joins, outer joins and full outer joins199832
US 5,806,074 AConfigurable conflict resolution in a computer implemented distributed database1998293
US 5,822,748 AGroup by and distinct sort elimination using cost-based optimization199896
US 5,857,180 AMethod and apparatus for implementing parallel operations in a database management system1999343
US 5,864,842 AOptimization of SQL queries using hash star join operations1999179
US 6,009,265 AProgram product for optimizing parallel processing of database queries1999141
JP 2000172714 AMethod for processing table connection—3
US 6,112,198 AOptimization of data repartitioning during parallel query optimization2000332
US 6,289,334 B1Apparatus and method for decomposing database queries for database management system including multiprocessor digital data processing system2001477
US 6,341,277 B1System and method for performance complex heterogeneous database queries using a single SQL expression2002178
US 6,356,888 B1Utilize encoded vector indexes for distinct processing200245
US 6,430,550 B1Parallel distinct aggregates200266
US 6,438,538 B1Data replication in data warehousing scenarios200285
US 6,449,605 B1Using a materialized view to process a related query containing a one to many lossless join200254
US 2002133507 A1Collision avoidance in database replication systems—218
US 2002152422 A1Method and apparatus for managing replicated and migration capable session state for a Java platform—88
US 2002188624 A1Active control protocol for peer-to-peer database replication—33
US 2003037029 A1Synchronization of plural databases in a database replication system—77
US 6,529,917 B1System and method of synchronizing replicated data200369
US 2003131027 A1Synchronization of plural databases in a database replication system—25
US 2003158852 A1System and method of synchronizing replicated data—18

Non-Patent Literature (3)

  • A Framework for global optimization of aggregate queries. Chengwen Liu; Ursu A Proceedings of the Sixth International Conference on Information and Knowledge Management. CIKM' 97, pp. 262-269, Published: New York, NY, USA, 1997, ix+368 pp.
  • Deciding distinctness of query results by discovered constraints. Bell S. Pact 96. Proce dings of the Second International Conference on the Practical Application of Constraint Technology, pp. 399-416, Published: Blackpool, UK, 1996, 464 pp.
  • Optimization of sequences of relational queries in decision-support environments. Badia A; Niehues M. Data Warehousing and Knowledge Discovery. First International Conference, DawaK '99. Proceedings (Lecture Notes in Computer Science vol. 1676), pp. 126-131, Published Berlin Germany, 1999, xii+400 p