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:
Sep. 22, 2015
Filed:
Jan. 31, 2013
International Business Machines Corporation, Armonk, NY (US);
Ronald J. Barber, San Jose, CA (US);
Naresh K. Chainani, Portland, OR (US);
Guy M. Lohman, San Jose, CA (US);
Mir Hamid Pirahesh, San Jose, CA (US);
Vijayshankar Raman, Sunnyvale, CA (US);
Richard S. Sidle, Mountain View, CA (US);
Sandeep Tata, San Jose, CA (US);
International Business Machines Corporation, Armonk, NY (US);
Abstract
Embodiments of the invention relate to processing queries that utilize fact and/or dimension tables. In one aspect, a pre-join filtering phase precedes a star join. The necessary conditions for the pre-join filtering are considered for a given SQL query, including an estimated size of the hash table exceeding a threshold and presence of a local predicate either on the fact table or one or more dimension tables that is not a large dimension table. Once the necessary conditions are satisfied, the execution of the query exploits the pre-join filtering to build a pre-join output filter from columns of a reduced fact table that joins with each large dimension table. Thereafter, all the dimension tables and the fact table are joined in a star join while exploiting each pre-join filter.