Unlock instant, AI-driven research and patent intelligence for your innovation.

Database capacity control method and database capacity control device

A capacity control, database technology, applied in the field of database systems, can solve the problem of client sending call request and so on

Inactive Publication Date: 2015-02-04
LETV CLOUD COMPUTING CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a database capacity control method and device. By detecting the statistical characteristic information of the database corresponding to the database capacity control device, it is determined whether to prohibit the application from calling the data in the database, which solves the problem that once a loophole occurs in the server, the client still remains The problem of frequently sending call requests to the server

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Database capacity control method and database capacity control device
  • Database capacity control method and database capacity control device
  • Database capacity control method and database capacity control device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] Embodiments of the present invention provide a database capacity control method, such as figure 1 shown, including:

[0049] 101. The database capacity control device determines statistical characteristic information of a database.

[0050] Among them, the statistical feature information in this embodiment includes the number of times the application reads and writes to the database within a specific time period, the average disk space usage rate of the database within a specific time period, or the number of times the application requests to establish a connection with the database within a specific time period. At least one of the number of requests.

[0051] The embodiment of the present invention provides a database capacity control method, by detecting the statistical feature information of the database corresponding to the database capacity control device, determining whether the statistical feature information meets the preset conditions, and then deciding wheth...

Embodiment 2

[0065] Embodiments of the present invention provide a database capacity control method, such as figure 2 shown, including:

[0066] 201. The database capacity control device generates a statistical feature information table in response to a monitoring instruction.

[0067] Wherein, the statistical feature information table is used to count at least one of the number of reads and writes to the database by each application, the disk space usage rate of the database, and the number of connections between each application and the database within a preset time period.

[0068] Optionally, as shown in Table 1, in order to facilitate understanding of the statistical feature information table, we give a possible form.

[0069] Table 1

[0070]

[0071] Wherein, the first threshold value, the second threshold value and the third threshold value in Table 1 are empirical values ​​preset by those skilled in the art according to corresponding technical means.

[0072] 202. The datab...

Embodiment 3

[0092] Embodiments of the present invention provide a database capacity control device, such as image 3 shown, including:

[0093] The statistical unit 01 is used to determine the statistical feature information of the database; the statistical feature information includes the number of reads and writes to the database by the application within a certain period of time, the average value of the disk space usage of the database within a certain period of time, or the average value of the disk space used by the application within a certain period of time At least one of the number of requests to establish a connection with the database;

[0094] The processing unit 02 is configured to prevent the application's request for the database from being sent to the database if the statistical characteristic information satisfies a preset condition.

[0095] Further, as Figure 4 As shown, the device also includes:

[0096] The judging unit 03 is used for when the statistical feature...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a database capacity control method and a database capacity control device, and relates to the technical field of a database system. Whether the calling of data in a database by an application is forbidden or not is determined by detecting the statistical feature information of the database corresponding to the database capacity control device, so that the problem that a client still frequently sends calling requests to a server when vulnerabilities occurs in the server is solved. According to the scheme, the method comprises the following steps that: the statistical feature information of the database is determined, wherein the statistical feature information includes at least one piece of information from the number of database reading and writing times in a specific time period and the disk space use ratio average value of the database in the specific time period or the number of requesting times for requests of establishing connection with the database in the specific time period; and if the statistical feature information meets preset conditions, the request of the application to the database is prevented from being sent to the database.

Description

technical field [0001] The invention relates to the technical field of database systems, in particular to a database capacity control method and device. Background technique [0002] At present, database systems are widely used in open platform applications. How to effectively utilize server and storage resources, effectively reduce resource overhead and save production costs while ensuring database performance has become a major issue in today's information technology. question. [0003] In the prior art, when the computer system or program is running, there may be some undiscovered defects or problems, namely bugs (vulnerabilities). In the interactive system based on the client / server network structure, once there are bugs in the server-side database , but the client cannot know it, which leads to the client frequently sending call requests to the database on the server side, which can easily cause the database to crash due to load balancing imbalance and the entire serve...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/958
Inventor 周秉政张文明徐长华
Owner LETV CLOUD COMPUTING CO LTD