Method and device for detecting database blockage

A database and data technology, applied in the field of ORACLE database, can solve problems such as low detection efficiency, prolonged database failure time, and inability to reflect database status in time, and achieve the effect of improving detection efficiency

Inactive Publication Date: 2012-07-04
CHINA MOBILE GROUP ZHEJIANG
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] It can be seen from the above that the existing methods for detecting database HANG, for the first detection method, since database maintenance personnel or developers are required to monitor and report to the DBA, and then the DBA processes according to the relevant information reported, and in the reporting process , the database is already in the HANG state, such as stopping responding or responding extremely slowly. Therefore, a large area of ​​application business is affected, and the database HANG problem cannot be effectively and quickly detected, and the detection efficiency is low.
For the second method of detection by manually calling the operating system command, if the database is already in the HANG state before accessing or logging in to the database, the monitoring program connected to the database may already be in the HANG state, and all database-related data information cannot be accessed. Normal collection and transmission make it impossible for DBA to access or log in to the database to check the relevant database dynamic performance parameters. Moreover, when the database is in the HANG state, the relevant data information stored in it will not be accessible, so that the DBA cannot obtain relevant data information in time. Therefore, timely analysis and processing cannot be performed according to relevant data information, and at the same time, the database failure time is prolonged, which seriously affects the front-end application business, and the database HANG problem cannot be effectively and quickly detected, and the detection efficiency is low; moreover, due to the large number of databases , if the manual detection method is used for all databases, the workload is very large, and the current state of the database cannot be reflected in time
In addition, the existing methods for detecting database HANG are passive, and it is possible to obtain database-related information only through human operations

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
  • Method and device for detecting database blockage
  • Method and device for detecting database blockage
  • Method and device for detecting database blockage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0073] In the prior art, whether it is detection method 1 or detection method 2, it is necessary to use manual methods to access the database through real-time monitoring, perception or calling operating system commands, and make judgments based on relevant detection data information obtained through perception or access, so that detection The efficiency is low, and the information that the database is in the HANG state cannot be obtained in time, so that the database cannot be maintained in time. In the embodiment of the present invention, by setting the sampling period, the structured query language (SQL, Structured Query Language) is used to collect and access data information from the database, and the collected data information is for...

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 invention discloses a method and a device for detecting database blockage. The method includes the steps: receiving database detection commands, reading stored current data acquired from databases according to a preset time period, and acquiring detection and analysis results and detected database response time information from the read current data; determining classified databases of the detection and acquisition results according to pre-stored classified database information, inquiring pre-stored classified database response time information and acquiring the corresponding database response time information of the classified databases; and determining the database blockage if the detected database response time exceeds acquired database response time by means of inquiry. By the aid of the method and the device, the detection efficiency of the databases at the HANG state can be improved.

Description

technical field [0001] The invention relates to ORACLE database (DB, DataBase) technology, in particular to a method and device for detecting database blockage (HANG). Background technique [0002] The current database, whether it is used for data warehouse or operational data storage, contains a wealth of massive data object information. Therefore, maintaining and ensuring database performance, that is, database business processing capabilities, is a huge challenge for timely finding and displaying the information users need. When the performance of the database is degraded and cannot meet the requirements of the application business processing capacity, it will cause the application business service to be blocked, making the user obviously perceive that the application business processing is slow and the processing time is long, which seriously affects the user experience. In the following description, the database This phenomenon is called database HANG. [0003] There a...

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
Inventor 王晓征肖爱元李杰毅
Owner CHINA MOBILE GROUP ZHEJIANG
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products