Tags: style blog http color io os using AR forMachine Hardware Environment:Cpu:intel (R) Xeon (r) CPU e3-1230 v3 @ 3.30GHz 4 Coremem:32gSsd:intel Ssdsc2bp480g4SATA hdd:2*500g LVMInstallation of Sysbench 0.5:LP: ~sysbench-developers/sysbench/0.5 sysbench#cd sysbench/#. /configure--prefix=/usr/local/sysbench0. 5 # Make Make Install /usr/local/src directory #cp -DPRF sysbench/usr/local/src/Note here that the Sysbench 0.5--help option does not display the help information for
path is placed under the/usr/local/mysql, so here to add the appropriate options command:
./configure--prefix=/usr/local/mysql--with-mysql=/usr/local/mysql--with-mysql-includes=/usr/local/mysql/ include/mysql/--with-mysql-libs=/usr/local/mysql/lib/mysql/
Note: After repeated testing here at compile time to write the path to the last Include/mysql,lib/mysql
--with-mysql-includes=/usr/local/mysql/include/mysql/--with-mysql-libs=/usr/local/mysql/lib/mysql/
Because a lot of information on the i
| off]: whether to display more debugging information. The default value is off. -- Validate = [on | off] perform a verification check if possible. The default value is off. Test Project: fileio-File I/O testcpu-CPU performance testmemory-Memory functions speed testthreads-Threads subsystem performance testmutex-Mutex performance test (Mutex performance test) oltp-OLTP test (
Online Transaction Proces
the database. The previous chapters have discussed all relevant theories of database model adjustment, but we should actually associate things with each other. The following sections describe all theories that have been instilled so far and explain the reasons and usage of these theories first.Different types of database models should be adjusted in different ways. Generally, you can adjust the database model according to the application requirements of the dependent database. This is due to th
innodb_write_io_threads = 4 innodb_io_capacity = 4000 innodb_purge_threads=1 innodb_adaptive_hash_index=0# monitoring innodb_monitor_enable = '%' performance_schema=OFF
If you need it, the binary version of Linux Sysbench is here:
Sysbench-0.4.13-lux86
Sysbench-0.4.8-lux86
Run the Sysbench command to run the Point-Selects test using UNIX socket as follows (start eight processes in parallel ):
LD_PRELOAD=/usr/lib64/libjemalloc.so /BMK/sysbench-0.4.8 --num-threads=$1 --test=
= 1Innodb_stats_persistent = 1Innodb_spin_wait_delay = 6/96
# Perf specialInnodb_adaptive_flushing = 1Innodb_flush_neighbors = 0Innodb_read_io_threads = 4Innodb_write_io_threads = 4Innodb_io_capacity = 4000Innodb_purge_threads = 1Innodb_adaptive_hash_index = 0
# MonitoringInnodb_monitor_enable = '%'Performance_schema = OFF
If you need it, the binary version of Linux Sysbench is here:
Sysbench-0.4.13-lux86
Sysbench-0.4.8-lux86
Run the Sysbench command to run the Point-Selects test using U
General Purpose = Take account of both OLTP and OLAPTransaction processing =OLTPData Warehouse =olapCustom DATABASE = Custom
Gold dividing line (deep analysis) *******************************
Data processing can be roughly divided into two main categories: online transaction processing OLTP (on-line transaction processing), online analytical processing OLAP (On-line Analytical Processing).
Sysbench is a modular, cross-platform, multi-thread benchmark testing tool used to evaluate the database load of different system parameters. For details about this project, see: http://sysbench.sourceforge.net.
It mainly includes the following testing methods: 1. CPU Performance2. Disk I/O performance3. SchedulingProgramPerformance4. Memory Allocation and transmission speed5. POSIX thread Performance6. database performance (OLTP benchmark test)Curr
binary version of the Linux Sysbench is here:
Sysbench-0.4.13-lux86
Sysbench-0.4.8-lux86
The Sysbench command to run the point-selects test using a UNIX socket is as follows (8 processes are started in parallel):
Copy Code code as follows:
ld_preload=/usr/lib64/libjemalloc.so/bmk/sysbench-0.4.8--num-threads=$1--TEST=OLTP--oltp-table-size=10000000 \
--
Oracle compression technology includes basic table compression, OLTP table compression, and index compression) and hybrid column compression (hybrid columnar compression (HCC )).
Basic compression was launched from 9i and is the default compression method of oracle. OLTP compression is launched at the beginning of 11g and supports data compression for all types of DML operations. Compression can save disk s
Sysbench is a modular, cross-platform, multithreaded benchmarking tool that is used to assess the load of databases under various system parameters. For more information on this project, please see: http://sysbench.sourceforge.net.It mainly includes the following kinds of tests:1, CPU performance2. Disk IO Performance3. Performance of Dispatcher Program4, memory allocation and transmission speed5, POSIX threading performance6. Database performance (OLTP
mysql-server yum MySQL dependency packI'll enter y below.5. Connect MySQL remotely on a cloud host# mysql-h y.y.y.y-u with user name-p password6. Successful connection will occurQuit MySQLInput #quit7.yum installation Sysbench, very convenient# yum Install-y sysbenchThe installation was successfully entered #sysbench will show the version my version is 1.0.68. Test the cloud Database with Sysbench MySQL (OLTP test)The 1.0.6 version dropped the--test=
second or per transaction, unit: Block) Physical writesUser cballs: 0.96 25.00 (calls per second or per transaction user) User cballsParses: 0.65 17.00 (number of resolutions per second or per transaction, including soft, soft, and hard parsing) parse count (hard)Hard parses: 0.04 1.00 (per second or per transaction and number of hard parsing records) parse count (Hard)Sorts: 2.38 62.00 (the number of sorting times per second or per transaction) sorts (memory), sorts (disk)Logons: 0.00 0.00 (lo
warehouses for 1,3,4,7,10 concurrent 50,000-transaction tests.
This section of the installation log can refer to: installation log
After you get the test data, you need to run the following script:
Sqlplus orabm/orabm@Sqlplus orabm/orabm@Sqlplus orabm/orabm@
Log reference: Windows log
The command line executes the following ways:
orastress! –s sess-iterations-list–t transacts-per-sess–c tns-alias-list–m mode [-S batchsize]
Here you need the following parameters:
-s Specifies the number of
may includethrough Tcp/http/soap send data to a network system or receive data from a network-based system.Leverage local platform resources, such as file systems, networks, or GPUs.Build real-time integration between one or more systems by using a common data format, such as Json,xml or YAML.Generate data or files by communicating with external applications.Of course, there are few potential drawbacks.If you use Python requires Internet access, so there is a risk that data that must be kept se
the way to insert records into the MySQL system library4. Ability to create compressed files5. Display progress (estimated value)6, Reload (Restore) The backup file, the first table after the insertion of data finally indexed, reduce the index maintenance overhead, speed up the restore speed. To test the performance of the Mysqlpump, a small test was done on its own virtual machine,To test the virtual machine environment:Host:Cpu:intel (R) core (TM) i5-6400 CPU @ 2.70GHz 4 CoreMemory: 1GDisk:SC
Database performance (OLTP benchmark)
Currently, sysbench mainly supports Mysql, Drizzle, PgSQL, Oracle, and other databases.1. Download The sysbench source code package and mysql database1. Currently, the sysbench code is hosted on launchpad. The project address is https://github.com/akopytov/sysbench. download the following formula:2. MySQL Official Website: http://dev.mysql.com/downloads/mysql/. download the following formula:Ii. Compilation
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.