发明名称 Utilize encoded vector indexing for database grouping
摘要 An apparatus and method to significantly improve performance of certain group queries using an encoded vector index (EVI) is disclosed. An EVI provides the data necessary to generate query results for COUNT, SUM, MIN, and MAX commands that specify the one or more database fields upon which the EVI is built. Only the EVI symbol table's key count, and the one or more database fields duplicated in the EVI symbol table are necessary to generate the query results. The key count in each EVI symbol table entry contains the number of records in the database having identical values in the EVI fields (that is, the fields upon which the EVI is built). These duplicated database values are called key values in the EVI symbol table entry. The EVI symbol table entry's key count allows quick generation of query results for COUNT and SUM commands that specify one or more EVI fields. SUM command processing of an EVI field is further facilitated by calculating a product of the key count and the key value of that EVI field. The highest or lowest key value in an EVI field provides query results for MAX or MIN commands specifying that EVI field. A HAVING operand specifying a key value delimiter on an EVI field for any of the aforementioned grouping commands is also facilitated using the EVI symbol table.
申请公布号 US7020647(B1) 申请公布日期 2006.03.28
申请号 US19990336488 申请日期 1999.06.18
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 EGAN RANDY L.;KATHMANN KEVIN J.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址