Method of generating secondary index and apparatus for storing secondary index

US10061693B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10061693-B2
Application numberUS-201514694442-A
CountryUS
Kind codeB2
Filing dateApr 23, 2015
Priority dateApr 23, 2014
Publication dateAug 28, 2018
Grant dateAug 28, 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.

A method and apparatus for generating and storing a secondary index. The method includes generating, in response to a size of an index data being greater than a size of a memory block, an index data table including the index data and recording the index data table in a memory, generating a metadata table of the index data table and recording the metadata table in the memory, and performing a merge and sort regarding at least one of the index data table and the metadata table. The apparatus includes a memory; and a controller configured to, in response to a size of index data being greater than a size of a memory block, generate an index data table including the index data and record the index data table in a memory, and perform a merge and sort regarding at least one of the index data table and the metadata table.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of generating a secondary index comprising an index data table, the method comprising: generating, in response to a size of an index data being greater than a size of a memory block, the index data table including the index data and recording the index data table in a memory; generating a metadata table corresponding to the index data table and recording the metadata table in the memory; and performing a merge and sort regarding at least one of the index data table and the metadata table, wherein performing the merge and sort comprises performing, in response to an index data table for which the merge and sort is not performed being greater than or equal to a preset number, a merge and sort for metadata tables of the index data table for which the merge and sort is not performed without performing the merge and sort for the index data table for which the merge sort is not performed. 2. The method of claim 1 , wherein performing merge and sort comprises performing range compaction for an index data table for which failure of reading occurs at least a preset number of times. 3. The method of claim 2 , further comprising: generating a metadata table of the index data table for which the range compaction is performed and recording the metadata table in the memory. 4. The method of claim 1 , wherein the metadata table includes at least one of page information of the index data, a first key value of the index data table, and a root value indicating a range of a page of the index data. 5. The method of claim 1 , wherein the index data table for which the merge sort is performed is recorded in at least one memory block. 6. The method of claim 5 , wherein only one index data table is recorded in a memory block. 7. The method of claim 1 , further comprising: performing the merge and sort for at least one of the index data table and the metadata table for which the merge sort is not performed. 8. The method of claim 4 , wherein the root value is recorded via atomic writing. 9. The method of claim 1 , wherein the memory is a solid state drive (SSD). 10. An apparatus for storing a secondary index comprising an index data table, the apparatus comprising: a memory; and a controller configured to, in response to a size of index data being greater than a size of a memory block, generate the index data table including the index data and record the index data table in a memory, generate a metadata table corresponding to the index data table and record the metadata table in the memory, and perform a merge and sort regarding at least one of the index data table and the metadata table, wherein the controller is further configured to perform, in response to an index data table for which the merge and sort is not performed being greater than or equal to a preset number, a merge and sort for metadata tables of the index data table for which the merge and sort is not performed without performing the merge and sort for the index data table for which the merge sort is not performed. 11. The apparatus of claim 10 , wherein the controller is further configured to perform range merge and sort or range compaction for an index data table for which failure of reading occurs for at least a preset number of times. 12. The apparatus of claim 11 , wherein the controller is further configured to generate a metadata table of the index data table for which the range compaction is performed and record the metadata table in the memory. 13. The apparatus of claim 10 , wherein the metadata table includes at least one of page information of the index data, a first key value of the index data table and a root value indicating a range of a page of the index data. 14. The apparatus of claim 10 , wherein the index table for which merge and sort is performed is recorded in at least one memory block. 15. The apparatus of claim 14 , wherein only one index data table is recorded in a memory block. 16. The apparatus of claim 10 , wherein the controller is further configured to perform merge and sort for at least one of the index data table and the metadata table for which merge and sort is not performed.

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 US10061693B2 cover?
A method and apparatus for generating and storing a secondary index. The method includes generating, in response to a size of an index data being greater than a size of a memory block, an index data table including the index data and recording the index data table in a memory, generating a metadata table of the index data table and recording the metadata table in the memory, and performing a me…
Who is the assignee on this patent?
Samsung Electronics Co Ltd, Samsung Electronics Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F12/0246. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 28 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 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).