Patents by Inventor Kuorong Chiang

Kuorong Chiang has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).

  • Patent number: 11086870
    Abstract: A data store system includes an array of persistent storage devices configured to store a plurality of data store tables. The data store system includes a processor in communication with the storage device. The processor may receive a query comprising an aggregate function and identify structure of an argument of the aggregate function. The subset of data store tables may be associated with the argument. The processor may partially-execute the aggregate function on each data store table in the subset involved in the argument of the aggregate function to create partially-executed results for each data store table of the subset of data store tables. The processor may join the partially-executed results based on join conditions contained in the aggregate function. The processor may complete execution of the aggregate function on the partially-executed results to generate a final result of the aggregate function. A method and computer-readable medium are also disclosed.
    Type: Grant
    Filed: December 30, 2015
    Date of Patent: August 10, 2021
    Assignee: Teradata US, Inc.
    Inventors: Anantha B. Subramanian, Sanjay Nair, Yi Xia, Grace Kwan-On Au, Kuorong Chiang
  • Patent number: 10891290
    Abstract: Search spaces for obtaining query execution plans for a query are identified. The search spaces are subdivided into sub-search spaces. Searches are initiated within the sub search spaces and plan costs for competing query execution plans are noted along with search costs associated with continuing to search the sub-search spaces. A decision is made based on the plan costs and search costs for utilizing search resources as to when to terminate the searching and to select the then-existing lowest cost query execution plan as an optimal query execution plan for executing the query.
    Type: Grant
    Filed: December 22, 2017
    Date of Patent: January 12, 2021
    Assignee: Teradata US, Inc.
    Inventors: John Mark Morris, Bhashyam Ramesh, Donald Raymond Pederson, Kuorong Chiang
  • Patent number: 10664477
    Abstract: A server applied to a database management system and a method are provided. By calculating a data skew for a column based on an entropy for the column in a database, storing the data skew to a catalogue in the database, estimating a selectivity for the column by multiplying a first selectivity with the data skew, cardinality estimation in the database management system is improved. By calculating a degree of correlation for two columns in a database, storing the degree of correlation to a catalogue in the database, estimating a selectivity taking into account the degree of correlation, cardinality estimation in the database management system is improved. The improved cardinality estimates in turn improve the query plan generated by the optimizer which leads to better query performance.
    Type: Grant
    Filed: December 21, 2017
    Date of Patent: May 26, 2020
    Assignee: Futurewei Technologies, Inc.
    Inventor: Kuorong Chiang
  • Publication number: 20190370235
    Abstract: An information processing includes a kernel of a database management system that obtains target information, and determines creation information of a model of the target information according to the target information, where the model of the target information is used to estimate an execution cost of the target information. The creation information includes use information and training algorithm information of the model. The kernel sends a training instruction to an external trainer, and the external trainer then performs machine learning training on the data in the database according to the target information and the creation information of the model to obtain a first model of the target information.
    Type: Application
    Filed: August 15, 2019
    Publication date: December 5, 2019
    Inventors: Xinying Yang, Kuorong Chiang, Maozeng Li
  • Patent number: 10452658
    Abstract: Query conditions are received in a cache from a query optimizer of a Database Management System (DBMS). Dynamic statistics for the query conditions are maintained in the cache. Actual statistics are received in the cache after the query conditions are executed in the DBMS. Entropy-based estimated selectivity values for executing the query conditions are provided to the query optimizer to develop a query plan for executing queries having the query conditions. The entropy-based estimated selectivity values based, at least in part, on the dynamic statistics and the actual statistics.
    Type: Grant
    Filed: December 23, 2014
    Date of Patent: October 22, 2019
    Assignee: Teradata US, Inc.
    Inventors: Kuorong Chiang, Chuchu Wu, Wei Tang
  • Publication number: 20190197162
    Abstract: A server applied to a database management system and a method are provided. By calculating a data skew for a column based on an entropy for the column in a database, storing the data skew to a catalogue in the database, estimating a selectivity for the column by multiplying a first selectivity with the data skew, cardinality estimation in the database management system is improved. By calculating a degree of correlation for two columns in a database, storing the degree of correlation to a catalogue in the database, estimating a selectivity taking into account the degree of correlation, cardinality estimation in the database management system is improved. The improved cardinality estimates in turn improve the query plan generated by the optimizer which leads to better query performance.
    Type: Application
    Filed: December 21, 2017
    Publication date: June 27, 2019
    Applicant: Futurewei Technologies, Inc.
    Inventor: Kuorong CHIANG
  • Publication number: 20190197163
    Abstract: Search spaces for obtaining query execution plans for a query are identified. The search spaces are subdivided into sub-search spaces. Searches are initiated within the sub search spaces and plan costs for competing query execution plans are noted along with search costs associated with continuing to search the sub-search spaces. A decision is made based on the plan costs and search costs for utilizing search resources as to when to terminate the searching and to select the then-existing lowest cost query execution plan as an optimal query execution plan for executing the query.
    Type: Application
    Filed: December 22, 2017
    Publication date: June 27, 2019
    Inventors: John Mark Morris, Bhashyam Ramesh, Donald Raymond Pederson, Kuorong Chiang
  • Publication number: 20160179890
    Abstract: Sets of joins against relations in a query are identified. An optimal order for processing the joins is determined. The optimal order is then processed by an enhanced genetic algorithm to generate a second optimal order for processing the joins. The second optimal order is at least as good as the optimal order. The second optimal order is used when developing a query plan for processing the query in a Database Management System (DBMS).
    Type: Application
    Filed: December 23, 2014
    Publication date: June 23, 2016
    Applicant: TERADATA US, INC.
    Inventors: Kuorong Chiang, Hien Trong To, Wei Tang
  • Publication number: 20160179889
    Abstract: Query conditions are received in a cache from a query optimizer of a Database Management System (DBMS). Dynamic statistics for the query conditions are maintained in the cache. Actual statistics are received in the cache after the query conditions are executed in the DBMS. Entropy-based estimated selectivity values for executing the query conditions are provided to the query optimizer to develop a query plan for executing queries having the query conditions. The entropy-based estimated selectivity values based, at least in part, on the dynamic statistics and the actual statistics.
    Type: Application
    Filed: December 23, 2014
    Publication date: June 23, 2016
    Applicant: Teradata US, Inc.
    Inventors: Kuorong Chiang, Chuchu Wu, Wei Tang
  • Patent number: 7991765
    Abstract: 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 materialized views are considered, the query is rewritten using a multi-table materialized view. A join cost is determined for each such non-aggregate multi-table materialized view. If one or more non-aggregate single table materialized views are considered, the query is rewritten using the single table materialized view. A join cost is determined for each such non-aggregate single table materialized view. Finally, a current total cost is determined for use of various materialized views as a function of join cost, aggregation cost and spool cost to select a rewritten query.
    Type: Grant
    Filed: July 31, 2008
    Date of Patent: August 2, 2011
    Assignee: Teradata US, Inc.
    Inventors: Hong Gui, Grace Au, Kuorong Chiang
  • Patent number: 7877372
    Abstract: A method, computer program, and database system are disclosed for querying tables stored on multiple processing modules. The method includes specifying module group characteristics. A plurality of modules corresponding to the module group characteristics are then identified. The identified modules are sampled for statistics concerning at least one table specified in a query. An execution plan for the query is optimized based at least in part on the sampled statistics.
    Type: Grant
    Filed: May 24, 2004
    Date of Patent: January 25, 2011
    Assignee: Teradata US, Inc.
    Inventors: Arthur Vargas Lopes, Jerry Lynn Klindt, Kuorong Chiang, Donald Raymond Pederson, Pradeep Sathyanarayan
  • Publication number: 20100030731
    Abstract: 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 materialized views are considered, the query is rewritten using a multi-table materialized view. A join cost is determined for each such non-aggregate multi-table materialized view. If one or more non-aggregate single table materialized views are considered, the query is rewritten using the single table materialized view. A join cost is determined for each such non-aggregate single table materialized view. Finally, a current total cost is determined for use of various materialized views as a function of join cost, aggregation cost and spool cost to select a rewritten query.
    Type: Application
    Filed: July 31, 2008
    Publication date: February 4, 2010
    Applicant: Teradata US, Inc.
    Inventors: Hong Gui, Grace Au, Kuorong Chiang
  • Patent number: 7319995
    Abstract: A method, system and apparatus for performing an inclusion hash join and an exclusion hash join using a hash join are provided. The inner and outer tables are transposed to left and right tables, respectively. A hash table is created from the left table, the right table is scanned, and the hash table is probed. If the right table hash value matches a hash table value, the actual values are compared. If they match, the current outer table row is included in the result. If an exclusion condition is present, the hash table is probed with the right-table-row's hash value. If no hash values match, the outer table row is added to the result and the next row is addressed. If one or more hash values match, the actual values are compared.
    Type: Grant
    Filed: August 12, 2004
    Date of Patent: January 15, 2008
    Assignee: NCR Corp.
    Inventor: Kuorong Chiang
  • Patent number: 7260563
    Abstract: 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 unique first table values is greater than the number of unique second table values, the number of instances where a unique first table value matches a unique second table value is returned. Otherwise, the number of unique first table values is returned. The method further includes determining an optimized cost of reading the second table. The optimized cost of reading the second table includes the number of unique second table values. The method also includes summing the optimized cost of reading the first table and the optimized cost of reading the second table.
    Type: Grant
    Filed: October 8, 2003
    Date of Patent: August 21, 2007
    Assignee: NCR Corp.
    Inventors: Bibhu Ranjan Priyadarshi, Grace Kwan-On Au, Kuorong Chiang
  • Patent number: 7203686
    Abstract: A method for performing a join of a first table and a second table is disclosed. In one instance, each of the plurality of first table rows is grouped into one of a plurality of first table partitions. It is determined that a partitioning column of the first table is specified in an equality condition of the join. One of the plurality of second table rows is selected, and a partition number is generated for the selected one of the plurality of second table rows. For a second table row for which a partition number was generated, a first table partition with a partition number that matches the generated partition number is identified, and a product join is used to join the one or more first table rows in the matching partition with the selected one of the second table rows.
    Type: Grant
    Filed: December 30, 2003
    Date of Patent: April 10, 2007
    Assignee: NCR Corp.
    Inventors: Paul L. Sinclair, Kuorong Chiang
  • Patent number: 7035851
    Abstract: A method for reorganizing rows from a partitioned database table is disclosed. The partitioned database table includes a plurality of populated partitions. Rows are organized in each of the populated partitions in accordance with a first value associated with each row. A file context is created for each partition of a subset of the populated partitions, each file context stores at least location data for a row in the partition and the first value associated with the row. Rows and merged from the subset of partitions into a single first-merge partition in order of the first value associated with each row. The creation of file contexts and merging of rows in the corresponding partitions is repeated until the subsets have included all populated partitions.
    Type: Grant
    Filed: December 7, 2001
    Date of Patent: April 25, 2006
    Assignee: NCR Corp.
    Inventors: Paul L. Sinclair, Kuorong Chiang
  • Patent number: 6944633
    Abstract: A method of performing a join includes identifying a join that identifies a first table and a second table. The first table includes a plurality of first table rows. Each of the plurality of first table rows are grouped into one of a plurality of first table partitions. The second table includes one or more second table rows. Each of the plurality of second table rows are grouped into one or more second table partitions. A determination is made as to whether the first table and the second table are joined on equality constraints. The one or more first table rows are joined with the one or more second table rows using a rowkey merge join where equality exists.
    Type: Grant
    Filed: December 10, 2003
    Date of Patent: September 13, 2005
    Assignee: NCR Corporation
    Inventors: Lawrence H. Higa, Paul L. Sinclair, Mark William Sirek, Kuorong Chiang
  • Publication number: 20050021503
    Abstract: A method, system and apparatus for performing an inclusion hash join and an exclusion hash join using a hash join are provided. The inner and outer tables are transposed to left and right tables, respectively. A hash table is created from the left table, the right table is scanned, and the hash table is probed. If the right table hash value matches a hash table value, the actual values are compared. If they match, the current outer table row is included in the result. If an exclusion condition is present, the hash table is probed with the right-table-row's hash value. If no hash values match, the outer table row is added to the result and the next row is addressed. If one or more hash values match, the actual values are compared.
    Type: Application
    Filed: August 12, 2004
    Publication date: January 27, 2005
    Inventor: Kuorong Chiang
  • Patent number: 6834279
    Abstract: A method, system and apparatus for performing an inclusion hash join and an exclusion hash join using a hash join are provided. The inner and outer tables are transposed to left and right tables, respectively. A hash table is created from the left table, the right table is scanned, and the hash table is probed. If the right table hash value matches a hash table value, the actual values are compared. If they match, the current outer table row is included in the result. If an exclusion condition is present, the hash table is probed with the right-table-row's hash value. If no hash values match, the outer table row is added to the result and the next row is addressed. If one or more hash values match, the actual values are compared.
    Type: Grant
    Filed: May 24, 2001
    Date of Patent: December 21, 2004
    Assignee: NCR Corporation
    Inventor: Kuorong Chiang
  • Patent number: 6772163
    Abstract: A method, computer system, and computer program are claimed for selecting rows from first and second tables each having rows containing values in columns. In at least the first table, the rows are divided into partitions at least one of which is populated by one or more rows.
    Type: Grant
    Filed: December 20, 2001
    Date of Patent: August 3, 2004
    Assignee: NCR Corporation
    Inventors: Paul Laurence Sinclair, Kuorong Chiang