Mysqlstap: tutorial dasar
Jump to navigation
Jump to search
Perintah dasar
mysqlslap --user=USERNAME --PASSWORD --host=localhost/IP ADDRESS --auto-generate-sql --verbose
Menambahkan concurrency dan iterations
mysqlslap --user=USERNAME --PASSWORD --host=localhost --concurrency=40 --iterations=20 --auto-generate-sql --verbose
Contoh perintah ke database wordpress
mysqlslap --user=root --password --host=localhost --concurrency=40 --iterations=10 --create-schema=wordpress --query="SELECT * FROM wp_commentmeta;" --verbose