IP Library Granted Patent US 10,860,561
Granted Patent B2
US 10,860,561 · App. 16/019,694 · Granted Dec 8, 2020

Method and apparatus for providing efficient indexing and computer program included in computer readable medium therefor

Inventor: Joo Hyun Lee (Gyeonggi-do, KR)
Assignee: TmaxData Co., Ltd.
G06F16/2246G06F11/3003G06F16/2237G06F16/23
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,860,561
App. No.
16/019,694
Granted
Dec 8, 2020
Kind
B2
Abstract

Disclosed is a method performed by a database management system (DBMS) according to an exemplary embodiment of the present disclosure. The method may create a database index structure for pointing a data storage location based on monitoring result information depending on a monitoring algorithm in the database management system. The database index structure may at least partially include a sub index structure of a first level and a sub index structure of a second level which is lower than the first level, the second level sub index structure may include a plurality of columns, a first column among the plurality of columns of the second level sub index structure may include key values, a second column among the plurality of columns of the second level sub index structure may include ROWID values corresponding to rows of a data block, and a third column among the plurality of columns of the second level sub index structure may include optimized index values set based on the monitoring result information.

Claims (35)

1. A computer program stored in a non-transitory computer readable storage medium including encoded commands, which is configured to cause one or more processors to perform operations in order to enhance retrieval performance of data when the computer program is executed by the one or more processors of a computer system, wherein the operations include:

an operation of creating a database index structure for pointing a data storage location based on monitoring result information depending on a monitoring algorithm, which is generated at least partially based on count information of access to a column value of a base data structure referred to by the database index structure and includes an indication as to which indexing scheme of a first type and a second type is to be used in units of row or in units of key value, in a database management system (DBMS),

wherein the database index structure at least partially includes a sub index structure of a first level, which includes at least one of a root node and a branch node, and a sub index structure of a second level which is lower than the first level, which includes a leaf node,

the first level sub index structure includes a start ROWID value of a sub index structure of a lower level and an address value for accessing the lower level sub index structure,

the second level sub index structure includes a plurality of columns and an indication representing which indexing scheme of the first type and the second type, different from the first type indexing scheme, is to be used by the second level sub index structure,

a first column among the plurality of columns of the second level sub index structure includes key values,

a second column among the plurality of columns of the second level sub index structure includes ROWID values corresponding to rows of a data block, and

a third column among the plurality of columns of the second level sub index structure includes a bitmap value, which is a bit value indicating a relative distance between a reference point and locations of other ROWID values in the second level sub index structure, wherein the reference point is a ROWID value, when the monitoring result information represents that the first type indexing scheme is to be used, and includes a NULL value when the monitoring result information represents that the second type indexing scheme is to be used.

2. The computer program stored in the non-transitory computer readable storage medium of claim 1 , wherein a fourth column among the plurality of columns of the second level sub index structure includes end ROWID value and the end ROWID value includes the NULL value when the monitoring result information represents that the second type indexing scheme is to be used.

3. The computer program stored in the non-transitory computer readable storage medium of claim 1 , wherein when the count information of the access to the column value or the count information of the access to the key value is larger than a predetermined access threshold count value, the monitoring result information represents that the first type indexing scheme is to be used, and

when the count information of the access to the column value or the count information of the access to the key value is equal to or smaller than the predetermined access threshold count value, the monitoring result information represents that the second type indexing scheme is to be used.

4. The computer program stored in the non-transitory computer readable storage medium of claim 1 , wherein the monitoring result information depending on the monitoring algorithm is generated in units of partition at least partially based on partition characteristic information of the base data structure referred to by the database index structure.

5. The computer program stored in the non-transitory computer readable storage medium of claim 1 , wherein the partition characteristic information of the base data structure is determined based on at least one of size information of a distinct value of the partition and count information of occurrence of a data manipulation language (DML) for the partition.

6. The computer program stored in the non-transitory computer readable storage medium of claim 5 , wherein when the size information of the distinct value of the partition is smaller than a predetermined size threshold value or the DML occurrence count information for the partition is smaller than a predetermined DML occurrence count threshold value, the monitoring result information represents that the first type indexing scheme is to be used for the partition, and

when the DML occurrence count information for the partition is equal to or larger than the predetermined DML occurrence count threshold value, the monitoring result information represents that the second type indexing scheme is to be used for the partition.

7. The computer program stored in the non-transitory computer readable storage medium of claim 1 , wherein the monitoring result information depending on the monitoring algorithm is determined at least partially based on last access time information of data included in the partition, and

when the last access time information of the data included in the partition is older than predetermined threshold time information, the monitoring result information represents that the first type indexing scheme is to be used for the partition, and

when the last access time information of the data included in the partition is not older than the predetermined threshold time information, the monitoring result information represents that the second type indexing scheme is to be used for the partition.

8. A method performed by a database management system (DBMS), the method comprising:

creating a database index structure for pointing a data storage location based on monitoring result information depending on a monitoring algorithm, which is generated at least partially based on count information of access to a column value of a base data structure referred to by the database index structure and includes an indication as to which indexing scheme of a first type and a second type is to be used in units of row or in units of key value, in the database management system,

wherein the database index structure at least partially includes a sub index structure of a first level, which includes at least one of a root node and a branch node, and a sub index structure of a second level which is lower than the first level, which includes a leaf node,

the first level sub index structure includes a start ROWID value of a sub index structure of a lower level and an address value for accessing the lower level sub index structure,

the second level sub index structure includes a plurality of columns and an indication representing which indexing scheme of the first type and the second type, different from the first type indexing scheme, is to be used by the second level sub index structure,

a first column among the plurality of columns of the second level sub index structure includes key values,

a second column among the plurality of columns of the second level sub index structure includes ROWID values corresponding to rows of a data block, and

a third column among the plurality of columns of the second level sub index structure includes a bitmap value, which is a bit value indicating a relative distance between a reference point and locations of other ROWID values in the second level sub index structure, wherein the reference point is a ROWID value, when the monitoring result information represents that the first type indexing scheme is to be used, and includes a NULL value when the monitoring result information represents that the second type indexing scheme is to be used.

9. A database management apparatus comprising:

a processor configured to create a database index structure for pointing a data storage location based on monitoring result information depending on a monitoring algorithm, which is generated at least partially based on count information of access to a column value of a base data structure referred to by the database index structure and includes an indication as to which indexing scheme of a first type and a second type is to be used in units of row or in units of key value, in the database management system; and

a storage unit configured to store the database index structure,

wherein the database index structure at least partially includes a sub index structure of a first level, which includes at least one of a root node and a branch node, and a sub index structure of a second level which is lower than the first level, which includes a leaf node,

the first level sub index structure includes a start ROWID value of a sub index structure of a lower level and an address value for accessing the lower level sub index structure,

the second level sub index structure includes a plurality of columns and an indication representing which indexing scheme of the first type and the second type, different from the first type indexing scheme, is to be used by the second level sub index structure,

a first column among the plurality of columns of the second level sub index structure includes key values,

a second column among the plurality of columns of the second level sub index structure includes ROWID values corresponding to rows of a data block, and

a third column among the plurality of columns of the second level sub index structure includes a bitmap value, which is a bit value indicating a relative distance between a reference point and locations of other ROWID values in the second level sub index structure, wherein the reference point is a ROWID value, when the monitoring result information represents that the first type indexing scheme is to be used, and includes a NULL value when the monitoring result information represents that the second type indexing scheme is to be used.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 12, 2022
From: TMAXDATACO., LTD. (ALSO KNOWN AS TMAXDATA CO., LTD. AND TMAX DATA CO., LTD.)
To: TMAXTIBERO CO., LTD.
Reel/Frame 060635/0387 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 27, 2018
From: LEE, JOO HYUN
To: TMAXDATA CO., LTD.
Reel/Frame 046443/0274 →
Priority Claims (1)
KR 10-2018-0059336 · May 25, 2018 · national
Continuity (1)
Related Publication 20190362000A1 · Nov 28, 2019