Difference between revisions of "Internet Offline: mysqlslap script"

From OnnoWiki
Jump to navigation Jump to search
(Created page with " rm echo 123456 | sudo -S 'mysqlslap -h localhost -u root -p123456 --auto-generate-sql' echo 123456 | sudo -S 'mysqlslap -h localhost -u root -p123456 --auto-generate-sq...")
 
Line 1: Line 1:
  
  
  rm
+
  rm  
 
  echo 123456 | sudo -S 'mysqlslap -h localhost -u root -p123456 --auto-generate-sql'
 
  echo 123456 | sudo -S 'mysqlslap -h localhost -u root -p123456 --auto-generate-sql'
 
  echo 123456 | sudo -S 'mysqlslap -h localhost -u root -p123456 --auto-generate-sql --concurrency=100  --number-of-queries=1'
 
  echo 123456 | sudo -S 'mysqlslap -h localhost -u root -p123456 --auto-generate-sql --concurrency=100  --number-of-queries=1'

Revision as of 12:35, 18 December 2018


rm 
echo 123456 | sudo -S 'mysqlslap -h localhost -u root -p123456 --auto-generate-sql'
echo 123456 | sudo -S 'mysqlslap -h localhost -u root -p123456 --auto-generate-sql --concurrency=100  --number-of-queries=1'
echo 123456 | sudo -S 'mysqlslap -h localhost -u root -p123456 --auto-generate-sql --concurrency=100  --number-of-queries=10000'
echo 123456 | sudo -S 'mysqlslap -h localhost -u root -p123456 --auto-generate-sql --concurrency=100  --number-of-queries=10000 --iterations=5'
echo 123456 | sudo -S 'mysqlslap -h localhost -u root  -p123456 --auto-generate-sql --concurrency=100 --number-of-queries=1000 --engine=innodb'
echo 123456 | sudo -S 'mysqlslap -h localhost -u root  -p123456 --auto-generate-sql --concurrency=100 --number-of-queries=1000 --engine=myisam'


Pranala Menarik