发明名称 Star/join query optimization
摘要 Unwieldy star/join queries are performed more efficiently using a filtered fact table. Suitable queries include star/join queries with a large fact table joined with multiple subsidiary dimension tables, where indices exist over fact table join columns. The query is analyzed to prepare a query plan for the dimension table accesses. This plan is supplemented by adding nested loop join operations, where the inner table is a dimension table plan and the outer table is an index scan performed over a fact table index of the join column with the dimension table. The plan is also supplemented by filtering records resulting from the nested loop joins using a sequence of dynamic bit vectors, ultimately yielding a list of probable fact table records. The plan is further supplemented by fetching these records to construct a distilled fact which is used, instead of the large original table, to execute the query in considerably less time. If desired, the supplemented query plan and other competing approaches may studied to provide cost estimates, with the least costly approach being actually implemented.
申请公布号 US5960428(A) 申请公布日期 1999.09.28
申请号 US19970919739 申请日期 1997.08.28
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 LINDSAY, BRUCE GILBERT;LOHMAN, GUY MARING;PIRAHESH, MIR HAMID;SHEKITA, EUGENE JON;SIMMEN, DAVID EVERETT;URATA, MONICA SACHIYE
分类号 G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址