Patents
US 6,505,189 B1#397176 Most Cited · 78 citations3.4/yr · PR 8.84ExpiredUS · Utility
Aggregate join index for relational databases
Inventors: On Au Grace Kwan, Hoang Chi KimAssignee: Ncr CorpFiled 2000-06-15 · Granted 2003-01-07

The retrieval of data from a database in a computerized database management system is optimized through the use of an aggregate join index. The aggregate join index combines one or more commonly-used columns of the base tables with the results from one or more aggregation…

US 6,952,692 B1#738378 Most Cited · 57 citations2.7/yr · PR 5.72ExpiredUS · Utility
Execution of requests in a parallel database system
Inventors: Bhattiprolu Phaneendra, Au Grace KAssignee: Ncr CorpFiled 2002-05-17 · Granted 2005-10-04

A database system is able to perform efficient execution of insert-select, join-delete, or join-update requests. The database system has plural access modules to manage access of respective portions of data in a storage of the database system. If certain predefined criteria are…

US 6,643,636 B1#1036654 Most Cited · 47 citations2.0/yr · PR 10.13ExpiredUS · Utility
Optimizing a query using a non-covering join index
Inventors: Au Grace Kwan-on, Ghazal Ahmad Said, Sinclair Paul LaurenceAssignee: Ncr CorpFiled 2001-06-05 · Granted 2003-11-04

A method, database system and computer program are disclosed for optimizing a SQL query, in which the SQL query includes a WHERE clause and a FROM clause. An evaluation is done to determine whether a non-covering join index partially but not completely covers the query. If it…

US 6,732,096 B1#1392104 Most Cited · 40 citations1.8/yr · PR 6.57ExpiredUS · Utility
Optimizing an aggregate join query
Inventors: Au Grace Kwan-onAssignee: Ncr CorpFiled 2001-07-30 · Granted 2004-05-04

A method and computer system for optimizing queries to a database are disclosed. The query specifies one or more data-to-be-aggregated columns (DAC), one or more explicit aggregation keys (EAK) and one or more join conditions. The query involves table T 1 . T 1 includes the one…

US 2010036799 A1#2313782 Most Cited · 30 citations1.9/yr · PR 2.96PendingUS · Application
Query processing using horizontal partial covering join index
Inventors: Bouloy Carlos, Au Grace, Gui HongAssignee: Teradata Us IncFiled 2008-08-05

A computer implemented system and method includes obtaining a query referring to rows in a relational database. A sparse index of the database that has a set of rows that is a subset of the rows referred to in the query is obtained. Rows referred to in the query that are not in…

US 2010036886 A1#2581402 Most Cited · 28 citations1.8/yr · PR 3.01PendingUS · Application
Deferred maintenance of sparse join indexes
Inventors: Bouloy Carlos, Au Grace, Gui HongAssignee: Teradata Us IncFiled 2008-08-05

A system and method include defining a snapshot join index using a sparse condition in a join index definition. A new sparse condition of the snapshot join index is compared with an old sparse condition. Rows in a base table are identified as a function of the comparing, and the…

US 2011029507 A1#3074899 Most Cited · 25 citations1.7/yr · PR 3.08PendingUS · Application
Cardinality and selectivity estimation using a single table join index

A method for estimating the selectivity of a database base table predicate, the cardinality of a join, and the cardinality of an aggregation. The method includes receiving a database query, the query comprising one or more query predicates and referencing one or more database…

US 6,618,720 B1#3898606 Most Cited · 21 citations0.9/yr · PR 4.01ExpiredUS · Utility
Common spool files for maintaining join indexes
Inventors: On Au Grace Kwan, Hoang Chi KimAssignee: Ncr CorpFiled 2000-06-15 · Granted 2003-09-09

The retrieval of data from a database in a computerized database management system is optimized through the use of a plurality of join indexed. The join indexes are defined for a table stored in the database. The join indexes are updated to reflect any updated records stored in…

US 2007083490 A1#4230856 Most Cited · 20 citations1.1/yr · PR 3.34PendingUS · Application
Optimizing access to a database by utilizing a star join
Inventors: Au Grace, Ramesh Bhashyam, Chen HaiyanAssignee: Au Grace, Ramesh BhashyamFiled 2006-09-27

A database query is optimized for a star database schema that includes at least one fact table and at least one dimension table, where the database query includes an IN-List condition. During optimization, the IN-List is transformed into a relation and the relation is joined…

US 2010036800 A1#4653403 Most Cited · 19 citations1.2/yr · PR 2.37PendingUS · Application
Aggregate join index utilization in query processing
Inventors: Gui Hong, Au Grace, Bouloy CarlosAssignee: Teradata Us IncFiled 2008-08-05

A system and method include obtaining a query and identifying an aggregate join index (AJI) at a high level of aggregation. The dimension table may be rolled-up with the grouping key being the union of the grouping key in the AJI and the grouping key of the query. The identified…

US 2014280036 A1#5049582 Most Cited · 18 citations1.5/yr · PR 2.04PendingUS · Application
Techniques for improving the performance of complex queries

Techniques for improving complex database queries are provided. A determination is made whether to adopt a static or dynamic query execution plan based on metrics. When the dynamic query execution plan is used, a request fragment of the request is planned and the corresponding…

US 8,359,325 B1#4765904 Most Cited · 18 citations1.4/yr · PR 4.93ExpiredUS · Utility
Determining materialized view coverage for join transactions
Inventors: Gui Hong, Au Grace, Ellmann Curt JAssignee: Teradata Us Inc, Gui HongFiled 2004-02-25 · Granted 2013-01-22

A database system includes database software to receive a query specifying a join of plural base tables, and to determine whether a foreign key and primary key relationship exists between join columns specified by the query and a materialized view definition. Based on the…

US 2007130115 A1#5341294 Most Cited · 17 citations0.9/yr · PR 2.87PendingUS · Application
Optimizing a query that includes a large in list
Inventors: Au Grace, Ramesh Bhashyam, Chen HaiyanAssignee: Au Grace, Ramesh BhashyamFiled 2006-11-20

An optimization technique involves optimizing a SQL query, in which the SQL query includes a large IN-List query to access data in a table. The technique includes determining whether an IN-List exceeds a predetermined size, and, if so, removing the IN-List query statement and…

US 8,032,503 B2#5462294 Most Cited · 17 citations1.1/yr · PR 2.08ActiveUS · Utility
Deferred maintenance of sparse join indexes
Inventors: Bouloy Carlos, Au Grace, Gui HongAssignee: Teradata Us IncFiled 2008-08-05 · Granted 2011-10-04

A system and method include defining a snapshot join index using a sparse condition in a join index definition. A new sparse condition of the snapshot join index is compared with an old sparse condition. Rows in a base table are identified as a function of the comparing, and the…

US 10,942,923 B1#5709541 Most Cited · 16 citations3.2/yr · PR 3.24ActiveUS · Utility
Deep learning for optimizer cardinality estimation
Inventors: Zhang Yinuo, Kim Sung Jin, Au Grace Kwan-onAssignee: Teradata Us IncFiled 2018-12-14 · Granted 2021-03-09

A database query to be run against a database is received by a processor. The query includes a query predicate. The query predicate includes a condition. The condition applies to a single database table. The condition is parsed to create an input vector. The input vector is…

US 6,865,569 B1#6171735 Most Cited · 15 citations0.7/yr · PR 3.37ExpiredUS · Utility
Determining materialized view coverage
Inventors: Gui Hong, Ellmann Curt J, Au Grace, Ghazal Ahmad SAssignee: Ncr CorpFiled 2001-08-22 · Granted 2005-03-08

A method and apparatus determines (1) if a materialized view can be used to respond to a query for data stored in one or more base tables of a database system; and/or (2) if the materialized view needs to be updated in response to an update query. A query expression tree…

US 7,260,563 B1#6291310 Most Cited · 15 citations0.8/yr · PR 2.78ExpiredUS · Utility
Efficient costing for inclusion merge join
Inventors: Priyadarshi Bibhu Ranjan, Au Grace Kwan-on, Chiang KuorongAssignee: Ncr CorpFiled 2003-10-08 · Granted 2007-08-21

A method, database system, and computer program are disclosed for optimized costing. The method includes identifying a join that identifies a first table and a second table. The method further includes determining an optimized cost of reading the first table. If the number of…

US 2014188924 A1#7819360 Most Cited · 13 citations1.1/yr · PR 1.84PendingUS · Application
Techniques for ordering predicates in column partitioned databases for query optimization
Inventors: Ma Lu, Au Grace Kwan-onAssignee: Ma Lu, Au Grace Kwan-onFiled 2012-12-27

Techniques for ordering predicates in column partitioned databases for query optimization. Predicates on a single CP table within a query are organized to predicate-CP nodes with various sets of column partitions. The predicates within each predicate-CP node and the predicate-CP…

EP 1,164,509 A2#8273301 Most Cited · 12 citations0.5/yr · PR 2.60PendingEP · Application
Aggregate join index for relational databases
Inventors: Au Grace Kwan-on, Hoang Chi KimAssignee: Ncr Int IncFiled 2001-06-06

The retrieval of data from a database in a computerized database management system is optimized through the use of an aggregate join index. The aggregate join index combines one or more commonly-used columns of the base tables with the results from one or more aggregation…

US 2014181076 A1#8625371 Most Cited · 12 citations1.0/yr · PR 1.86PendingUS · Application
Techniques for join processing on column partitioned tables

Techniques for processing joins on column partitioned tables are provided. A join operation having a column partitioned table within a query is decomposed into a two-step process. The first process performs the join condition on the column portioned table with optional filtering…

US 7,991,765 B2#9971208 Most Cited · 10 citations0.7/yr · PR 2.96ActiveUS · Utility
Cost-based query rewrite using materialized views
Inventors: Gui Hong, Au Grace, Chiang KuorongAssignee: Teradata Us IncFiled 2008-07-31 · Granted 2011-08-02

A system and method of rewriting a database query where the query contains an aggregate includes the following. If one or more aggregate materialized views are considered, rewriting the query using an aggregate materialized view. If one or more non-aggregate multi-table…

US 10,977,251 B1#12107973 Most Cited · 9 citations1.8/yr · PR 1.68ActiveUS · Utility
Join index bitmap for non-equality query conditions
Inventors: Gibas Michael A, Au Grace KAssignee: Teradata Us IncFiled 2016-12-29 · Granted 2021-04-13

A data store system may include an array of persistent storage devices configured to store a plurality of data store tables. The data store system may further include a processor in communication with the storage device. The processor may receive a query containing a…

US 2007073676 A1#11322612 Most Cited · 9 citations0.5/yr · PR 2.48PendingUS · Application
Optimizing the processing of in-list rows

A method, database system and computer program are disclosed for optimizing a SQL query, in which the SQL query includes an IN-List. The method includes utilizing an array insert to insert the IN-List into a spool and piggybacking IN-List rows into a join step.

US 2010030731 A1#11206506 Most Cited · 9 citations0.6/yr · PR 2.73PendingUS · Application
Cost-based query rewrite using materialized views
Inventors: Gui Hong, Au Grace, Chiang KuorongAssignee: Teradata Us IncFiled 2008-07-31

A system and method of rewriting a database query where the query contains an aggregate includes the following. If one or more aggregate materialized views are considered, rewriting the query using an aggregate materialized view. If one or more non-aggregate multi-table…

US 7,747,609 B1#11372148 Most Cited · 9 citations0.6/yr · PR 2.39ActiveUS · Utility
Using a correlation factor to derive join costing statistics
Inventors: Au Grace K, Priyadarshi Bibhu Ranjan, Korlapati Ramakrishna, Nair Sanjay SukumaranAssignee: Teradata Us IncFiled 2007-12-21 · Granted 2010-06-29

Deriving join cost demographics for a binary join, i.e., a join between two relations each having a join column, includes using a correlation factor related to the ratio of unique join column values stored in each of a plurality of units of storage to the total number of unique…