Yuliyas-Air:~ Valerii$ cd dbs/maria10.6
|
Yuliyas-Air:maria10.6 Valerii$ rm -rf data/
|
Yuliyas-Air:maria10.6 Valerii$ scripts/mysql_install_db --no-defaults
|
Installing MariaDB/MySQL system tables in './data' ...
|
2023-05-10 18:25:00 0 [Warning] InnoDB: innodb_open_files 300 should not be greater than the open_files_limit 256
|
|
OK
|
|
To start mariadbd at boot time you have to copy
|
support-files/mariadb.service to the right place for your system
|
|
|
Two all-privilege accounts were created.
|
One is root@localhost, it has no password, but you need to
|
be system 'root' user to connect. Use, for example, sudo mysql
|
The second is Valerii@localhost, it has no password either, but
|
you need to be the system 'Valerii' user to connect.
|
After connecting you can set the password, if you would need to be
|
able to connect as any of these users with a password and without sudo
|
|
See the MariaDB Knowledgebase at https://mariadb.com/kb
|
|
You can start the MariaDB daemon with:
|
cd '.' ; ./bin/mariadb-safe --datadir='./data'
|
|
You can test the MariaDB daemon with mysql-test-run.pl
|
cd './mysql-test' ; perl mariadb-test-run.pl
|
|
Please report any problems at https://mariadb.org/jira
|
|
The latest information about MariaDB is available at https://mariadb.org/.
|
|
Consider joining MariaDB's strong and vibrant community:
|
https://mariadb.org/get-involved/
|
|
Yuliyas-Air:maria10.6 Valerii$
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysqld_safe --no-defaults --innodb_flush_log_at_trx_commit=0 --innodb_buffer_pool_size=128M &
|
[1] 3387
|
Yuliyas-Air:maria10.6 Valerii$ 230510 18:25:23 mysqld_safe Logging to '/Users/Valerii/dbs/maria10.6/data/Yuliyas-Air.err'.
|
230510 18:25:23 mysqld_safe Starting mariadbd daemon with databases from /Users/Valerii/dbs/maria10.6/data
|
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'select version()'
|
+-----------------+
|
| version() |
|
+-----------------+
|
| 10.6.14-MariaDB |
|
+-----------------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'create database sbtest;'
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "History%"'
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 6 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ ~/git/sysbench/src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 prepare
|
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
|
|
FATAL: Cannot find benchmark 'oltp_read_write': no such built-in test, file or module
|
Yuliyas-Air:maria10.6 Valerii$ cd ~/git/sysbench
|
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 prepare
|
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
|
|
Initializing worker threads...
|
|
Creating table 'sbtest1'...Creating table 'sbtest3'...Creating table 'sbtest2'...Creating table 'sbtest4'...
|
|
|
|
Inserting 100000 records into 'sbtest3'
|
Inserting 100000 records into 'sbtest1'
|
Inserting 100000 records into 'sbtest2'
|
Inserting 100000 records into 'sbtest4'
|
Creating a secondary index on 'sbtest1'...
|
Creating a secondary index on 'sbtest2'...
|
Creating a secondary index on 'sbtest3'...
|
Creating a secondary index on 'sbtest4'...
|
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 run
|
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
|
|
Running the test with following options:
|
Number of threads: 4
|
Report intermediate results every 10 second(s)
|
Initializing random number generator from current time
|
|
|
Initializing worker threads...
|
|
Threads started!
|
|
[ 10s ] thds: 4 tps: 1130.75 qps: 22619.94 (r/w/o: 15834.83/4523.21/2261.90) lat (ms,95%): 5.00 err/s: 0.00 reconn/s: 0.00
|
[ 20s ] thds: 4 tps: 1058.67 qps: 21175.70 (r/w/o: 14822.75/4235.60/2117.35) lat (ms,95%): 5.67 err/s: 0.00 reconn/s: 0.00
|
[ 30s ] thds: 4 tps: 1129.88 qps: 22595.45 (r/w/o: 15816.96/4518.73/2259.76) lat (ms,95%): 4.41 err/s: 0.00 reconn/s: 0.00
|
[ 40s ] thds: 4 tps: 1032.51 qps: 20648.74 (r/w/o: 14454.07/4129.75/2064.92) lat (ms,95%): 5.67 err/s: 0.00 reconn/s: 0.00
|
[ 50s ] thds: 4 tps: 1024.65 qps: 20495.53 (r/w/o: 14347.52/4098.61/2049.40) lat (ms,95%): 5.47 err/s: 0.00 reconn/s: 0.00
|
[ 60s ] thds: 4 tps: 988.26 qps: 19764.99 (r/w/o: 13835.43/3953.04/1976.52) lat (ms,95%): 6.43 err/s: 0.00 reconn/s: 0.00
|
[ 70s ] thds: 4 tps: 1045.45 qps: 20908.07 (r/w/o: 14635.38/4181.79/2090.90) lat (ms,95%): 5.77 err/s: 0.00 reconn/s: 0.00
|
[ 80s ] thds: 4 tps: 1171.56 qps: 23432.09 (r/w/o: 16402.71/4686.26/2343.13) lat (ms,95%): 4.33 err/s: 0.00 reconn/s: 0.00
|
[ 90s ] thds: 4 tps: 939.60 qps: 18791.84 (r/w/o: 13154.26/3758.39/1879.19) lat (ms,95%): 6.91 err/s: 0.00 reconn/s: 0.00
|
SQL statistics:
|
queries performed:
|
read: 1500254
|
write: 428644
|
other: 214322
|
total: 2143220
|
transactions: 107161 (1071.58 per sec.)
|
queries: 2143220 (21431.70 per sec.)
|
ignored errors: 0 (0.00 per sec.)
|
reconnects: 0 (0.00 per sec.)
|
|
Throughput:
|
events/s (eps): 1071.5848
|
time elapsed: 100.0023s
|
total number of events: 107161
|
|
Latency (ms):
|
min: 1.81
|
avg: 3.73
|
max: 108.74
|
95th percentile: 5.28
|
sum: 399637.95
|
|
Threads fairness:
|
events (avg/stddev): 26790.2500/49.49
|
execution time (avg/stddev): 99.9095/0.00
|
|
Yuliyas-Air:sysbench Valerii$ cd -
|
/Users/Valerii/dbs/maria10.6
|
Yuliyas-Air:maria10.6 Valerii$ ls -l data/ibdata1
|
-rw-rw---- 1 Valerii staff 79691776 10 May 18:29 data/ibdata1
|
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
|
|
File::data/ibdata1
|
================PAGE TYPE SUMMARY==============
|
#PAGE_COUNT PAGE_TYPE
|
===============================================
|
136 Index page
|
3029 Undo log page
|
34 Inode page
|
0 Insert buffer free list page
|
1532 Freshly allocated page
|
1 Insert buffer bitmap
|
130 System page
|
1 Transaction system page
|
1 File Space Header
|
0 Extent descriptor page
|
0 BLOB page
|
0 Compressed BLOB page
|
0 Page compressed page
|
0 Page compressed encrypted page
|
0 Other type of page
|
|
===============================================
|
Additional information:
|
Undo page type: 3029
|
Undo page state: 3 active, 128 cached, 2602 to_purge, 0 prepared, 296 other
|
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
|
1 1 1 11 859
|
2 1 1 50 3173
|
3 1 1 20 1442
|
4 1 1 29 1246
|
5 1 1 11 364
|
11 1 1 0 0
|
12 1 1 0 0
|
13 1 1 0 0
|
14 1 1 0 0
|
15 1 1 0 0
|
23 21 21 73 15038
|
24 39 39 73 15038
|
25 12 12 73 15038
|
26 33 33 73 15038
|
27 8 8 831 10814
|
28 3 3 789 10257
|
29 5 5 960 12480
|
30 4 4 900 11706
|
-4294967296 1 1 0 0
|
|
index_id page_data_bytes_histgram(empty,...,oversized)
|
1 0 1 0 0 0 0 0 0 0 0 0 0
|
2 0 0 1 0 0 0 0 0 0 0 0 0
|
3 0 1 0 0 0 0 0 0 0 0 0 0
|
4 0 1 0 0 0 0 0 0 0 0 0 0
|
5 0 1 0 0 0 0 0 0 0 0 0 0
|
11 1 0 0 0 0 0 0 0 0 0 0 0
|
12 1 0 0 0 0 0 0 0 0 0 0 0
|
13 1 0 0 0 0 0 0 0 0 0 0 0
|
14 1 0 0 0 0 0 0 0 0 0 0 0
|
15 1 0 0 0 0 0 0 0 0 0 0 0
|
23 0 0 0 0 0 0 0 0 0 0 21 0
|
24 0 0 0 0 0 0 0 0 0 0 39 0
|
25 0 0 0 0 0 0 0 0 0 0 12 0
|
26 0 0 0 0 0 0 0 0 0 0 33 0
|
27 0 0 0 0 0 4 1 0 0 0 3 0
|
28 0 0 0 0 0 2 0 0 0 0 1 0
|
29 0 0 0 0 0 2 0 0 0 0 3 0
|
30 0 0 0 0 0 2 0 0 0 0 2 0
|
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 14841 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 0 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
|
|
File::data/ibdata1
|
================PAGE TYPE SUMMARY==============
|
#PAGE_COUNT PAGE_TYPE
|
===============================================
|
136 Index page
|
3029 Undo log page
|
34 Inode page
|
0 Insert buffer free list page
|
1532 Freshly allocated page
|
1 Insert buffer bitmap
|
130 System page
|
1 Transaction system page
|
1 File Space Header
|
0 Extent descriptor page
|
0 BLOB page
|
0 Compressed BLOB page
|
0 Page compressed page
|
0 Page compressed encrypted page
|
0 Other type of page
|
|
===============================================
|
Additional information:
|
Undo page type: 3029
|
Undo page state: 3 active, 128 cached, 2602 to_purge, 0 prepared, 296 other
|
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
|
1 1 1 11 859
|
2 1 1 50 3173
|
3 1 1 20 1442
|
4 1 1 29 1246
|
5 1 1 11 364
|
11 1 1 0 0
|
12 1 1 0 0
|
13 1 1 0 0
|
14 1 1 0 0
|
15 1 1 0 0
|
23 21 21 73 15038
|
24 39 39 73 15038
|
25 12 12 73 15038
|
26 33 33 73 15038
|
27 8 8 831 10814
|
28 3 3 789 10257
|
29 5 5 960 12480
|
30 4 4 900 11706
|
-4294967296 1 1 0 0
|
|
index_id page_data_bytes_histgram(empty,...,oversized)
|
1 0 1 0 0 0 0 0 0 0 0 0 0
|
2 0 0 1 0 0 0 0 0 0 0 0 0
|
3 0 1 0 0 0 0 0 0 0 0 0 0
|
4 0 1 0 0 0 0 0 0 0 0 0 0
|
5 0 1 0 0 0 0 0 0 0 0 0 0
|
11 1 0 0 0 0 0 0 0 0 0 0 0
|
12 1 0 0 0 0 0 0 0 0 0 0 0
|
13 1 0 0 0 0 0 0 0 0 0 0 0
|
14 1 0 0 0 0 0 0 0 0 0 0 0
|
15 1 0 0 0 0 0 0 0 0 0 0 0
|
23 0 0 0 0 0 0 0 0 0 0 21 0
|
24 0 0 0 0 0 0 0 0 0 0 39 0
|
25 0 0 0 0 0 0 0 0 0 0 12 0
|
26 0 0 0 0 0 0 0 0 0 0 33 0
|
27 0 0 0 0 0 4 1 0 0 0 3 0
|
28 0 0 0 0 0 2 0 0 0 0 1 0
|
29 0 0 0 0 0 2 0 0 0 0 3 0
|
30 0 0 0 0 0 2 0 0 0 0 2 0
|
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
|
Yuliyas-Air:maria10.6 Valerii$ cd -
|
/Users/Valerii/git/sysbench
|
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 cleanup
|
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
|
|
Dropping table 'sbtest1'...
|
Dropping table 'sbtest2'...
|
Dropping table 'sbtest3'...
|
Dropping table 'sbtest4'...
|
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 prepare
|
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
|
|
Initializing worker threads...
|
|
Creating table 'sbtest2'...Creating table 'sbtest1'...Creating table 'sbtest4'...Creating table 'sbtest3'...
|
|
|
|
Inserting 100000 records into 'sbtest1'
|
Inserting 100000 records into 'sbtest3'
|
Inserting 100000 records into 'sbtest2'
|
Inserting 100000 records into 'sbtest4'
|
Creating a secondary index on 'sbtest1'...
|
Creating a secondary index on 'sbtest2'...
|
Creating a secondary index on 'sbtest3'...
|
Creating a secondary index on 'sbtest4'...
|
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 run
|
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
|
|
Running the test with following options:
|
Number of threads: 4
|
Report intermediate results every 10 second(s)
|
Initializing random number generator from current time
|
|
|
Initializing worker threads...
|
|
Threads started!
|
|
[ 10s ] thds: 4 tps: 1122.63 qps: 22457.48 (r/w/o: 15721.31/4490.52/2245.66) lat (ms,95%): 4.82 err/s: 0.00 reconn/s: 0.00
|
[ 20s ] thds: 4 tps: 1046.27 qps: 20924.06 (r/w/o: 14646.42/4185.09/2092.55) lat (ms,95%): 5.47 err/s: 0.00 reconn/s: 0.00
|
[ 30s ] thds: 4 tps: 1058.16 qps: 21161.99 (r/w/o: 14813.03/4232.64/2116.32) lat (ms,95%): 5.28 err/s: 0.00 reconn/s: 0.00
|
[ 40s ] thds: 4 tps: 1039.24 qps: 20789.53 (r/w/o: 14552.88/4158.17/2078.48) lat (ms,95%): 5.47 err/s: 0.00 reconn/s: 0.00
|
[ 50s ] thds: 4 tps: 976.35 qps: 19524.75 (r/w/o: 13667.54/3904.51/1952.71) lat (ms,95%): 7.43 err/s: 0.00 reconn/s: 0.00
|
[ 60s ] thds: 4 tps: 999.26 qps: 19985.57 (r/w/o: 13990.12/3996.93/1998.52) lat (ms,95%): 5.99 err/s: 0.00 reconn/s: 0.00
|
[ 70s ] thds: 4 tps: 756.65 qps: 15133.11 (r/w/o: 10593.40/3026.40/1513.30) lat (ms,95%): 11.24 err/s: 0.00 reconn/s: 0.00
|
[ 80s ] thds: 4 tps: 1003.70 qps: 20071.70 (r/w/o: 14049.47/4014.82/2007.41) lat (ms,95%): 7.56 err/s: 0.00 reconn/s: 0.00
|
[ 90s ] thds: 4 tps: 853.51 qps: 17070.48 (r/w/o: 11949.42/3414.14/1706.92) lat (ms,95%): 9.22 err/s: 0.00 reconn/s: 0.00
|
[ 100s ] thds: 4 tps: 926.72 qps: 18534.87 (r/w/o: 12974.23/3707.29/1853.35) lat (ms,95%): 8.13 err/s: 0.00 reconn/s: 0.00
|
SQL statistics:
|
queries performed:
|
read: 1369662
|
write: 391332
|
other: 195666
|
total: 1956660
|
transactions: 97833 (978.28 per sec.)
|
queries: 1956660 (19565.69 per sec.)
|
ignored errors: 0 (0.00 per sec.)
|
reconnects: 0 (0.00 per sec.)
|
|
Throughput:
|
events/s (eps): 978.2843
|
time elapsed: 100.0047s
|
total number of events: 97833
|
|
Latency (ms):
|
min: 1.97
|
avg: 4.09
|
max: 165.87
|
95th percentile: 7.04
|
sum: 399666.97
|
|
Threads fairness:
|
events (avg/stddev): 24458.2500/69.78
|
execution time (avg/stddev): 99.9167/0.00
|
|
Yuliyas-Air:sysbench Valerii$ cd -
|
/Users/Valerii/dbs/maria10.6
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 9514 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 9514 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 9514 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ ls -l data/ibdata1
|
-rw-rw---- 1 Valerii staff 146800640 10 May 18:32 data/ibdata1
|
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
|
|
File::data/ibdata1
|
================PAGE TYPE SUMMARY==============
|
#PAGE_COUNT PAGE_TYPE
|
===============================================
|
132 Index page
|
6127 Undo log page
|
73 Inode page
|
0 Insert buffer free list page
|
2490 Freshly allocated page
|
3 Insert buffer bitmap
|
131 System page
|
1 Transaction system page
|
3 File Space Header
|
0 Extent descriptor page
|
0 BLOB page
|
0 Compressed BLOB page
|
0 Page compressed page
|
0 Page compressed encrypted page
|
0 Other type of page
|
|
===============================================
|
Additional information:
|
Undo page type: 6127
|
Undo page state: 7 active, 121 cached, 5687 to_purge, 0 prepared, 312 other
|
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
|
1 1 1 11 859
|
2 1 1 50 3173
|
3 1 1 20 1442
|
4 1 1 29 1246
|
5 1 1 11 364
|
11 1 1 0 0
|
12 1 1 0 0
|
13 1 1 0 0
|
14 1 1 0 0
|
15 1 1 0 0
|
31 23 23 73 15038
|
32 34 34 73 15038
|
33 15 15 73 15038
|
34 21 21 73 15038
|
35 1 1 620 8060
|
36 7 7 698 9083
|
37 11 11 789 10257
|
38 1 1 1191 15483
|
-4294967296 1 1 0 0
|
|
index_id page_data_bytes_histgram(empty,...,oversized)
|
1 0 1 0 0 0 0 0 0 0 0 0 0
|
2 0 0 1 0 0 0 0 0 0 0 0 0
|
3 0 1 0 0 0 0 0 0 0 0 0 0
|
4 0 1 0 0 0 0 0 0 0 0 0 0
|
5 0 1 0 0 0 0 0 0 0 0 0 0
|
11 1 0 0 0 0 0 0 0 0 0 0 0
|
12 1 0 0 0 0 0 0 0 0 0 0 0
|
13 1 0 0 0 0 0 0 0 0 0 0 0
|
14 1 0 0 0 0 0 0 0 0 0 0 0
|
15 1 0 0 0 0 0 0 0 0 0 0 0
|
31 0 0 0 0 0 0 0 0 0 0 23 0
|
32 0 0 0 0 0 0 0 0 0 0 34 0
|
33 0 0 0 0 0 0 0 0 0 0 15 0
|
34 0 0 0 0 0 0 0 0 0 0 21 0
|
35 0 0 0 0 0 1 0 0 0 0 0 0
|
36 0 0 0 0 0 5 1 0 0 0 1 0
|
37 0 0 0 0 0 7 0 1 0 0 3 0
|
38 0 0 0 0 0 0 0 0 0 0 1 0
|
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 9514 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 0 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
|
|
File::data/ibdata1
|
================PAGE TYPE SUMMARY==============
|
#PAGE_COUNT PAGE_TYPE
|
===============================================
|
132 Index page
|
6127 Undo log page
|
73 Inode page
|
0 Insert buffer free list page
|
2490 Freshly allocated page
|
3 Insert buffer bitmap
|
131 System page
|
1 Transaction system page
|
3 File Space Header
|
0 Extent descriptor page
|
0 BLOB page
|
0 Compressed BLOB page
|
0 Page compressed page
|
0 Page compressed encrypted page
|
0 Other type of page
|
|
===============================================
|
Additional information:
|
Undo page type: 6127
|
Undo page state: 7 active, 121 cached, 5687 to_purge, 0 prepared, 312 other
|
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
|
1 1 1 11 859
|
2 1 1 50 3173
|
3 1 1 20 1442
|
4 1 1 29 1246
|
5 1 1 11 364
|
11 1 1 0 0
|
12 1 1 0 0
|
13 1 1 0 0
|
14 1 1 0 0
|
15 1 1 0 0
|
31 23 23 73 15038
|
32 34 34 73 15038
|
33 15 15 73 15038
|
34 21 21 73 15038
|
35 1 1 620 8060
|
36 7 7 698 9083
|
37 11 11 789 10257
|
38 1 1 1191 15483
|
-4294967296 1 1 0 0
|
|
index_id page_data_bytes_histgram(empty,...,oversized)
|
1 0 1 0 0 0 0 0 0 0 0 0 0
|
2 0 0 1 0 0 0 0 0 0 0 0 0
|
3 0 1 0 0 0 0 0 0 0 0 0 0
|
4 0 1 0 0 0 0 0 0 0 0 0 0
|
5 0 1 0 0 0 0 0 0 0 0 0 0
|
11 1 0 0 0 0 0 0 0 0 0 0 0
|
12 1 0 0 0 0 0 0 0 0 0 0 0
|
13 1 0 0 0 0 0 0 0 0 0 0 0
|
14 1 0 0 0 0 0 0 0 0 0 0 0
|
15 1 0 0 0 0 0 0 0 0 0 0 0
|
31 0 0 0 0 0 0 0 0 0 0 23 0
|
32 0 0 0 0 0 0 0 0 0 0 34 0
|
33 0 0 0 0 0 0 0 0 0 0 15 0
|
34 0 0 0 0 0 0 0 0 0 0 21 0
|
35 0 0 0 0 0 1 0 0 0 0 0 0
|
36 0 0 0 0 0 5 1 0 0 0 1 0
|
37 0 0 0 0 0 7 0 1 0 0 3 0
|
38 0 0 0 0 0 0 0 0 0 0 1 0
|
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
|
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
|
|
File::data/ibdata1
|
================PAGE TYPE SUMMARY==============
|
#PAGE_COUNT PAGE_TYPE
|
===============================================
|
132 Index page
|
6127 Undo log page
|
73 Inode page
|
0 Insert buffer free list page
|
2490 Freshly allocated page
|
3 Insert buffer bitmap
|
131 System page
|
1 Transaction system page
|
3 File Space Header
|
0 Extent descriptor page
|
0 BLOB page
|
0 Compressed BLOB page
|
0 Page compressed page
|
0 Page compressed encrypted page
|
0 Other type of page
|
|
===============================================
|
Additional information:
|
Undo page type: 6127
|
Undo page state: 7 active, 121 cached, 5687 to_purge, 0 prepared, 312 other
|
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
|
1 1 1 11 859
|
2 1 1 50 3173
|
3 1 1 20 1442
|
4 1 1 29 1246
|
5 1 1 11 364
|
11 1 1 0 0
|
12 1 1 0 0
|
13 1 1 0 0
|
14 1 1 0 0
|
15 1 1 0 0
|
31 23 23 73 15038
|
32 34 34 73 15038
|
33 15 15 73 15038
|
34 21 21 73 15038
|
35 1 1 620 8060
|
36 7 7 698 9083
|
37 11 11 789 10257
|
38 1 1 1191 15483
|
-4294967296 1 1 0 0
|
|
index_id page_data_bytes_histgram(empty,...,oversized)
|
1 0 1 0 0 0 0 0 0 0 0 0 0
|
2 0 0 1 0 0 0 0 0 0 0 0 0
|
3 0 1 0 0 0 0 0 0 0 0 0 0
|
4 0 1 0 0 0 0 0 0 0 0 0 0
|
5 0 1 0 0 0 0 0 0 0 0 0 0
|
11 1 0 0 0 0 0 0 0 0 0 0 0
|
12 1 0 0 0 0 0 0 0 0 0 0 0
|
13 1 0 0 0 0 0 0 0 0 0 0 0
|
14 1 0 0 0 0 0 0 0 0 0 0 0
|
15 1 0 0 0 0 0 0 0 0 0 0 0
|
31 0 0 0 0 0 0 0 0 0 0 23 0
|
32 0 0 0 0 0 0 0 0 0 0 34 0
|
33 0 0 0 0 0 0 0 0 0 0 15 0
|
34 0 0 0 0 0 0 0 0 0 0 21 0
|
35 0 0 0 0 0 1 0 0 0 0 0 0
|
36 0 0 0 0 0 5 1 0 0 0 1 0
|
37 0 0 0 0 0 7 0 1 0 0 3 0
|
38 0 0 0 0 0 0 0 0 0 0 1 0
|
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global variables like "innodb_max_purge_lag%"'
|
+----------------------------+------------+
|
| Variable_name | Value |
|
+----------------------------+------------+
|
| innodb_max_purge_lag | 0 |
|
| innodb_max_purge_lag_delay | 0 |
|
| innodb_max_purge_lag_wait | 4294967295 |
|
+----------------------------+------------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'set global innodb_max_purge_lag = 500000'
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'set global innodb_max_purge_lag_delay = 5000'
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global variables like "innodb_max_purge_lag%"'
|
+----------------------------+------------+
|
| Variable_name | Value |
|
+----------------------------+------------+
|
| innodb_max_purge_lag | 500000 |
|
| innodb_max_purge_lag_delay | 5000 |
|
| innodb_max_purge_lag_wait | 4294967295 |
|
+----------------------------+------------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
|
|
File::data/ibdata1
|
================PAGE TYPE SUMMARY==============
|
#PAGE_COUNT PAGE_TYPE
|
===============================================
|
132 Index page
|
6127 Undo log page
|
73 Inode page
|
0 Insert buffer free list page
|
2490 Freshly allocated page
|
3 Insert buffer bitmap
|
131 System page
|
1 Transaction system page
|
3 File Space Header
|
0 Extent descriptor page
|
0 BLOB page
|
0 Compressed BLOB page
|
0 Page compressed page
|
0 Page compressed encrypted page
|
0 Other type of page
|
|
===============================================
|
Additional information:
|
Undo page type: 6127
|
Undo page state: 7 active, 121 cached, 5687 to_purge, 0 prepared, 312 other
|
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
|
1 1 1 11 859
|
2 1 1 50 3173
|
3 1 1 20 1442
|
4 1 1 29 1246
|
5 1 1 11 364
|
11 1 1 0 0
|
12 1 1 0 0
|
13 1 1 0 0
|
14 1 1 0 0
|
15 1 1 0 0
|
31 23 23 73 15038
|
32 34 34 73 15038
|
33 15 15 73 15038
|
34 21 21 73 15038
|
35 1 1 620 8060
|
36 7 7 698 9083
|
37 11 11 789 10257
|
38 1 1 1191 15483
|
-4294967296 1 1 0 0
|
|
index_id page_data_bytes_histgram(empty,...,oversized)
|
1 0 1 0 0 0 0 0 0 0 0 0 0
|
2 0 0 1 0 0 0 0 0 0 0 0 0
|
3 0 1 0 0 0 0 0 0 0 0 0 0
|
4 0 1 0 0 0 0 0 0 0 0 0 0
|
5 0 1 0 0 0 0 0 0 0 0 0 0
|
11 1 0 0 0 0 0 0 0 0 0 0 0
|
12 1 0 0 0 0 0 0 0 0 0 0 0
|
13 1 0 0 0 0 0 0 0 0 0 0 0
|
14 1 0 0 0 0 0 0 0 0 0 0 0
|
15 1 0 0 0 0 0 0 0 0 0 0 0
|
31 0 0 0 0 0 0 0 0 0 0 23 0
|
32 0 0 0 0 0 0 0 0 0 0 34 0
|
33 0 0 0 0 0 0 0 0 0 0 15 0
|
34 0 0 0 0 0 0 0 0 0 0 21 0
|
35 0 0 0 0 0 1 0 0 0 0 0 0
|
36 0 0 0 0 0 5 1 0 0 0 1 0
|
37 0 0 0 0 0 7 0 1 0 0 3 0
|
38 0 0 0 0 0 0 0 0 0 0 1 0
|
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 0 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ cd -
|
/Users/Valerii/git/sysbench
|
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 cleanup
|
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
|
|
Dropping table 'sbtest1'...
|
Dropping table 'sbtest2'...
|
Dropping table 'sbtest3'...
|
Dropping table 'sbtest4'...
|
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 prepare
|
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
|
|
Initializing worker threads...
|
|
Creating table 'sbtest4'...Creating table 'sbtest1'...Creating table 'sbtest2'...Creating table 'sbtest3'...
|
|
|
|
Inserting 100000 records into 'sbtest4'
|
Inserting 100000 records into 'sbtest2'
|
Inserting 100000 records into 'sbtest3'
|
Inserting 100000 records into 'sbtest1'
|
Creating a secondary index on 'sbtest2'...
|
Creating a secondary index on 'sbtest1'...
|
Creating a secondary index on 'sbtest3'...
|
Creating a secondary index on 'sbtest4'...
|
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 run
|
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
|
|
Running the test with following options:
|
Number of threads: 4
|
Report intermediate results every 10 second(s)
|
Initializing random number generator from current time
|
|
|
Initializing worker threads...
|
|
Threads started!
|
|
[ 10s ] thds: 4 tps: 963.28 qps: 19271.53 (r/w/o: 13491.44/3853.13/1926.96) lat (ms,95%): 6.67 err/s: 0.00 reconn/s: 0.00
|
[ 20s ] thds: 4 tps: 1032.93 qps: 20657.49 (r/w/o: 14459.78/4131.84/2065.87) lat (ms,95%): 5.88 err/s: 0.00 reconn/s: 0.00
|
[ 30s ] thds: 4 tps: 804.67 qps: 16090.49 (r/w/o: 11262.67/3218.58/1609.24) lat (ms,95%): 9.39 err/s: 0.00 reconn/s: 0.00
|
[ 40s ] thds: 4 tps: 793.27 qps: 15868.29 (r/w/o: 11108.58/3173.08/1586.64) lat (ms,95%): 9.39 err/s: 0.00 reconn/s: 0.00
|
[ 50s ] thds: 4 tps: 771.14 qps: 15419.91 (r/w/o: 10793.20/3084.54/1542.17) lat (ms,95%): 10.46 err/s: 0.00 reconn/s: 0.00
|
[ 60s ] thds: 4 tps: 892.86 qps: 17861.77 (r/w/o: 12504.02/3571.93/1785.82) lat (ms,95%): 7.70 err/s: 0.00 reconn/s: 0.00
|
[ 70s ] thds: 4 tps: 890.88 qps: 17817.21 (r/w/o: 12472.25/3563.20/1781.75) lat (ms,95%): 8.28 err/s: 0.00 reconn/s: 0.00
|
[ 80s ] thds: 4 tps: 926.31 qps: 18524.86 (r/w/o: 12967.08/3705.15/1852.63) lat (ms,95%): 7.56 err/s: 0.00 reconn/s: 0.00
|
[ 90s ] thds: 4 tps: 799.88 qps: 15995.53 (r/w/o: 11196.37/3199.41/1599.75) lat (ms,95%): 9.91 err/s: 0.00 reconn/s: 0.00
|
[ 100s ] thds: 4 tps: 888.00 qps: 17757.17 (r/w/o: 12429.58/3551.99/1775.60) lat (ms,95%): 8.28 err/s: 0.00 reconn/s: 0.00
|
SQL statistics:
|
queries performed:
|
read: 1226918
|
write: 350548
|
other: 175274
|
total: 1752740
|
transactions: 87637 (876.32 per sec.)
|
queries: 1752740 (17526.50 per sec.)
|
ignored errors: 0 (0.00 per sec.)
|
reconnects: 0 (0.00 per sec.)
|
|
Throughput:
|
events/s (eps): 876.3249
|
time elapsed: 100.0051s
|
total number of events: 87637
|
|
Latency (ms):
|
min: 1.76
|
avg: 4.56
|
max: 167.92
|
95th percentile: 8.28
|
sum: 399658.03
|
|
Threads fairness:
|
events (avg/stddev): 21909.2500/29.35
|
execution time (avg/stddev): 99.9145/0.00
|
|
Yuliyas-Air:sysbench Valerii$ cd -
|
/Users/Valerii/dbs/maria10.6
|
Yuliyas-Air:maria10.6 Valerii$ ls -l data/ibdata1
|
-rw-rw---- 1 Valerii staff 213909504 10 May 18:38 data/ibdata1
|
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
|
|
File::data/ibdata1
|
================PAGE TYPE SUMMARY==============
|
#PAGE_COUNT PAGE_TYPE
|
===============================================
|
138 Index page
|
10016 Undo log page
|
114 Inode page
|
0 Insert buffer free list page
|
2655 Freshly allocated page
|
1 Insert buffer bitmap
|
130 System page
|
1 Transaction system page
|
1 File Space Header
|
0 Extent descriptor page
|
0 BLOB page
|
0 Compressed BLOB page
|
0 Page compressed page
|
0 Page compressed encrypted page
|
0 Other type of page
|
|
===============================================
|
Additional information:
|
Undo page type: 10016
|
Undo page state: 0 active, 129 cached, 9405 to_purge, 0 prepared, 482 other
|
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
|
1 1 1 11 859
|
2 1 1 50 3173
|
3 1 1 20 1442
|
4 1 1 29 1246
|
5 1 1 11 364
|
11 1 1 0 0
|
12 1 1 0 0
|
13 1 1 0 0
|
14 1 1 0 0
|
15 1 1 0 0
|
39 19 19 73 15038
|
40 18 18 73 15038
|
41 14 14 73 15038
|
42 24 24 73 15038
|
43 12 12 947 12320
|
44 12 12 951 12365
|
45 11 11 821 10675
|
46 17 17 782 10176
|
-4294967296 1 1 0 0
|
|
index_id page_data_bytes_histgram(empty,...,oversized)
|
1 0 1 0 0 0 0 0 0 0 0 0 0
|
2 0 0 1 0 0 0 0 0 0 0 0 0
|
3 0 1 0 0 0 0 0 0 0 0 0 0
|
4 0 1 0 0 0 0 0 0 0 0 0 0
|
5 0 1 0 0 0 0 0 0 0 0 0 0
|
11 1 0 0 0 0 0 0 0 0 0 0 0
|
12 1 0 0 0 0 0 0 0 0 0 0 0
|
13 1 0 0 0 0 0 0 0 0 0 0 0
|
14 1 0 0 0 0 0 0 0 0 0 0 0
|
15 1 0 0 0 0 0 0 0 0 0 0 0
|
39 0 0 0 0 0 0 0 0 0 0 19 0
|
40 0 0 0 0 0 0 0 0 0 0 18 0
|
41 0 0 0 0 0 0 0 0 0 0 14 0
|
42 0 0 0 0 0 0 0 0 0 0 24 0
|
43 0 0 0 0 0 4 1 0 0 0 7 0
|
44 0 0 0 0 0 4 1 0 0 0 7 0
|
45 0 0 0 0 0 6 1 0 0 0 4 0
|
46 0 0 0 0 0 11 1 0 0 0 5 0
|
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 4752 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 4752 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 4752 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 4752 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 4752 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global variables like "innodb_max_purge_lag%"'
|
+----------------------------+------------+
|
| Variable_name | Value |
|
+----------------------------+------------+
|
| innodb_max_purge_lag | 500000 |
|
| innodb_max_purge_lag_delay | 5000 |
|
| innodb_max_purge_lag_wait | 4294967295 |
|
+----------------------------+------------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 4752 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 4752 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 4752 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
|
+----------------------------+-------+
|
| Variable_name | Value |
|
+----------------------------+-------+
|
| Innodb_history_list_length | 0 |
|
+----------------------------+-------+
|
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
|
|
File::data/ibdata1
|
================PAGE TYPE SUMMARY==============
|
#PAGE_COUNT PAGE_TYPE
|
===============================================
|
138 Index page
|
10016 Undo log page
|
114 Inode page
|
0 Insert buffer free list page
|
2655 Freshly allocated page
|
1 Insert buffer bitmap
|
130 System page
|
1 Transaction system page
|
1 File Space Header
|
0 Extent descriptor page
|
0 BLOB page
|
0 Compressed BLOB page
|
0 Page compressed page
|
0 Page compressed encrypted page
|
0 Other type of page
|
|
===============================================
|
Additional information:
|
Undo page type: 10016
|
Undo page state: 0 active, 129 cached, 9405 to_purge, 0 prepared, 482 other
|
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
|
1 1 1 11 859
|
2 1 1 50 3173
|
3 1 1 20 1442
|
4 1 1 29 1246
|
5 1 1 11 364
|
11 1 1 0 0
|
12 1 1 0 0
|
13 1 1 0 0
|
14 1 1 0 0
|
15 1 1 0 0
|
39 19 19 73 15038
|
40 18 18 73 15038
|
41 14 14 73 15038
|
42 24 24 73 15038
|
43 12 12 947 12320
|
44 12 12 951 12365
|
45 11 11 821 10675
|
46 17 17 782 10176
|
-4294967296 1 1 0 0
|
|
index_id page_data_bytes_histgram(empty,...,oversized)
|
1 0 1 0 0 0 0 0 0 0 0 0 0
|
2 0 0 1 0 0 0 0 0 0 0 0 0
|
3 0 1 0 0 0 0 0 0 0 0 0 0
|
4 0 1 0 0 0 0 0 0 0 0 0 0
|
5 0 1 0 0 0 0 0 0 0 0 0 0
|
11 1 0 0 0 0 0 0 0 0 0 0 0
|
12 1 0 0 0 0 0 0 0 0 0 0 0
|
13 1 0 0 0 0 0 0 0 0 0 0 0
|
14 1 0 0 0 0 0 0 0 0 0 0 0
|
15 1 0 0 0 0 0 0 0 0 0 0 0
|
39 0 0 0 0 0 0 0 0 0 0 19 0
|
40 0 0 0 0 0 0 0 0 0 0 18 0
|
41 0 0 0 0 0 0 0 0 0 0 14 0
|
42 0 0 0 0 0 0 0 0 0 0 24 0
|
43 0 0 0 0 0 4 1 0 0 0 7 0
|
44 0 0 0 0 0 4 1 0 0 0 7 0
|
45 0 0 0 0 0 6 1 0 0 0 4 0
|
46 0 0 0 0 0 11 1 0 0 0 5 0
|
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
|
Yuliyas-Air:maria10.6 Valerii$
|
Same story with 10.6.14 as of today:
Yuliyas-Air:server Valerii$ git log -1
commit afe44ef2126d74c11407266cf7d0225ac0392e61 (HEAD -> 10.6, origin/bb-10.6-bumpversion, origin/10.6)
Author: Daniel Bartholomew <db@dbart.us>
Date: Wed May 10 08:45:08 2023 -0400
bump the VERSION
with tuning suggested in the (fixed)
MDEV-29401applied:Yuliyas-Air:~ Valerii$ cd dbs/maria10.6
Yuliyas-Air:maria10.6 Valerii$ rm -rf data/
Yuliyas-Air:maria10.6 Valerii$ scripts/mysql_install_db --no-defaults
Installing MariaDB/MySQL system tables in './data' ...
2023-05-10 18:25:00 0 [Warning] InnoDB: innodb_open_files 300 should not be greater than the open_files_limit 256
OK
To start mariadbd at boot time you have to copy
support-files/mariadb.service to the right place for your system
Two all-privilege accounts were created.
One is root@localhost, it has no password, but you need to
be system 'root' user to connect. Use, for example, sudo mysql
The second is Valerii@localhost, it has no password either, but
you need to be the system 'Valerii' user to connect.
After connecting you can set the password, if you would need to be
able to connect as any of these users with a password and without sudo
See the MariaDB Knowledgebase at https://mariadb.com/kb
You can start the MariaDB daemon with:
cd '.' ; ./bin/mariadb-safe --datadir='./data'
You can test the MariaDB daemon with mysql-test-run.pl
cd './mysql-test' ; perl mariadb-test-run.pl
Please report any problems at https://mariadb.org/jira
The latest information about MariaDB is available at https://mariadb.org/.
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/
Yuliyas-Air:maria10.6 Valerii$
Yuliyas-Air:maria10.6 Valerii$ bin/mysqld_safe --no-defaults --innodb_flush_log_at_trx_commit=0 --innodb_buffer_pool_size=128M &
[1] 3387
Yuliyas-Air:maria10.6 Valerii$ 230510 18:25:23 mysqld_safe Logging to '/Users/Valerii/dbs/maria10.6/data/Yuliyas-Air.err'.
230510 18:25:23 mysqld_safe Starting mariadbd daemon with databases from /Users/Valerii/dbs/maria10.6/data
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'select version()'
+-----------------+
| version() |
+-----------------+
| 10.6.14-MariaDB |
+-----------------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'create database sbtest;'
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "History%"'
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 6 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ ~/git/sysbench/src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 prepare
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
FATAL: Cannot find benchmark 'oltp_read_write': no such built-in test, file or module
Yuliyas-Air:maria10.6 Valerii$ cd ~/git/sysbench
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 prepare
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
Initializing worker threads...
Creating table 'sbtest1'...Creating table 'sbtest3'...Creating table 'sbtest2'...Creating table 'sbtest4'...
Inserting 100000 records into 'sbtest3'
Inserting 100000 records into 'sbtest1'
Inserting 100000 records into 'sbtest2'
Inserting 100000 records into 'sbtest4'
Creating a secondary index on 'sbtest1'...
Creating a secondary index on 'sbtest2'...
Creating a secondary index on 'sbtest3'...
Creating a secondary index on 'sbtest4'...
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 run
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 4
Report intermediate results every 10 second(s)
Initializing random number generator from current time
Initializing worker threads...
Threads started!
[ 10s ] thds: 4 tps: 1130.75 qps: 22619.94 (r/w/o: 15834.83/4523.21/2261.90) lat (ms,95%): 5.00 err/s: 0.00 reconn/s: 0.00
[ 20s ] thds: 4 tps: 1058.67 qps: 21175.70 (r/w/o: 14822.75/4235.60/2117.35) lat (ms,95%): 5.67 err/s: 0.00 reconn/s: 0.00
[ 30s ] thds: 4 tps: 1129.88 qps: 22595.45 (r/w/o: 15816.96/4518.73/2259.76) lat (ms,95%): 4.41 err/s: 0.00 reconn/s: 0.00
[ 40s ] thds: 4 tps: 1032.51 qps: 20648.74 (r/w/o: 14454.07/4129.75/2064.92) lat (ms,95%): 5.67 err/s: 0.00 reconn/s: 0.00
[ 50s ] thds: 4 tps: 1024.65 qps: 20495.53 (r/w/o: 14347.52/4098.61/2049.40) lat (ms,95%): 5.47 err/s: 0.00 reconn/s: 0.00
[ 60s ] thds: 4 tps: 988.26 qps: 19764.99 (r/w/o: 13835.43/3953.04/1976.52) lat (ms,95%): 6.43 err/s: 0.00 reconn/s: 0.00
[ 70s ] thds: 4 tps: 1045.45 qps: 20908.07 (r/w/o: 14635.38/4181.79/2090.90) lat (ms,95%): 5.77 err/s: 0.00 reconn/s: 0.00
[ 80s ] thds: 4 tps: 1171.56 qps: 23432.09 (r/w/o: 16402.71/4686.26/2343.13) lat (ms,95%): 4.33 err/s: 0.00 reconn/s: 0.00
[ 90s ] thds: 4 tps: 939.60 qps: 18791.84 (r/w/o: 13154.26/3758.39/1879.19) lat (ms,95%): 6.91 err/s: 0.00 reconn/s: 0.00
SQL statistics:
queries performed:
read: 1500254
write: 428644
other: 214322
total: 2143220
transactions: 107161 (1071.58 per sec.)
queries: 2143220 (21431.70 per sec.)
ignored errors: 0 (0.00 per sec.)
reconnects: 0 (0.00 per sec.)
Throughput:
events/s (eps): 1071.5848
time elapsed: 100.0023s
total number of events: 107161
Latency (ms):
min: 1.81
avg: 3.73
max: 108.74
95th percentile: 5.28
sum: 399637.95
Threads fairness:
events (avg/stddev): 26790.2500/49.49
execution time (avg/stddev): 99.9095/0.00
Yuliyas-Air:sysbench Valerii$ cd -
/Users/Valerii/dbs/maria10.6
Yuliyas-Air:maria10.6 Valerii$ ls -l data/ibdata1
-rw-rw---- 1 Valerii staff 79691776 10 May 18:29 data/ibdata1
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
File::data/ibdata1
================PAGE TYPE SUMMARY==============
#PAGE_COUNT PAGE_TYPE
===============================================
136 Index page
3029 Undo log page
34 Inode page
0 Insert buffer free list page
1532 Freshly allocated page
1 Insert buffer bitmap
130 System page
1 Transaction system page
1 File Space Header
0 Extent descriptor page
0 BLOB page
0 Compressed BLOB page
0 Page compressed page
0 Page compressed encrypted page
0 Other type of page
===============================================
Additional information:
Undo page type: 3029
Undo page state: 3 active, 128 cached, 2602 to_purge, 0 prepared, 296 other
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
1 1 1 11 859
2 1 1 50 3173
3 1 1 20 1442
4 1 1 29 1246
5 1 1 11 364
11 1 1 0 0
12 1 1 0 0
13 1 1 0 0
14 1 1 0 0
15 1 1 0 0
23 21 21 73 15038
24 39 39 73 15038
25 12 12 73 15038
26 33 33 73 15038
27 8 8 831 10814
28 3 3 789 10257
29 5 5 960 12480
30 4 4 900 11706
-4294967296 1 1 0 0
index_id page_data_bytes_histgram(empty,...,oversized)
1 0 1 0 0 0 0 0 0 0 0 0 0
2 0 0 1 0 0 0 0 0 0 0 0 0
3 0 1 0 0 0 0 0 0 0 0 0 0
4 0 1 0 0 0 0 0 0 0 0 0 0
5 0 1 0 0 0 0 0 0 0 0 0 0
11 1 0 0 0 0 0 0 0 0 0 0 0
12 1 0 0 0 0 0 0 0 0 0 0 0
13 1 0 0 0 0 0 0 0 0 0 0 0
14 1 0 0 0 0 0 0 0 0 0 0 0
15 1 0 0 0 0 0 0 0 0 0 0 0
23 0 0 0 0 0 0 0 0 0 0 21 0
24 0 0 0 0 0 0 0 0 0 0 39 0
25 0 0 0 0 0 0 0 0 0 0 12 0
26 0 0 0 0 0 0 0 0 0 0 33 0
27 0 0 0 0 0 4 1 0 0 0 3 0
28 0 0 0 0 0 2 0 0 0 0 1 0
29 0 0 0 0 0 2 0 0 0 0 3 0
30 0 0 0 0 0 2 0 0 0 0 2 0
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 14841 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 0 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
File::data/ibdata1
================PAGE TYPE SUMMARY==============
#PAGE_COUNT PAGE_TYPE
===============================================
136 Index page
3029 Undo log page
34 Inode page
0 Insert buffer free list page
1532 Freshly allocated page
1 Insert buffer bitmap
130 System page
1 Transaction system page
1 File Space Header
0 Extent descriptor page
0 BLOB page
0 Compressed BLOB page
0 Page compressed page
0 Page compressed encrypted page
0 Other type of page
===============================================
Additional information:
Undo page type: 3029
Undo page state: 3 active, 128 cached, 2602 to_purge, 0 prepared, 296 other
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
1 1 1 11 859
2 1 1 50 3173
3 1 1 20 1442
4 1 1 29 1246
5 1 1 11 364
11 1 1 0 0
12 1 1 0 0
13 1 1 0 0
14 1 1 0 0
15 1 1 0 0
23 21 21 73 15038
24 39 39 73 15038
25 12 12 73 15038
26 33 33 73 15038
27 8 8 831 10814
28 3 3 789 10257
29 5 5 960 12480
30 4 4 900 11706
-4294967296 1 1 0 0
index_id page_data_bytes_histgram(empty,...,oversized)
1 0 1 0 0 0 0 0 0 0 0 0 0
2 0 0 1 0 0 0 0 0 0 0 0 0
3 0 1 0 0 0 0 0 0 0 0 0 0
4 0 1 0 0 0 0 0 0 0 0 0 0
5 0 1 0 0 0 0 0 0 0 0 0 0
11 1 0 0 0 0 0 0 0 0 0 0 0
12 1 0 0 0 0 0 0 0 0 0 0 0
13 1 0 0 0 0 0 0 0 0 0 0 0
14 1 0 0 0 0 0 0 0 0 0 0 0
15 1 0 0 0 0 0 0 0 0 0 0 0
23 0 0 0 0 0 0 0 0 0 0 21 0
24 0 0 0 0 0 0 0 0 0 0 39 0
25 0 0 0 0 0 0 0 0 0 0 12 0
26 0 0 0 0 0 0 0 0 0 0 33 0
27 0 0 0 0 0 4 1 0 0 0 3 0
28 0 0 0 0 0 2 0 0 0 0 1 0
29 0 0 0 0 0 2 0 0 0 0 3 0
30 0 0 0 0 0 2 0 0 0 0 2 0
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
Yuliyas-Air:maria10.6 Valerii$ cd -
/Users/Valerii/git/sysbench
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 cleanup
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
Dropping table 'sbtest1'...
Dropping table 'sbtest2'...
Dropping table 'sbtest3'...
Dropping table 'sbtest4'...
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 prepare
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
Initializing worker threads...
Creating table 'sbtest2'...Creating table 'sbtest1'...Creating table 'sbtest4'...Creating table 'sbtest3'...
Inserting 100000 records into 'sbtest1'
Inserting 100000 records into 'sbtest3'
Inserting 100000 records into 'sbtest2'
Inserting 100000 records into 'sbtest4'
Creating a secondary index on 'sbtest1'...
Creating a secondary index on 'sbtest2'...
Creating a secondary index on 'sbtest3'...
Creating a secondary index on 'sbtest4'...
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 run
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 4
Report intermediate results every 10 second(s)
Initializing random number generator from current time
Initializing worker threads...
Threads started!
[ 10s ] thds: 4 tps: 1122.63 qps: 22457.48 (r/w/o: 15721.31/4490.52/2245.66) lat (ms,95%): 4.82 err/s: 0.00 reconn/s: 0.00
[ 20s ] thds: 4 tps: 1046.27 qps: 20924.06 (r/w/o: 14646.42/4185.09/2092.55) lat (ms,95%): 5.47 err/s: 0.00 reconn/s: 0.00
[ 30s ] thds: 4 tps: 1058.16 qps: 21161.99 (r/w/o: 14813.03/4232.64/2116.32) lat (ms,95%): 5.28 err/s: 0.00 reconn/s: 0.00
[ 40s ] thds: 4 tps: 1039.24 qps: 20789.53 (r/w/o: 14552.88/4158.17/2078.48) lat (ms,95%): 5.47 err/s: 0.00 reconn/s: 0.00
[ 50s ] thds: 4 tps: 976.35 qps: 19524.75 (r/w/o: 13667.54/3904.51/1952.71) lat (ms,95%): 7.43 err/s: 0.00 reconn/s: 0.00
[ 60s ] thds: 4 tps: 999.26 qps: 19985.57 (r/w/o: 13990.12/3996.93/1998.52) lat (ms,95%): 5.99 err/s: 0.00 reconn/s: 0.00
[ 70s ] thds: 4 tps: 756.65 qps: 15133.11 (r/w/o: 10593.40/3026.40/1513.30) lat (ms,95%): 11.24 err/s: 0.00 reconn/s: 0.00
[ 80s ] thds: 4 tps: 1003.70 qps: 20071.70 (r/w/o: 14049.47/4014.82/2007.41) lat (ms,95%): 7.56 err/s: 0.00 reconn/s: 0.00
[ 90s ] thds: 4 tps: 853.51 qps: 17070.48 (r/w/o: 11949.42/3414.14/1706.92) lat (ms,95%): 9.22 err/s: 0.00 reconn/s: 0.00
[ 100s ] thds: 4 tps: 926.72 qps: 18534.87 (r/w/o: 12974.23/3707.29/1853.35) lat (ms,95%): 8.13 err/s: 0.00 reconn/s: 0.00
SQL statistics:
queries performed:
read: 1369662
write: 391332
other: 195666
total: 1956660
transactions: 97833 (978.28 per sec.)
queries: 1956660 (19565.69 per sec.)
ignored errors: 0 (0.00 per sec.)
reconnects: 0 (0.00 per sec.)
Throughput:
events/s (eps): 978.2843
time elapsed: 100.0047s
total number of events: 97833
Latency (ms):
min: 1.97
avg: 4.09
max: 165.87
95th percentile: 7.04
sum: 399666.97
Threads fairness:
events (avg/stddev): 24458.2500/69.78
execution time (avg/stddev): 99.9167/0.00
Yuliyas-Air:sysbench Valerii$ cd -
/Users/Valerii/dbs/maria10.6
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 9514 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 9514 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 9514 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ ls -l data/ibdata1
-rw-rw---- 1 Valerii staff 146800640 10 May 18:32 data/ibdata1
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
File::data/ibdata1
================PAGE TYPE SUMMARY==============
#PAGE_COUNT PAGE_TYPE
===============================================
132 Index page
6127 Undo log page
73 Inode page
0 Insert buffer free list page
2490 Freshly allocated page
3 Insert buffer bitmap
131 System page
1 Transaction system page
3 File Space Header
0 Extent descriptor page
0 BLOB page
0 Compressed BLOB page
0 Page compressed page
0 Page compressed encrypted page
0 Other type of page
===============================================
Additional information:
Undo page type: 6127
Undo page state: 7 active, 121 cached, 5687 to_purge, 0 prepared, 312 other
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
1 1 1 11 859
2 1 1 50 3173
3 1 1 20 1442
4 1 1 29 1246
5 1 1 11 364
11 1 1 0 0
12 1 1 0 0
13 1 1 0 0
14 1 1 0 0
15 1 1 0 0
31 23 23 73 15038
32 34 34 73 15038
33 15 15 73 15038
34 21 21 73 15038
35 1 1 620 8060
36 7 7 698 9083
37 11 11 789 10257
38 1 1 1191 15483
-4294967296 1 1 0 0
index_id page_data_bytes_histgram(empty,...,oversized)
1 0 1 0 0 0 0 0 0 0 0 0 0
2 0 0 1 0 0 0 0 0 0 0 0 0
3 0 1 0 0 0 0 0 0 0 0 0 0
4 0 1 0 0 0 0 0 0 0 0 0 0
5 0 1 0 0 0 0 0 0 0 0 0 0
11 1 0 0 0 0 0 0 0 0 0 0 0
12 1 0 0 0 0 0 0 0 0 0 0 0
13 1 0 0 0 0 0 0 0 0 0 0 0
14 1 0 0 0 0 0 0 0 0 0 0 0
15 1 0 0 0 0 0 0 0 0 0 0 0
31 0 0 0 0 0 0 0 0 0 0 23 0
32 0 0 0 0 0 0 0 0 0 0 34 0
33 0 0 0 0 0 0 0 0 0 0 15 0
34 0 0 0 0 0 0 0 0 0 0 21 0
35 0 0 0 0 0 1 0 0 0 0 0 0
36 0 0 0 0 0 5 1 0 0 0 1 0
37 0 0 0 0 0 7 0 1 0 0 3 0
38 0 0 0 0 0 0 0 0 0 0 1 0
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 9514 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 0 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
File::data/ibdata1
================PAGE TYPE SUMMARY==============
#PAGE_COUNT PAGE_TYPE
===============================================
132 Index page
6127 Undo log page
73 Inode page
0 Insert buffer free list page
2490 Freshly allocated page
3 Insert buffer bitmap
131 System page
1 Transaction system page
3 File Space Header
0 Extent descriptor page
0 BLOB page
0 Compressed BLOB page
0 Page compressed page
0 Page compressed encrypted page
0 Other type of page
===============================================
Additional information:
Undo page type: 6127
Undo page state: 7 active, 121 cached, 5687 to_purge, 0 prepared, 312 other
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
1 1 1 11 859
2 1 1 50 3173
3 1 1 20 1442
4 1 1 29 1246
5 1 1 11 364
11 1 1 0 0
12 1 1 0 0
13 1 1 0 0
14 1 1 0 0
15 1 1 0 0
31 23 23 73 15038
32 34 34 73 15038
33 15 15 73 15038
34 21 21 73 15038
35 1 1 620 8060
36 7 7 698 9083
37 11 11 789 10257
38 1 1 1191 15483
-4294967296 1 1 0 0
index_id page_data_bytes_histgram(empty,...,oversized)
1 0 1 0 0 0 0 0 0 0 0 0 0
2 0 0 1 0 0 0 0 0 0 0 0 0
3 0 1 0 0 0 0 0 0 0 0 0 0
4 0 1 0 0 0 0 0 0 0 0 0 0
5 0 1 0 0 0 0 0 0 0 0 0 0
11 1 0 0 0 0 0 0 0 0 0 0 0
12 1 0 0 0 0 0 0 0 0 0 0 0
13 1 0 0 0 0 0 0 0 0 0 0 0
14 1 0 0 0 0 0 0 0 0 0 0 0
15 1 0 0 0 0 0 0 0 0 0 0 0
31 0 0 0 0 0 0 0 0 0 0 23 0
32 0 0 0 0 0 0 0 0 0 0 34 0
33 0 0 0 0 0 0 0 0 0 0 15 0
34 0 0 0 0 0 0 0 0 0 0 21 0
35 0 0 0 0 0 1 0 0 0 0 0 0
36 0 0 0 0 0 5 1 0 0 0 1 0
37 0 0 0 0 0 7 0 1 0 0 3 0
38 0 0 0 0 0 0 0 0 0 0 1 0
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
File::data/ibdata1
================PAGE TYPE SUMMARY==============
#PAGE_COUNT PAGE_TYPE
===============================================
132 Index page
6127 Undo log page
73 Inode page
0 Insert buffer free list page
2490 Freshly allocated page
3 Insert buffer bitmap
131 System page
1 Transaction system page
3 File Space Header
0 Extent descriptor page
0 BLOB page
0 Compressed BLOB page
0 Page compressed page
0 Page compressed encrypted page
0 Other type of page
===============================================
Additional information:
Undo page type: 6127
Undo page state: 7 active, 121 cached, 5687 to_purge, 0 prepared, 312 other
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
1 1 1 11 859
2 1 1 50 3173
3 1 1 20 1442
4 1 1 29 1246
5 1 1 11 364
11 1 1 0 0
12 1 1 0 0
13 1 1 0 0
14 1 1 0 0
15 1 1 0 0
31 23 23 73 15038
32 34 34 73 15038
33 15 15 73 15038
34 21 21 73 15038
35 1 1 620 8060
36 7 7 698 9083
37 11 11 789 10257
38 1 1 1191 15483
-4294967296 1 1 0 0
index_id page_data_bytes_histgram(empty,...,oversized)
1 0 1 0 0 0 0 0 0 0 0 0 0
2 0 0 1 0 0 0 0 0 0 0 0 0
3 0 1 0 0 0 0 0 0 0 0 0 0
4 0 1 0 0 0 0 0 0 0 0 0 0
5 0 1 0 0 0 0 0 0 0 0 0 0
11 1 0 0 0 0 0 0 0 0 0 0 0
12 1 0 0 0 0 0 0 0 0 0 0 0
13 1 0 0 0 0 0 0 0 0 0 0 0
14 1 0 0 0 0 0 0 0 0 0 0 0
15 1 0 0 0 0 0 0 0 0 0 0 0
31 0 0 0 0 0 0 0 0 0 0 23 0
32 0 0 0 0 0 0 0 0 0 0 34 0
33 0 0 0 0 0 0 0 0 0 0 15 0
34 0 0 0 0 0 0 0 0 0 0 21 0
35 0 0 0 0 0 1 0 0 0 0 0 0
36 0 0 0 0 0 5 1 0 0 0 1 0
37 0 0 0 0 0 7 0 1 0 0 3 0
38 0 0 0 0 0 0 0 0 0 0 1 0
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global variables like "innodb_max_purge_lag%"'
+----------------------------+------------+
| Variable_name | Value |
+----------------------------+------------+
| innodb_max_purge_lag | 0 |
| innodb_max_purge_lag_delay | 0 |
| innodb_max_purge_lag_wait | 4294967295 |
+----------------------------+------------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'set global innodb_max_purge_lag = 500000'
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'set global innodb_max_purge_lag_delay = 5000'
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global variables like "innodb_max_purge_lag%"'
+----------------------------+------------+
| Variable_name | Value |
+----------------------------+------------+
| innodb_max_purge_lag | 500000 |
| innodb_max_purge_lag_delay | 5000 |
| innodb_max_purge_lag_wait | 4294967295 |
+----------------------------+------------+
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
File::data/ibdata1
================PAGE TYPE SUMMARY==============
#PAGE_COUNT PAGE_TYPE
===============================================
132 Index page
6127 Undo log page
73 Inode page
0 Insert buffer free list page
2490 Freshly allocated page
3 Insert buffer bitmap
131 System page
1 Transaction system page
3 File Space Header
0 Extent descriptor page
0 BLOB page
0 Compressed BLOB page
0 Page compressed page
0 Page compressed encrypted page
0 Other type of page
===============================================
Additional information:
Undo page type: 6127
Undo page state: 7 active, 121 cached, 5687 to_purge, 0 prepared, 312 other
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
1 1 1 11 859
2 1 1 50 3173
3 1 1 20 1442
4 1 1 29 1246
5 1 1 11 364
11 1 1 0 0
12 1 1 0 0
13 1 1 0 0
14 1 1 0 0
15 1 1 0 0
31 23 23 73 15038
32 34 34 73 15038
33 15 15 73 15038
34 21 21 73 15038
35 1 1 620 8060
36 7 7 698 9083
37 11 11 789 10257
38 1 1 1191 15483
-4294967296 1 1 0 0
index_id page_data_bytes_histgram(empty,...,oversized)
1 0 1 0 0 0 0 0 0 0 0 0 0
2 0 0 1 0 0 0 0 0 0 0 0 0
3 0 1 0 0 0 0 0 0 0 0 0 0
4 0 1 0 0 0 0 0 0 0 0 0 0
5 0 1 0 0 0 0 0 0 0 0 0 0
11 1 0 0 0 0 0 0 0 0 0 0 0
12 1 0 0 0 0 0 0 0 0 0 0 0
13 1 0 0 0 0 0 0 0 0 0 0 0
14 1 0 0 0 0 0 0 0 0 0 0 0
15 1 0 0 0 0 0 0 0 0 0 0 0
31 0 0 0 0 0 0 0 0 0 0 23 0
32 0 0 0 0 0 0 0 0 0 0 34 0
33 0 0 0 0 0 0 0 0 0 0 15 0
34 0 0 0 0 0 0 0 0 0 0 21 0
35 0 0 0 0 0 1 0 0 0 0 0 0
36 0 0 0 0 0 5 1 0 0 0 1 0
37 0 0 0 0 0 7 0 1 0 0 3 0
38 0 0 0 0 0 0 0 0 0 0 1 0
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 0 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ cd -
/Users/Valerii/git/sysbench
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 cleanup
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
Dropping table 'sbtest1'...
Dropping table 'sbtest2'...
Dropping table 'sbtest3'...
Dropping table 'sbtest4'...
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 prepare
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
Initializing worker threads...
Creating table 'sbtest4'...Creating table 'sbtest1'...Creating table 'sbtest2'...Creating table 'sbtest3'...
Inserting 100000 records into 'sbtest4'
Inserting 100000 records into 'sbtest2'
Inserting 100000 records into 'sbtest3'
Inserting 100000 records into 'sbtest1'
Creating a secondary index on 'sbtest2'...
Creating a secondary index on 'sbtest1'...
Creating a secondary index on 'sbtest3'...
Creating a secondary index on 'sbtest4'...
Yuliyas-Air:sysbench Valerii$ ./src/sysbench oltp_read_write --threads=4 --tables=4 --table-size=100000 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=Valerii --report_interval=10 --time=100 run
sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 4
Report intermediate results every 10 second(s)
Initializing random number generator from current time
Initializing worker threads...
Threads started!
[ 10s ] thds: 4 tps: 963.28 qps: 19271.53 (r/w/o: 13491.44/3853.13/1926.96) lat (ms,95%): 6.67 err/s: 0.00 reconn/s: 0.00
[ 20s ] thds: 4 tps: 1032.93 qps: 20657.49 (r/w/o: 14459.78/4131.84/2065.87) lat (ms,95%): 5.88 err/s: 0.00 reconn/s: 0.00
[ 30s ] thds: 4 tps: 804.67 qps: 16090.49 (r/w/o: 11262.67/3218.58/1609.24) lat (ms,95%): 9.39 err/s: 0.00 reconn/s: 0.00
[ 40s ] thds: 4 tps: 793.27 qps: 15868.29 (r/w/o: 11108.58/3173.08/1586.64) lat (ms,95%): 9.39 err/s: 0.00 reconn/s: 0.00
[ 50s ] thds: 4 tps: 771.14 qps: 15419.91 (r/w/o: 10793.20/3084.54/1542.17) lat (ms,95%): 10.46 err/s: 0.00 reconn/s: 0.00
[ 60s ] thds: 4 tps: 892.86 qps: 17861.77 (r/w/o: 12504.02/3571.93/1785.82) lat (ms,95%): 7.70 err/s: 0.00 reconn/s: 0.00
[ 70s ] thds: 4 tps: 890.88 qps: 17817.21 (r/w/o: 12472.25/3563.20/1781.75) lat (ms,95%): 8.28 err/s: 0.00 reconn/s: 0.00
[ 80s ] thds: 4 tps: 926.31 qps: 18524.86 (r/w/o: 12967.08/3705.15/1852.63) lat (ms,95%): 7.56 err/s: 0.00 reconn/s: 0.00
[ 90s ] thds: 4 tps: 799.88 qps: 15995.53 (r/w/o: 11196.37/3199.41/1599.75) lat (ms,95%): 9.91 err/s: 0.00 reconn/s: 0.00
[ 100s ] thds: 4 tps: 888.00 qps: 17757.17 (r/w/o: 12429.58/3551.99/1775.60) lat (ms,95%): 8.28 err/s: 0.00 reconn/s: 0.00
SQL statistics:
queries performed:
read: 1226918
write: 350548
other: 175274
total: 1752740
transactions: 87637 (876.32 per sec.)
queries: 1752740 (17526.50 per sec.)
ignored errors: 0 (0.00 per sec.)
reconnects: 0 (0.00 per sec.)
Throughput:
events/s (eps): 876.3249
time elapsed: 100.0051s
total number of events: 87637
Latency (ms):
min: 1.76
avg: 4.56
max: 167.92
95th percentile: 8.28
sum: 399658.03
Threads fairness:
events (avg/stddev): 21909.2500/29.35
execution time (avg/stddev): 99.9145/0.00
Yuliyas-Air:sysbench Valerii$ cd -
/Users/Valerii/dbs/maria10.6
Yuliyas-Air:maria10.6 Valerii$ ls -l data/ibdata1
-rw-rw---- 1 Valerii staff 213909504 10 May 18:38 data/ibdata1
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
File::data/ibdata1
================PAGE TYPE SUMMARY==============
#PAGE_COUNT PAGE_TYPE
===============================================
138 Index page
10016 Undo log page
114 Inode page
0 Insert buffer free list page
2655 Freshly allocated page
1 Insert buffer bitmap
130 System page
1 Transaction system page
1 File Space Header
0 Extent descriptor page
0 BLOB page
0 Compressed BLOB page
0 Page compressed page
0 Page compressed encrypted page
0 Other type of page
===============================================
Additional information:
Undo page type: 10016
Undo page state: 0 active, 129 cached, 9405 to_purge, 0 prepared, 482 other
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
1 1 1 11 859
2 1 1 50 3173
3 1 1 20 1442
4 1 1 29 1246
5 1 1 11 364
11 1 1 0 0
12 1 1 0 0
13 1 1 0 0
14 1 1 0 0
15 1 1 0 0
39 19 19 73 15038
40 18 18 73 15038
41 14 14 73 15038
42 24 24 73 15038
43 12 12 947 12320
44 12 12 951 12365
45 11 11 821 10675
46 17 17 782 10176
-4294967296 1 1 0 0
index_id page_data_bytes_histgram(empty,...,oversized)
1 0 1 0 0 0 0 0 0 0 0 0 0
2 0 0 1 0 0 0 0 0 0 0 0 0
3 0 1 0 0 0 0 0 0 0 0 0 0
4 0 1 0 0 0 0 0 0 0 0 0 0
5 0 1 0 0 0 0 0 0 0 0 0 0
11 1 0 0 0 0 0 0 0 0 0 0 0
12 1 0 0 0 0 0 0 0 0 0 0 0
13 1 0 0 0 0 0 0 0 0 0 0 0
14 1 0 0 0 0 0 0 0 0 0 0 0
15 1 0 0 0 0 0 0 0 0 0 0 0
39 0 0 0 0 0 0 0 0 0 0 19 0
40 0 0 0 0 0 0 0 0 0 0 18 0
41 0 0 0 0 0 0 0 0 0 0 14 0
42 0 0 0 0 0 0 0 0 0 0 24 0
43 0 0 0 0 0 4 1 0 0 0 7 0
44 0 0 0 0 0 4 1 0 0 0 7 0
45 0 0 0 0 0 6 1 0 0 0 4 0
46 0 0 0 0 0 11 1 0 0 0 5 0
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 4752 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 4752 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 4752 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 4752 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 4752 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global variables like "innodb_max_purge_lag%"'
+----------------------------+------------+
| Variable_name | Value |
+----------------------------+------------+
| innodb_max_purge_lag | 500000 |
| innodb_max_purge_lag_delay | 5000 |
| innodb_max_purge_lag_wait | 4294967295 |
+----------------------------+------------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 4752 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 4752 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 4752 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/mysql -e 'show global status like "%history%"'
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| Innodb_history_list_length | 0 |
+----------------------------+-------+
Yuliyas-Air:maria10.6 Valerii$ bin/innochecksum -S data/ibdata1
File::data/ibdata1
================PAGE TYPE SUMMARY==============
#PAGE_COUNT PAGE_TYPE
===============================================
138 Index page
10016 Undo log page
114 Inode page
0 Insert buffer free list page
2655 Freshly allocated page
1 Insert buffer bitmap
130 System page
1 Transaction system page
1 File Space Header
0 Extent descriptor page
0 BLOB page
0 Compressed BLOB page
0 Page compressed page
0 Page compressed encrypted page
0 Other type of page
===============================================
Additional information:
Undo page type: 10016
Undo page state: 0 active, 129 cached, 9405 to_purge, 0 prepared, 482 other
index_id #pages #leaf_pages #recs_per_page #bytes_per_page
1 1 1 11 859
2 1 1 50 3173
3 1 1 20 1442
4 1 1 29 1246
5 1 1 11 364
11 1 1 0 0
12 1 1 0 0
13 1 1 0 0
14 1 1 0 0
15 1 1 0 0
39 19 19 73 15038
40 18 18 73 15038
41 14 14 73 15038
42 24 24 73 15038
43 12 12 947 12320
44 12 12 951 12365
45 11 11 821 10675
46 17 17 782 10176
-4294967296 1 1 0 0
index_id page_data_bytes_histgram(empty,...,oversized)
1 0 1 0 0 0 0 0 0 0 0 0 0
2 0 0 1 0 0 0 0 0 0 0 0 0
3 0 1 0 0 0 0 0 0 0 0 0 0
4 0 1 0 0 0 0 0 0 0 0 0 0
5 0 1 0 0 0 0 0 0 0 0 0 0
11 1 0 0 0 0 0 0 0 0 0 0 0
12 1 0 0 0 0 0 0 0 0 0 0 0
13 1 0 0 0 0 0 0 0 0 0 0 0
14 1 0 0 0 0 0 0 0 0 0 0 0
15 1 0 0 0 0 0 0 0 0 0 0 0
39 0 0 0 0 0 0 0 0 0 0 19 0
40 0 0 0 0 0 0 0 0 0 0 18 0
41 0 0 0 0 0 0 0 0 0 0 14 0
42 0 0 0 0 0 0 0 0 0 0 24 0
43 0 0 0 0 0 4 1 0 0 0 7 0
44 0 0 0 0 0 4 1 0 0 0 7 0
45 0 0 0 0 0 6 1 0 0 0 4 0
46 0 0 0 0 0 11 1 0 0 0 5 0
-4294967296 1 0 0 0 0 0 0 0 0 0 0 0
Yuliyas-Air:maria10.6 Valerii$