This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -xe | |
./mtr --check $@ | |
./mtr --ps-protocol $@ | |
#./mtr --cursor-protocol $@ | |
#./mtr --view-protocol $@ | |
#./mtr --sp-protocol $@ | |
./mtr --ps-protocol --mysqld=--binlog-format=mixed $@ | |
./mtr --mysqld=--binlog-format=row $@ | |
./mtr --ps-protocol --mysqld=--binlog-format=row $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup: t1, t2, t3 (a INT PRIMARY KEY, b INT) with rows (1,1),(2,2) | |
# con1 | |
mysql> SELECT @@version; | |
+-----------------------------------+ | |
| @@version | | |
+-----------------------------------+ | |
| 5.5.32-dev-valgrind-max-debug-log | | |
+-----------------------------------+ | |
1 row in set (0.00 sec) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define my_malloc_stats | |
set $in_use = mp_.mmapped_mem | |
set $system = mp_.mmapped_mem | |
set $arena = &main_arena | |
set $arena_n = 0 | |
# mALLINFo | |
while $arena | |
set $system = $system + $arena->system_mem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@i-08807ccee318d56f9:~# sysbench --test=cpu --cpu-max-prime=400 run | |
sysbench 0.4.12: multi-threaded system evaluation benchmark | |
Running the test with following options: | |
Number of threads: 1 | |
Doing CPU performance benchmark | |
Threads started! | |
Done. |