Method for quickly detecting impact caused by database modification to current service

An existing business and database technology, applied in the field of rapid detection of the impact of database changes on existing businesses, can solve problems such as inappropriate system changes, time-consuming, complex architecture, etc., and achieve the effect of avoiding a lot of time and labor costs

Inactive Publication Date: 2015-08-26
梁勐 +1
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the existing large-scale information system (BOSS system) includes at least multiple layers such as presentation layer, business logic layer, and data layer, and involves multiple development languages ​​and middleware, the architecture is very complex, so it is very difficult to design a good use case. Access statements related to database changes can only be accurately covered by designing a large number of test cases
[0004] The testing scheme of the existing technology is an end-to-end test from the periphery. It is necessary to build a test environment the same as the producti

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 for quickly detecting impact caused by database modification to current service
  • Method for quickly detecting impact caused by database modification to current service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0019] figure 1 It is a schematic diagram of the rapid detection system architecture affected by database changes in the present invention; figure 2 It is a schematic flow chart of the rapid detection of database change impact in the present invention.

[0020] See figure 1 and figure 2 , the rapid detection method of the impact of database changes on existing business provided by the present invention, comprising the following steps:

[0021] Step S1: Install the same operating system and database software as the production system in the test environment;

[0022] Step S2: Synchronize the metadata in the database of the production system to the database of the test environment, count the SQL information related to the change of the database table and synchronize it to the database of the test environment;

[0023] Step S3: Simulate the changes t...

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 present invention discloses a method for quickly detecting impacts caused by database modifications to the current services. The method comprises the following steps: a) installing in a test environment an operating system and database software that are the same as a production system; b) synchronizing metadata in the database of the production system to the database in the test environment, collecting statistics for SQL information more relevant to data sheet modifications and synchronizing the SQL information to the database in the test environment; c) simulating in the database in the test environment the modifications to be made in the database of the production system, and generating an execution plane after the modification; and d) comparing and analyzing performance changes in the test environment before and after the modification, and acquiring SQL statements whose access is affected. According to the method for quickly detecting impacts caused by database modifications to the current services provided by the present invention, a test environment that is the same as the production environment does not need to be set up, thereby preventing a large amount of time and huge human costs needed for synchronization of massive data, and accurately and quickly detecting impacts caused by the database modifications to the current services.

Description

technical field [0001] The invention relates to a database processing method, in particular to a method for quickly detecting the impact of database changes on existing services. Background technique [0002] During the operation and maintenance of large-scale information systems, the addition and modification of functions and the performance optimization of some modules are routine tasks, such as the mobile BOSS system, the launch of new services, and the change of phone bill plans. To complete these tasks, it may be necessary to change the table structure and index structure of the database, such as adding, modifying, and deleting fields and indexes in tables, which may cause poor execution efficiency of database access statements and affect the normal business functions of the system . In order to avoid this situation, it is necessary to perform a performance test on the change in the test environment before implementing the database change. The test verifies the stabili...

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
IPC IPC(8): G06F17/30
CPCG06F16/2358G06F16/27
Inventor 梁猛陈曦
Owner 梁勐
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