当前位置:网站首页>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

边栏推荐
- Secondary encapsulation of storage (sessionstorage/localstorage) using TS
- SystemVerilog structure (I)
- 如何成为一名高级数字 IC 设计工程师(6-7)数字 IC 验证篇:DEBUG 技巧
- OpenResty 使用介绍
- The left toolbar of hbuilder is missing
- The 10 most commonly used gadgets for waterfall project management can be built and used freely
- Who do you want to know when opening a stock account? Is it safe to open an account online now?
- 扁平结构转换为树结构
- [understanding of opportunity -33]: seeing is not necessarily true. Most of the time, "seeing is false"
- How to become a senior digital IC Design Engineer (6-7) digital IC Verification: debug skills
猜你喜欢

Use code binding DataGridView control to display tables in program interface

【Redis】Key的层级结构

chrome浏览器关闭更新弹窗
![[redis] hash type](/img/8b/2585908318f5fe88b455323d3f392e.png)
[redis] hash type

Koa 快速入門

Crawler exercise (IV) -- IP address problem

【Redis】初识 Redis
![[MySQL practice of high concurrency, high performance and high availability of massive data -9] - transaction concurrency control solutions lbcc and mvcc](/img/62/77c2274db4f92ad1d88901e149251c.jpg)
[MySQL practice of high concurrency, high performance and high availability of massive data -9] - transaction concurrency control solutions lbcc and mvcc

“内窥镜第一股”二闯IPO,去年亏损5个亿,核心产品商业化仍存疑 | IPO速递

SystemVerilog structure (I)
随机推荐
String output
Query any field of any table in JPA to the util method of entity class dto
To apply for a test engineer after years, the resume with high scores should be written like this
Is it safe to contact the account manager online to open an account for stock speculation?
三角函数计算
字符串替换
Google Borg论文
Utiliser kubernets Resource Lock pour compléter son application ha
字符串分段组合
Differences between web testing and app testing
字符串长度
Would like to ask how to choose a securities firm? Is it safe to open an account online now?
table通过伪类实现 另类自适应
HBuilder左侧工具栏不见了
Cross border information station
字符串属性练习
Koa 快速入门
Trigonometric function calculation
How to use project Gantt chart to make project report
Examen final de troisième année