Last active
October 3, 2022 13:56
-
-
Save andrewbaptist/27cee6c88ac9e704b5efaf15a37d4a37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./dev build --cross cockroach workload | |
# Set up cluster | |
roachprod create $CLUSTER -n 7 | |
roachprod grafana-start $CLUSTER | |
roachprod stop $CLUSTER:1-7 | |
roachprod put $CLUSTER:1-6 artifacts/cockroach ./cockroach | |
roachprod start $CLUSTER:1-6 | |
roachprod put $CLUSTER:7 artifacts/workload ./workload | |
# Initialize with 20K warehouses to have a lot of data in the system | |
roachprod run $CLUSTER:7 -- ./workload fixtures import tpcc --warehouses=20000 --checks=false | |
# Took too long... | |
# [-] 11 imported 1.3 TiB bytes in 9 tables (took 2h29m54.980686134s, 156.47 MiB/s) | |
# Ramp up over 2 hours - 20,000 should be well above what this cluster can support | |
roachprod run $CLUSTER:7 -- ./workload run tpcc --warehouses=20000 --ramp=12h --tolerate-errors $(roachprod pgurl $CLUSTER:1-6) | |
Author
andrewbaptist
commented
Oct 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment