mysqlslap

mysqlslap --defaults-file="C:/Program Files/MySQL/MySQL Server 5.1/my.ini" --concurrency=200 --iterations=1 --number-int-cols=4 --auto-generate-sql --auto-generate-sql-load-type=mixed,update,write,key,read --engine=myisam --number-of-queries=1000 -uroot -p8319999
mysqlslap --defaults-file="C:/Program Files/MySQL/MySQL Server 5.1/my.ini" --concurrency=200 --iterations=10 --number-int-cols=4 --auto-generate-sql --auto-generate-sql-load-type=update --engine=myisam --number-of-queries=10000 -uroot -p8319999
mysqlslap --defaults-file="C:/Program Files/MySQL/MySQL Server 5.1/my.ini" --concurrency=100 --iterations=10 --number-int-cols=4 --auto-generate-sql --auto-generate-sql-load-type=write --engine=myisam,innodb --number-of-queries=5000 -uroot -p8319999
mysqlslap --defaults-file="C:/Program Files/MySQL/MySQL Server 5.1/my.ini" --concurrency=100 --iterations=10 --number-int-cols=4 --auto-generate-sql-guid-primary --auto-generate-sql --auto-generate-sql-load-type=write --engine=myisam --number-of-queries=5000 -uroot -p8319999
mysqlslap --defaults-file="C:/Program Files/MySQL/MySQL Server 5.1/my.ini" --concurrency=10 --iterations=10  --auto-generate-sql-guid-primary --auto-generate-sql --auto-generate-sql-load-type=write --engine=myisam --number-of-queries=50 -uroot -p8319999
mysqlslap --defaults-file="C:/Program Files/MySQL/MySQL Server 5.1/my.ini" --concurrency=200 --iterations=1 --number-int-cols=4 --auto-generate-sql --auto-generate-sql-load-type=mixed,update,write,key,read --engine=myisam --number-of-queries=10000 -uroot -p8319999
mysqlslap  --concurrency=50 --iterations=1 --create-schema=gwy_591up_237 --query="INSERT INTO ol_answerresult_test (UniqueKey, TagCatalogId, RootCatalogId, UserId, QuestionId, CorrectCount, ErrorCount, LastIsCorrect, LastAnswerXML, TotalCostTime, Reviews, AnswerResultCategory, LastCostTime, LastAnswerTime, IsPublic, SUBJECT, TotalCount, AnswerMode, ExerciseWeight ) VALUES ( '3313_67bd0665-3d82-4622-9bf0-c4bb36fd2cd6', 7122, '7115', 3313, '67bd0665-3d82-4622-9bf0-c4bb36fd2cd6', '1', '1', '0', '<as><a><i><![CDATA[B]]></i></a></as>', '25', '', '1', '25', '2011-04-21 21:18:49', '1', '10', '1', '0', '0' )" --number-of-queries=10000 -uroot -h192.168.56.221 -p888888
mysqlslap  --concurrency=1 --iterations=10 --create-schema=gwy_591up_237 --query="INSERT INTO ol_answerresult_test (UniqueKey, TagCatalogId,RootCatalogId,UserId,QuestionId,CorrectCount,ErrorCount, LastIsCorrect,LastAnswerXML,TotalCostTime,Reviews, AnswerResultCategory, LastCostTime, LastAnswerTime,IsPublic,SUBJECT,TotalCount,AnswerMode,ExerciseWeight)VALUES('3313_67bd0665-3d82-4622-9bf0-c4bb36fd2cd6', 7122, '7115', 3313, '67bd0665-3d82-4622-9bf0-c4bb36fd2cd6','1','1','0','<as><a><i><![CDATA[B]]></i></a></as>','25','','1','25','2011-04-21 21:18:49','1','10','1','0','0')" --number-of-queries=10000 -uspace -h192.168.56.221 -p888888
mysqlslap  --concurrency=10 --iterations=1 --create-schema=tongchao --query="INSERT INTO ol_answerresult_test (UniqueKey, TagCatalogId,RootCatalogId,UserId,QuestionId,CorrectCount,ErrorCount, LastIsCorrect,LastAnswerXML,TotalCostTime,Reviews, AnswerResultCategory, LastCostTime, LastAnswerTime,IsPublic,SUBJECT,TotalCount,AnswerMode,ExerciseWeight)VALUES('3313_67bd0665-3d82-4622-9bf0-c4bb36fd2cd6', 7122, '7115', 3313, '67bd0665-3d82-4622-9bf0-c4bb36fd2cd6','1','1','0','<as><a><i><![CDATA[B]]></i></a></as>','25','','1','25','2011-04-21 21:18:49','1','10','1','0','0')" --number-of-queries=10000 -uspace -h192.168.56.221 -p888888 -P3307

你可能感兴趣的:(mysql)