Skip to content

Commit

Permalink
workload: add querylog workload generator
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yuzefovich committed Mar 20, 2019
1 parent 4aba654 commit d535f68
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 d535f68

Please sign in to comment.