Difference between revisions of "Menggunakan mysqlslap custom queries"
Jump to navigation
Jump to search
Randymatheas (talk | contribs) (Created page with "Jika kita ingin men-test ke database yang sudah ada, kita dapat menggunakan custom query, seperti mysqlslap -h localhost -u root -p123456 --create-schema=DATABASE_NAME --qu...") |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
Jika kita ingin men-test ke database yang sudah ada, kita dapat menggunakan custom query, seperti | Jika kita ingin men-test ke database yang sudah ada, kita dapat menggunakan custom query, seperti | ||
− | mysqlslap -h localhost -u root -p123456 --create-schema=DATABASE_NAME --query="SELECT * from table_name;" --concurrency=100 --number-of-queries=100 | + | mysqlslap -h localhost -u root -p123456 --create-schema=DATABASE_NAME |
+ | --query="SELECT * from table_name;" --concurrency=100 --number-of-queries=100 |
Revision as of 15:42, 22 November 2021
Jika kita ingin men-test ke database yang sudah ada, kita dapat menggunakan custom query, seperti
mysqlslap -h localhost -u root -p123456 --create-schema=DATABASE_NAME --query="SELECT * from table_name;" --concurrency=100 --number-of-queries=100