# US 2017/0293441 A1 · Adaptive block cache management method and dbms applying the same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0293441 A1
- Document ID: US20170293441A1
- Status: Published application
- Kind: A1
- Application number: 15/465,605
- Filed: 2017-03-22
- Published: 2017-10-12
- Earliest claimed: 2016-04-11
- Assignees: Korea Electronics Technology Institute
- Applicants: Korea Electronics Technology Institute
- Inventors: Jae Hoon AN; Young Hwan KIM; Chang Won PARK
- Web page: https://patentgrep.com/patent/US20170293441A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0665: {at area level, e.g. provisioning of virtual or logical volumes}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 12/0848: {Partitioned cache, e.g. separate instruction and operand caches}
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 12/0871: Allocation or management of cache space
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F 2212/282: Partitioned cache
- G06F 2212/312: In storage controller
- G06F 2212/502: using adaptive policy
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An adaptive block cache management method and a DBMS applying the same are provided. A DB system according to an exemplary embodiment of the present disclosure includes: a cache configured to temporarily store DB data; a disk configured to permanently store the DB data; and a processor configured to determine whether to operate the cache according to a state of the DB system. Accordingly, a high-speed cache is adaptively managed according to a current state of a DBMS, such that a DB processing speed can be improved.

## Claims

### Claim 1

A database (DB) system comprising:
a cache configured to temporarily store DB data;
a disk configured to permanently store the DB data; and
a processor configured to determine whether to operate the cache according to a state of the DB system.

### Claim 2 (depends on 1)

The DB system of claim 1, wherein the state of the DB system comprises at least one of a use rate of the processor and a use rate of a memory provided in the DB system.

### Claim 3 (depends on 2)

The DB system of claim 2, wherein the memory comprises:
a first memory in which the DB is established; and
a second memory which is used by the processor to process data.

### Claim 4 (depends on 3)

The DB system of claim 3, wherein the use rate of the memory comprises at least one of a use rate of the first memory and a use rate of the second memory.

### Claim 5 (depends on 3)

The DB system of claim 3, wherein the state of the DB system comprises at least one of a data I/O rate of the first memory and a data I/O rate of the second memory.

### Claim 6 (depends on 3)

The DB system of claim 3, wherein the processor is configured to store, in the cache, a restore file regarding the DB established in the memory.

### Claim 7 (depends on 6)

The DB system of claim 6, wherein, when the state of the DB system is a first state, the processor is configured to store the restore file in the cache, and, when the state of the DB system is a second state, the processor is configured to store the restore file in the disk.

### Claim 8 (depends on 1)

The DB system of claim 1, wherein the processor is configured to determine whether to operate the cache according to current date and time.

### Claim 9 (depends on 1)

The DB system of claim 1, wherein the processor is configured to determine whether to operate the cache according to a type of the DB.

### Claim 10

A method for managing a DB, the method comprising:
monitoring a state of a DB system;
determining whether to operate a cache, which temporarily stores DB data, according to the state; and
operating a disk which permanently stores the DB data and the cache according to a result of the determining.

### Claim 11

A DB system comprising:
a memory in which a DB is established;
a cache configured to temporarily store DB data;
a disk configured to permanently store DB data; and
a processor configured to determine a storage medium to store a restore file of the DB from among the cache and the disk based on a state of the DB system, and store the restore file in the determined storage medium.

### Claim 12

(canceled)
