Method of generating secondary index and apparatus for storing secondary index
First Claim
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.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
14 Citations
16 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
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. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
Specification