Processing window partitioning and ordering for on-line analytical processing (OLAP) functions

US10089356B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10089356-B2
Application numberUS-201514838894-A
CountryUS
Kind codeB2
Filing dateAug 28, 2015
Priority dateAug 28, 2015
Publication dateOct 2, 2018
Grant dateOct 2, 2018

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.

Provided are techniques for processing window partitioning and ordering for OLAP functions. A prior compare operation is performed by: receiving an input vector for each of one or more attributes of input data that represent one of a partition-by column and an order-by column in a database query; generating a per-attribute comparison vector for each input vector; and producing a single output vector using each per-attribute comparison vector, wherein each value of the single output vector is a Boolean attribute whose value for a given tuple is true if a current value and a most recent prior value of any of the one or more attributes are different.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer program product, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code executable by at least one processor to perform: performing a prior compare operation by: receiving an input vector for each of one or more attributes of input data that represent one of a partition-by column and an order-by column in a database query; generating a per-attribute comparison vector for each input vector; and producing a single output vector using each per-attribute comparison vector, wherein each value of the single output vector is a Boolean attribute whose value for a given tuple is true if a current value and a most recent prior value of any of the one or more attributes are different; and in response to receiving a second database query with multiple On-line Analytical Processing (OLAP) functions that each have different partitioning and ordering specifications and that share a sort, identifying a minimal set of prior compare building blocks with a minimal number of scans over the input data for use by the multiple OLAP functions; and computing remaining prior compare functions using the minimal set of the prior compare building blocks. 2. The computer program product of claim 1 , wherein the prior compare operation is used to 1) identify a beginning of a new partition and 2) determine whether values of the one or more attributes have changed. 3. The computer program product of claim 1 , wherein each value of the single output vector is a Boolean attribute whose value for a given tuple is false if the current value and the most recent prior value of all of the one or more attributes are identical. 4. The computer program product of claim 1 , wherein a Software as a Service (SaaS) is configured to perform computer program product operations. 5. A computer system, comprising: one or more processors, one or more computer-readable memories and one or more computer-readable, tangible storage devices; and program instructions, stored on at least one of the one or more computer-readable, tangible storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to perform: performing a prior compare operation by: receiving an input vector for each of one or more attributes of input data that represent one of a partition-by column and an order-by column in a database query; generating a per-attribute comparison vector for each input vector; and producing a single output vector using each per-attribute comparison vector, wherein each value of the single output vector is a Boolean attribute whose value for a given tuple is true if a current value and a most recent prior value of any of the one or more attributes are different; and in response to receiving a second database query with multiple On-line Analytical Processing (OLAP) functions that each have different partitioning and ordering specifications and that share a sort, identifying a minimal set of prior compare building blocks with a minimal number of scans over the input data for use by the multiple OLAP functions; and computing remaining prior compare functions using the minimal set of the prior compare building blocks. 6. The computer system of claim 5 , wherein the prior compare operation is used to 1) identify a beginning of a new partition and 2) determine whether values of the one or more attributes have changed. 7. The computer system of claim 5 , wherein each value of the single output vector is a Boolean attribute whose value for a given tuple is false if the current value and the most recent prior value of all of the one or more attributes are identical. 8. The computer system of claim 5 , wherein a Software as a Service (SaaS) is configured to perform system operations.

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 US10089356B2 cover?
Provided are techniques for processing window partitioning and ordering for OLAP functions. A prior compare operation is performed by: receiving an input vector for each of one or more attributes of input data that represent one of a partition-by column and an order-by column in a database query; generating a per-attribute comparison vector for each input vector; and producing a single output v…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F17/30486. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 02 2018 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).