forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
97982: workload: add scaleStats flag r=j82w a=j82w 1. Add `scaleStats` option. 2 threads will do the normal insights queries that cause issues like contention. The remaining threads will do a basic query and change the app name before each call. This will generate a large number of unique stat that will hit the limit in a few minutes. 2. Remove the database flag. Use the more optimal `crdb_internal.generate_test_objects` instead. It can generate dbs faster if trying to test scalability with dbs. Example: `./cockroach workload run insights 'postgresql://[email protected]:26257/insights?sslmode=disable' --scaleStats` Epic: none Closes: cockroachdb#97983 Release note: None Co-authored-by: j82w <[email protected]>
- Loading branch information
Showing
1 changed file
with
66 additions
and
82 deletions.
There are no files selected for viewing
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