Set-orientated visibility state retrieval scheme

US9965513B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9965513-B2
Application numberUS-201414553226-A
CountryUS
Kind codeB2
Filing dateNov 25, 2014
Priority dateNov 25, 2014
Publication dateMay 8, 2018
Grant dateMay 8, 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.

Disclosed herein are system, method, and computer program product embodiments for determining row visibility states. An embodiment operates by initializing a result bitmap for rows based on visible row state values of row state bitmaps corresponding to the rows, wherein values of the result bitmap indicate whether the row are visible or not visible; determining one or more rows whose corresponding visible row state values indicate that the one or more rows are not visible; and determining whether to update the result bitmap to indicate that the one or more rows are visible based on one or more versioned row state values, wherein the one or more versioned row state values indicate whether the corresponding rows are not visible or possibly visible.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer implemented method for determining row visibility states, comprising: initializing, by at least one processor, a result bitmap corresponding to each row of a plurality of rows of data, wherein the result bitmap comprises both a first bit and a second bit that indicate whether the corresponding row is visible or not visible; determining, based on the first bit of the result bitmap, a selection of one or more of the rows for which the visibility state is either indeterminate or invisible, wherein the first bits of the rows are stored in first array, and wherein the first bit values are read from the first array in a single operation; identifying, based on the second bit of the result bitmap, a particular one of the selection of rows for which the visibility state is indeterminate and needs to be updated, wherein the second bits of the rows are stored in a second array; and updating the second bit of the particular row based on a timestamp comparison of either a commit timestamp or a destroy timestamp corresponding to the particular row to another timestamp. 2. The method of claim 1 , wherein the updating comprises: updating the result bitmap to indicate that one or more rows that were not visible are visible. 3. The method of claim 1 , further comprising: receiving a query; and performing the query using one or more rows indicated to be visible based on the first bit of the result bitmap. 4. The method of claim 1 , wherein the first array is stored separately from the second array. 5. The method of claim 1 , wherein the updating comprises: comparing the commit timestamp or the destroy timestamp to a query timestamp; and determining, based on the comparing, whether the particular row is visible to one or more queries. 6. The method of claim 1 , wherein the result bitmap, for the particular row whose visibility state needs to be updated, indicates that for one or more existing queries, the visibility state is neither visible nor hidden. 7. A system, comprising: a memory; and at least one processor coupled to the memory and configured to: initialize a result bitmap corresponding to each row of a plurality of rows of data, wherein the result bitmap comprises both a first bit and a second bit that indicate whether the corresponding row is visible or not visible; determine, based on the first bit of the result bitmap, a selection of one or more of the rows for which the visibility state is either indeterminate or invisible, wherein the first bits of the rows are stored in first array, and wherein the first bit values are read from the first array in a single operation; identify, based on the second bit of the result bitmap, a particular one of the selection of rows for which the visibility state is indeterminate and needs to be updated, wherein the second bits of the rows are stored in a second array; and update the second bit of the particular row based on a timestamp comparison of either a commit timestamp or a destroy timestamp corresponding to the particular row to another timestamp. 8. The system of claim 7 , wherein the at least one processor to update is configured to: update the result bitmap to indicate that one or more rows that were not visible are visible. 9. The system of claim 7 , the at least one processor further configured to: receive a query; and perform the query using one or more rows indicated to be visible based on the first bit of the result bitmap. 10. The system of claim 7 , wherein the first array is stored separately from the second array. 11. The system of claim 7 , wherein to update the at least one processor is configured to: compare the commit timestamp or the destroy timestamp to a query timestamp; and determine, based on the comparison, whether the particular row is visible to one or more queries. 12. A tangible computer-readable device having instructions stored thereon that, when executed by at least one computing device, causes the at least one computing device to perform operations comprising: initializing a result bitmap for rows based on visible row state values of row state bitmaps corresponding to the rows, wherein values of the result bitmap indicate whether the row are visible or not visible; determining, based on the first bit of the result bitmap, a selection of one or more of the rows for which the visibility state is either indeterminate or invisible, wherein the first bits of the rows are stored in first array, and wherein the first bit values are read from the first array in a single operation; identifying, based on the second hit of the result bitmap, a particular one of the selection of rows for which the visibility state is indeterminate and needs to be updated, wherein the second bits of the rows are stored in a second array; and updating the second bit of the particular row based on a timestamp comparison of either a commit timestamp or a destroy timestamp corresponding to the particular row to another timestamp. 13. The computer-readable device of claim 12 , wherein the updating comprises: updating the result bitmap to indicate that one or more rows that were not visible are visible. 14. The computer-readable device of claim 12 , the operations further comprising: receiving a query; and performing the query using one or more rows indicated to be visible based on the first bit of the result bitmap. 15. The computer-readable device of claim 12 , wherein the first array is stored separately from the second array. 16. The computer-readable device of claim 12 , the determining ether to update the result bitmap comprising: comparing the commit timestamp or the destroy timestamp to a query timestamp; and determining, based on the comparing, whether the particular row is visible to one or more queries.

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 US9965513B2 cover?
Disclosed herein are system, method, and computer program product embodiments for determining row visibility states. An embodiment operates by initializing a result bitmap for rows based on visible row state values of row state bitmaps corresponding to the rows, wherein values of the result bitmap indicate whether the row are visible or not visible; determining one or more rows whose correspond…
Who is the assignee on this patent?
Lee Juchang, Andrei Mihnea, Florendo Colin, and 3 more
What technology area does this patent fall under?
Primary CPC classification G06F17/30463. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 08 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 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).