发明名称 System for executing a query having multiple distinct key columns
摘要 A system and computer readable medium for executing a query to access data stored in a database, wherein the query includes a plurality of DISTINCT keys, is disclosed. The system and computer readable medium includes a capture module for identifying each of the plurality of DISTINCT keys in the query and a sort module coupled to the capture module for determining if more than one sort is needed to execute the query, performing a first DISTINCT operation on a first DISTINCT key of the plurality of DISTINCT keys, storing data fetched from the first DISTINCT operation in a master workfile only if more than one sort process is needed to execute the query, and utilizing the master workfile to perform subsequent DISTINCT operations on the other of the plurality of DISTINCT keys.
申请公布号 US8041726(B2) 申请公布日期 2011.10.18
申请号 US20080212431 申请日期 2008.09.17
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 CHEN YAO-CHING;FUH YOU-CHIN;LEBOVITZ ALLAN B.;LEE LI-MEY;LIN FEN-LING;LIU LEE-CHIN HSU;WANG YUN;ZHEN BINGHUA
分类号 G06F17/30;G06F7/00 主分类号 G06F17/30
代理机构 代理人
主权项
地址