Created
September 9, 2013 17:20
-
-
Save fipar/6498750 to your computer and use it in GitHub Desktop.
Create many databases and tables for innodb_file_per_table crash recovery slowness test
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
for i in $(seq 40000); do mysql -e "create database test_$i"; for j in $(seq 250); do mysql test_$i -e "create table test_$j (id int not null auto_increment primary key) engine=innodb; insert into test_$j values (null),(null),(null);"; done; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment