Skip to content

Commit

Permalink
Merge #35672
Browse files Browse the repository at this point in the history
35672: workload: add querylog workload generator r=yuzefovich a=yuzefovich

Adds a querylog workload generator that generates and executes the
queries based on the provided query log (according to the frequency
of the queries found in the log). It assumes that the corresponding
data has already been loaded and attempts to simulate the workload
that was captured by the log.

Release note: None

Co-authored-by: Yahor Yuzefovich <[email protected]>
  • Loading branch information
craig[bot] and yuzefovich committed Mar 20, 2019
2 parents fb81b00 + d535f68 commit 6ac635f
Show file tree
Hide file tree
Showing 3 changed files with 854 additions and 3 deletions.
1 change: 1 addition & 0 deletions pkg/ccl/workloadccl/allccl/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
_ "github.com/cockroachdb/cockroach/pkg/workload/kv"
_ "github.com/cockroachdb/cockroach/pkg/workload/ledger"
_ "github.com/cockroachdb/cockroach/pkg/workload/querybench"
_ "github.com/cockroachdb/cockroach/pkg/workload/querylog"
_ "github.com/cockroachdb/cockroach/pkg/workload/queue"
_ "github.com/cockroachdb/cockroach/pkg/workload/rand"
_ "github.com/cockroachdb/cockroach/pkg/workload/sqlsmith"
Expand Down
Loading

0 comments on commit 6ac635f

Please sign in to comment.