# US 2016/0253591 A1 · Method and apparatus for managing performance of database

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

- Number: US 2016/0253591 A1
- Document ID: US20160253591A1
- Status: Published application
- Kind: A1
- Application number: 15/054,350
- Filed: 2016-02-26
- Published: 2016-09-01
- Earliest claimed: 2015-02-27
- Assignees: Samsung Sds Co., Ltd.
- Applicants: Samsung Sds Co., Ltd.
- Inventors: Sang-Hoon PARK; Jin-Wook KIM; Beom-Seog LEE
- Web page: https://patentgrep.com/patent/US20160253591A1

## CPC

- G06F 16/21: Design, administration or maintenance of databases
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods for managing performance of a database. A method includes selecting an object table predicted to be required to perform a table reorganization (Reorg) after the current timing, using performance-related information of database collected for a predetermined time period or more, generating a predictive model for predicting the timing at which there is a need to perform the reorganization (Reorg) of the object table, and predicting the timing at which there is a need to perform the reorganization of the object table, using the predictive mode.

## Claims

### Claim 1

A method for managing performance of database, the method comprising:
selecting an object table predicted to be required to perform a table reorganization (Reorg) after the current timing, using performance-related information of database collected for a predetermined time period or more;
generating a predictive model for predicting the timing at which there is a need to perform the reorganization (Reorg) of the object table, and
predicting the timing at which there is a need to perform the reorganization of the object table, using the predictive model.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
providing information on the predictedn timing to a user.

### Claim 3 (depends on 1)

The method of claim 1, wherein the selection of the object table comprises:
calculating a ratio of a data storage space to an allocation space ratio for each table included in the database, using the performance-related information of the collected database;
primarily selecting a table in which the ratio of the calculated data storage space is equal to or greater than a first preset storage space ratio, and the allocated space occupies the preset capacity or more, among the tables included in the database; and
selecting a table, in which the ratio of the data storage space is equal to or less than a second preset storage space ratio among the primarily selected table, as the object table

### Claim 4 (depends on 3)

The method of claim 3, wherein the generation of the predictive model comprises:
generating the predictive model, using information on the ratio of the data storage space of the object table, and a linear regression analysis.

### Claim 5 (depends on 4)

The method of claim 4, wherein the prediction of the timing comprises:
predicting the timing at which there is a need to perform the reorganization of the object table, only when the value of the coefficient of determination of the linear regression analysis is equal to or greater a preset value.

### Claim 6 (depends on 5)

The method of claim 5, wherein when the value of the coefficient of determination of the linear regression analysis is less than the preset value,
the generation of the predictive model comprises:
generating the predictive model, using the information on the ratio of the data storage space of the object table and at least one nonlinear regression analysis.

### Claim 7 (depends on 1)

The method of claim 1, wherein the prediction of the timing comprises:
calculating the timing corresponding to a preset table reorganization necessary criteria, using the predictive model; and
predicting the calculated timing as timing at which there is no need to perform the reorganization of object table.

### Claim 8

A method for managing performance of database, the method comprising:
selecting an object table space predicted to be required to perform a disc relocation after the current timing, using performance-related information of database collected for a predetermined time period or more;
generating a predictive model for predicting the timing at which there is a need to perform the disc relocation of the object table space, and
predicting the timing at which there is a need to perform the disc relocation of the object table space, using the predictive model.

### Claim 9 (depends on 8)

The method of claim 8, wherein the performance-related information of the collected database includes information on disc response speeds for each data file allocated to each table space, and
the selection of the object table space comprises:
calculating an average value of the disc response speeds for each table space, using the information on the disc response speeds for each data file; and
selecting a table space, in which the average value of the calculated disc response speeds is equal to or less than a first preset response speed and is equal to or greater than a second preset response speed, among the table spaces included in the database, as the managed object.

### Claim 10 (depends on 9)

The method of claim 9, wherein the generation of the predictive model comprises:
generating the predictive model, using the calculated disc response speed and a linear regression analysis.

### Claim 11

A method for managing performance of database, the method comprising:
selecting an object memory area predicted to be required to adjust a memory size after the current timing, using performance-related information of database collected for a predetermined time period or more;
generating a predictive model for predicting the timing at which there is a need to perform the memory size adjustment of the object memory area, and
predicting the timing at which there is a need to perform the memory size adjustment of the object memory area, using the predictive model.

### Claim 12 (depends on 11)

The method of claim 11, wherein the selection of the object memory area comprises:
calculating an average memory hit ratio for each memory space, using the performance-related information of the collected database; and
selecting a memory space, in which the calculated average memory hit ratio is equal to or greater than a first preset hit ratio and is equal to or less than a second preset hit ratio, as the object memory space.

### Claim 13 (depends on 12)

The method of claim 12, wherein the generation of the predictive model comprises:
generating the predictive model, using the calculated average memory hit ratio and linear regression analysis.
