发明名称 Generating statistics for database queries using tensor representations
摘要 Query results and statistics regarding them are generated using a novel representation of an n-attribute relation as an order n relational tensor. Orders of the relational tensor respectively correspond to each of the attributes, and each coordinate along an order relates to a key value of the corresponding attribute. Numeric values are stored in the relational tensor, each numeric value representing a count of tuples having the attribute key values that correspond to the coordinate of the numeric value along the orders of the relational tensor. This storage representation is useful in a variety of contexts for enhancing the performance of a RDBMS system. Specifically, in a first aspect of the invention, a tensor representation can be used to generate statistics for a user query so that the relational database system can determine, from among two candidate approaches, an approach to use in processing the user query based on the statistic. Also, a a data-representing relational tensor can be used to produce results for a restrict operation such as the SQL operations DISTINCT, PROJECTION, EQUALS, LESS THAN, LESS THAN OR EQUAL, GREATER THAN, GREATER THAN OR EQUAL and LIKE.
申请公布号 US6442539(B1) 申请公布日期 2002.08.27
申请号 US19990441737 申请日期 1999.11.17
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 AMUNDSEN LANCE CHRISTOPHER;KATHMANN KEVIN JAMES;SANTOSUOSSO JOHN MATTHEW
分类号 G06F17/00;G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F17/00
代理机构 代理人
主权项
地址