当前位置:网站首页>Sysbench Pressure Test Oracle (installation and use examples)
Sysbench Pressure Test Oracle (installation and use examples)
2022-06-29 02:20:00 【hbxztc】
sysbench Is a testing tool, mainly including the following ways of testing :
1、cpu performance
2、 disk io performance
3、 Scheduler performance
4、 Memory allocation and transmission speed
5、POSIX Thread performance
6、 Database performance (OLTP The benchmark ) Now? sysbench Main support MySQL,pgsql,oracle this 3 Species database , The default support MySQL, Want to support pgsql and oracle You need to specify parameters at compile time
Introduction to the environment
| name | edition |
|---|---|
| sysbench Software version | sysbench 0.5 |
| operating system | rhel 6.5 |
| Oracle | 11.2.0.4 |
install
1. Install dependency packages
2. Configure environment variables , Use practical ORACLE_HOME Catalog
3. decompression sysbench Software
4. function autogen.sh, Generate configure Catalog
5. Compilation parameter configuration , add –with-oracle
6. Compile and install , Be careful to bring... Here oracle One of the so
7. Set up sysbench To path environment variable
8. Verify that the installation was successful 
9.lua The file in sysbench Unzip the directory sysbench/tests/db
Test use
1. Create a test user
2. Prepare the data ,lua The file needs to specify an absolute path

If you make a mistake Unknown database driver: oracle, It can be downloaded from https://github.com/osdba/sysbench_lua download lua file , After decompressing , The inside lua Replace all files with /usr/local/sysbench/share/sysbench/ in , Just do it again 
3. Run test data


4. Clean up the test data

边栏推荐
- Digital IC design, FPGA design written examination questions, answers and analysis of autumn move (1) 2022 Ziguang zhanrui (Part 1)
- B1009 irony
- Fundamentals of scala (3): operators and process control
- Blog publishing test 2
- Why install an SSL certificate on a web site?
- 110. 简易聊天室13:聊天室服务端
- 基于 RISC-V SoC 的可配置 FFT 系统设计(1)引言
- QT basics tutorial: qstringlist
- Google Borg paper
- 【Redis】Key的层级结构
猜你喜欢

What is the Valentine's Day gift given by the operator to the product?

Differences between web testing and app testing

Live broadcast preview | can SQL also play industrial machine learning? Mlops meetup V3 takes you to the bottom!

chrome浏览器关闭更新弹窗

Interviewer: with the for loop, why do you need foreach??

2022.02.15

HBuilder左侧工具栏不见了

Oculusrifts and unity UI interaction (1) - Overview

Koa 快速入门

OpenResty 使用介绍
随机推荐
哪个证券公司最大最安全 哪家券商服务好
11 go Foundation: Interface
Is there any risk in opening an account for Dongfang fortune stock? Is it safe for Dongfang fortune to open an account
Chrome browser close update Popup
How to become a senior digital IC Design Engineer (1-1) Verilog coding Grammar: Introduction
Configurable FFT system design based on risc-v SOC (1) Introduction
How to use project Gantt chart to make project report
Learning Tai Chi Maker - mqtt Chapter II (IX) test of this chapter
How to become a senior digital IC Design Engineer (4-2) script: file read / write operation realized by Verilog HDL code
Trigonometric function calculation
[redis] key hierarchy
Wechat campaign auto like
Day10 enumeration class and annotation
高并发的理解与设计方案
Crawler exercise (IV) -- IP address problem
Is the ETF fund reliable and safe
Com3529 test analysis
【Redis】初识 Redis
Eliminate the hover effect when the button is disabled
HashSet storing objects and how to not store the same objects