Operating and maintaining method and system of database in testing environment

A test environment and database technology, applied in the direction of electrical digital data processing, special data processing applications, error detection/correction, etc., can solve problems such as high communication costs, time-consuming, difficult number of machines, etc., to save manpower and material resources , Shorten the test cycle and speed up the test progress

Active Publication Date: 2014-07-02
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. The testers of each Internet product need to manually deploy the database on the machine, which often makes only one test case deployed on a machine. If the number of visits to the test case is very small, the utilization rate of the machine will be greatly reduced
[0005] 2. When testers build the database in the test environment, if they are not proficient in operation or the topology of the database cluster is complex, they will spend a lot of time; when the database is abnormal, if the tester is not very familiar with database technology, they need to seek help from database management Therefore, the cost of communication is high. If online data is used as test dat

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
  • Operating and maintaining method and system of database in testing environment
  • Operating and maintaining method and system of database in testing environment
  • Operating and maintaining method and system of database in testing environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0077] The basic idea of ​​the present invention is: the interactive unit saves the application information of the database submitted by the user to the storage unit; the machine allocation unit selects a machine in the machine resource pool according to the application information, and sends the host name and port number of the selected machine to the database Construction unit; the database construction unit sends the database installation package, application information and installation command to the corresponding machine according to the host name and port number of the selected machine, the machine runs the database installation package, and installs the database according to the application information; the data synchronization unit sends the online The actual data is synchronized to the database built on the machine.

[0078] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detai...

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 provides an operating and maintaining method and system of a database in the testing environment. The method comprises the steps that the application information, submitted by a user, of the database is stored into a storage unit through an interaction unit; a machine is selected from a machine resource pool through a machine allocating unit according to the application information, and the host name and the interface number of the selected machine are sent to a database setting unit; a database installation package, the application information and an installation order are sent to a corresponding machine through the database setting unit according to the host name and the interface number of the selected machine, the database installation package operates through the corresponding machine, and the database is installed according to the application information; on-line actual data are synchronized to the database set on the machine through a data synchronization unit. By means of the technical scheme, the deployment of the database in the testing environment can be efficiently and automatically carried out.

Description

【Technical field】 [0001] The invention relates to a test technology for Internet applications, in particular to a database operation and maintenance method and system in a test environment. 【Background technique】 [0002] Current Internet products use databases as persistent data storage devices. When testing Internet products, testers not only need to deploy the code of the test case, but also need to deploy the database in the test environment; when maintaining the test environment, they also need to The database needs to be operated and maintained at the same time. The operation and maintenance of the database in the test environment mainly includes: selecting a suitable machine, building a database on the selected machine, preparing test data in the database, collecting test results from the database, and dealing with database problems. [0003] At present, in the testing of Internet products, the operation and maintenance method of the database in the test environment ...

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
CPCG06F11/3672
Inventor 余邵在丁超陶仕敏
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
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