Avoidance of intermediate data skew in a massive parallel processing environment

US9569494B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9569494-B2
Application numberUS-201414312879-A
CountryUS
Kind codeB2
Filing dateJun 24, 2014
Priority dateDec 31, 2013
Publication dateFeb 14, 2017
Grant dateFeb 14, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A computer-implemented method for minimizing join operation processing time within a database system based on estimated joined table spread of the database system has been provided. The computer-implemented method includes estimating value distribution of data in a joined table, wherein the joined table is a result of join operation between two instances of tables of a database system. The computer-implemented method further includes determining boundaries for partitioning at least one range of attributes of the estimated value distribution, wherein the boundaries for partitioning at least one range of attributes of the estimated value distribution corresponds to a same number of rows of the joined table. The computer-implemented method further includes determining at least one assignment of the determined partition of the at least one range of attributes to processing units of the database system.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer system for minimizing join operation processing time within a database system based on estimated joined table spread of the database system, the computer system comprising: one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices and program instructions which are stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, the program instructions comprising: program instructions to estimate value distribution of data in a joined table, wherein the joined table is a result of a join operation between two instances of tables of a database system and the estimated value distribution data is based on a count of number of rows with a particular value of the two instances of the tables of the join operation and calculation of a number of rows of the joined table; program instructions to determine boundaries for partitioning at least one range of attributes of the estimated value distribution of data, wherein the boundaries for partitioning is based on a density function distribution of the joined table, and wherein the density distribution function represents a spread of data within a data column of the joined table, the joined table being a result of a join operation between two instances of tables of the database system; program instructions to determine at least one assignment of the determined partition of the at least one range of attributes to processing units of the database system; program instructions to provide parameterized functions that represent the estimated value distribution; program instructions to determine the total number of rows in the join table; program instructions to determine a set of estimates for the number of rows in the join table in a first set of consequent common attribute value ranges based on the parametrized functions; program instructions to determine a parametrized function representing the value distribution of the common attribute in the join table by solving a first equation system involving definite integrals of over the first set of consequent attribute ranges and the set of estimates for numbers of rows; and program instructions to determine a second set of consequent common attribute value ranges by solving a second equation system involving definite integrals of over the second set of consequent common attribute value ranges, each definite integral equalling the total number of rows in the join table divided by the number of processing nodes. 2. The computer system according to claim 1 , wherein the estimated value distribution data is a density function based on values of columns of the joined table of the database system. 3. The computer system according to claim 2 , further includes program instructions to split the joined table, into at least one partitioning range of attributes of the estimated value distribution data. 4. The computer system according to claim 1 , wherein the assignment of the determined partition of the at least one range of attributes is based on defined hash functions of data distribution within the processing units. 5. The computer system according to claim 4 , wherein the defined hash functions are adaptive to map value of columns within the processing units. 6. The computer system according to claim 5 , wherein the defined hash functions decreases intermediate processing impact of query execution time of the processing units of a database system. 7. A computer program product for minimizing join operation processing time within a database system based on estimated joined table spread of the database system, the computer program product comprising: one or more computer-readable tangible storage devices and program instructions stored on at least one of the one or more storage devices, the program instructions comprising: program instructions to estimate value distribution of data in a joined table, wherein the joined table is a result of a join operation between two instances of tables of a database system and the estimated value distribution data is based on a count of number of rows with particular value of the two instances of the tables of the join operation and calculation of number of rows of the joined table; program instructions to determine boundaries for partitioning at least one range of attributes of the estimated value distribution of data, wherein the boundaries for partitioning is based on a density function distribution of the joined table, and wherein the density distribution function represents a spread of data within a data column of the joined table, the joined table being a result of a join operation between two instances of tables of the database system; program instructions to determine at least one assignment of the determined partition of the at least one range of attributes to processing units of the database system; program instructions to provide parameterized functions that represent the estimated value distribution; program instructions to determine the total number of rows in the join table; program instructions to determine a set of estimates for the number of rows in the join table in a first set of consequent common attribute value ranges based on the parametrized functions; program instructions to determine a parametrized function representing the value distribution of the common attribute in the join table by solving a first equation system involving definite integrals of over the first set of consequent attribute ranges and the set of estimates for numbers of rows; and program instructions to determine a second set of consequent common attribute value ranges by solving a second equation system involving definite integrals of over the second set of consequent common attribute value ranges, each definite integral equalling the total number of rows in the join table divided by the number of processing nodes. 8. The computer program product according to claim 7 , wherein the estimated value distribution data is a density function based on values of columns of the joined table of the database system. 9. The computer program product according to claim 8 , further includes program instructions to split the joined table, into at least one partitioning range of attributes of the estimated value distribution data. 10. The computer program product according to claim 7 , wherein the assignment of the determined partition of the at least one range of attributes is based on defined hash functions of data distribution within the processing units. 11. The computer program product according to claim 10 , wherein the defined hash functions are adaptive to map value of columns within the processing units.

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9569494B2 cover?
A computer-implemented method for minimizing join operation processing time within a database system based on estimated joined table spread of the database system has been provided. The computer-implemented method includes estimating value distribution of data in a joined table, wherein the joined table is a result of join operation between two instances of tables of a database system. The comp…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F16/24544. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 14 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).