Mysql slow concurrent GROUP BY queries
问题 I have weird problem with mysql and GROUP BY queries. See below: mysqlslap --concurrency=5 --iterations=1 --query=/root/test.sql --create- schema=testd -u root -p Benchmark Average number of seconds to run all queries: 2.575 seconds Minimum number of seconds to run all queries: 2.575 seconds Maximum number of seconds to run all queries: 2.575 seconds Number of clients running queries: 5 Average number of queries per client: 1 But when I'm running just 1 query it will look like this: mysqlslap