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

Method and device for detecting health status of database nodes

A health status and database technology, applied in the database field, can solve problems such as insufficiency, business impact, and rapid discovery of performance problems, and achieve the effect of fast detection results and poor sensitivity of abnormal detection.

Active Publication Date: 2016-05-25
CHINA MOBILE GROUP ZHEJIANG
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, the database is generally in the stop responding or extremely slow response or HANG state, causing a large area of ​​business to be affected, and it is impossible to effectively and quickly discover performance problems, and then take further processing measures
[0010] Therefore, the original technical points are only simple and one-sided information collection and simple performance judgment, which are obviously not enough for complex OLTP large-scale database systems that require quick response.
Except for some specific and obvious system error messages, the evaluation of the health status of other database nodes largely depends on the experience and judgment of the maintenance personnel, and cannot be implemented in a standardized manner.

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 health status of database nodes
  • Method and device for detecting health status of database nodes
  • Method and device for detecting health status of database nodes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0056] figure 1 The flow chart of the method for detecting the health status of the oracleRAC database node provided by Embodiment 1 of the present invention, such as figure 1 As shown, the specific steps are as follows:

[0057] Step 101: For any oracleRAC database node, in each sampling period, capture the active session status of the database node within the first time period recently, and calculate the abnormal waiting session ratio of the database node in the sampling period according to the active session status Compare.

[0058] Step 102: Determine whether the proportion of abnormally waiting sessions is greater than a preset first threshold, if so, perform step 103; otherwise, perform step 106.

[0059] Step 103: Determine whether the database node has the most serious waiting session in the sampling period, if yes, execute...

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 the health status of database nodes. Methods include: For any oracle? The RAC database node, in each sampling period, grabs the active session state of the database node in the first time period recently, and calculates the abnormal waiting session ratio of the database node in the sampling period according to the active session state; judges the abnormality Whether the proportion of waiting sessions is greater than the preset first threshold. If so, determine whether the database node has the most serious waiting session in the sampling period. A node that has been judged to be unhealthy for a predetermined number of sampling periods in succession, and if so, shut down and terminate the database node. The invention realizes the oracle? Automatic real-time detection of RAC database node health status.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a method and device for detecting the health status of database nodes. Background technique [0002] The introduction of the concept of Oracle Real Application Clusters (RAC, RealApplicationCluster) is to improve the high availability of the system, and achieve disaster recovery through cluster software and shared storage. Since each instance (instance) shares physical storage, but each has an independent memory structure, it is necessary to allocate some resources synchronously in real time. In some abnormal situations, it will cause poor node performance, and in severe cases, it will cause the database to hang (HANG). In the case of one of the nodes running out of performance and losing response, it will lead to the suspension of resource synchronization between nodes, affecting the normal operation of the entire database, and causing the business system to fail to provide s...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 王晓征肖爱元
Owner CHINA MOBILE GROUP ZHEJIANG