The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Oct. 18, 2011
Filed:
Sep. 17, 2008
Yao-ching Chen, Saratoga, CA (US);
You-chin Fuh, San Jose, CA (US);
Allan B. Lebovitz, San Jose, CA (US);
Li-mey Lee, Cupertino, CA (US);
Fen-ling Lin, San Jose, CA (US);
Lee-chin Hsu Liu, San Jose, CA (US);
Yun Wang, Saratoga, CA (US);
Binghua Zhen, San Jose, CA (US);
Yao-Ching Chen, Saratoga, CA (US);
You-Chin Fuh, San Jose, CA (US);
Allan B. Lebovitz, San Jose, CA (US);
Li-Mey Lee, Cupertino, CA (US);
Fen-Ling Lin, San Jose, CA (US);
Lee-Chin Hsu Liu, San Jose, CA (US);
Yun Wang, Saratoga, CA (US);
Binghua Zhen, San Jose, CA (US);
International Business Machines Corporation, Armonk, NY (US);
Abstract
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.