mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 11:10:40 +00:00
This workload is added to teach PGO about counters. Tests seem to show it's mostly aligned with existing CQL workloads. The config YAML is based on the default cassandra-stress schema.
14 lines
393 B
YAML
14 lines
393 B
YAML
DROP KEYSPACE IF EXISTS counters;
|
|
|
|
CREATE KEYSPACE IF NOT EXISTS counters
|
|
WITH replication = {'class': 'NetworkTopologyStrategy', 'dc1': '3'};
|
|
|
|
CREATE TABLE IF NOT EXISTS counters.counter1 (
|
|
key blob PRIMARY KEY,
|
|
"C0" counter,
|
|
"C1" counter,
|
|
"C2" counter,
|
|
"C3" counter,
|
|
"C4" counter
|
|
);
|