Details
-
Task
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
The scenario I have in mind is to generate a big table once and then subsequently query it using distinct auto-generated workloads. While the no-drop option leaves the auto-generated mysqlslap database in the server, when one wants to subsequently auto-generate a query- only load, this is not possible since auto-generate-sql tries to create mysqlslap again. So, with a dont-create flag, the flow would be:
mysqlslap -a --auto-generate-sql-write-number=10000000 --no-drop
mysqlslap -a --dont-create --auto-generate-sql-load-type=read --concurrency=50 ...
mysqlslap -a --dont-create --auto-generate-sql-load-type=update --concurrency=50 ...
...