Method for testing performance of database on basis of business model

A business model and database technology, applied in the field of database testing, can solve problems such as large difference in results, insufficient accuracy of results, and low reliability, and achieve high equipment utilization, saving test resources, and rational use of resources.

Active Publication Date: 2014-05-21
ADVANCED NEW TECH CO LTD
View PDF4 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

To understand the performance of the database, we can only complete it through some testing software.
[0003] At present, there are two problems in the software of database performance testing. One is that it cannot be customized according to specific business.
Second, the performance of comprehensive and complex test data cannot be
tpcc simulates the bank user transfer model, and our application system model is quite different from the tpcc user transfer model. If we use tpcc to test our database, due to the large difference in the model itself, the accuracy of the test results is not enough. Reliability is not high
The results of sysbench itself are simpler, and only simple sql can be configured for testing. The tables and fields of the database cannot be simulated according to the real business, and the relationship between tables cannot be expressed, and the test results vary greatly.
[0005] At present, the way to truly simulate the business is to run the real application online, through the pressure of the real application test data, and to test completely from the business point of view, it needs to use a large number of application servers for testing, and the ratio of online database to application server is 1: About 50, if you want to simulate the real business to test the bottleneck of the specific database, you need to use a lot of test resources, and the flexibility is also limited, and you cannot test the bottleneck of the final database

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 testing performance of database on basis of business model
  • Method for testing performance of database on basis of business model
  • Method for testing performance of database on basis of business model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solution and advantages of the application clearer, the technical solution of the application will be clearly and completely described below in conjunction with the specific embodiments of the application and the corresponding drawings. Obviously, the described embodiments are only a part of the application Examples, not all examples. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0027] This application establishes a business model based on the actual business, and achieves the purpose of testing the performance of the database more comprehensively by simulating real user operations and restoring the actual business process. Different business models can be customized according to different businesses, saving more resources, and the configuration and operation are highly ve...

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 a method for testing performance of a database on the basis of a business model. The method comprises the following steps of establishing a business model based on the business; configuring test information corresponding to the business model according to the business model, and storing the well-configured test information into a file to form a test file; testing the performance of a database which is associated with the target business according to the business model and the configuration information acquired by reading the test file; adopting a result of the performance of the database as a test result to be outputted.

Description

technical field [0001] The present application relates to database testing, in particular to a method for database performance testing based on business models. Background technique [0002] With the continuous development of data services, database performance has largely become a reflection of enterprise efficiency. To understand the performance of the database, we can only complete it through some testing software. [0003] At present, there are two problems in the software of database performance testing. One is that it cannot be customized according to specific business. The second is that the performance of comprehensive and complex test data cannot be tested. One of the existing technologies is software that only has a fixed transaction model for testing. It can test some specific business functions, such as order delivery, but some special businesses cannot be tested well. And there is another one that can only be tested by simple database query, addition, etc., 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/30G06F11/36
CPCG06F11/3684
Inventor 刘谋俊楼方鑫
Owner ADVANCED NEW TECH 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