Skip to content

main,modes: add extra CQL clause option#41

Open
psarna wants to merge 1 commit intoscylladb:masterfrom
psarna:add_extra_clause
Open

main,modes: add extra CQL clause option#41
psarna wants to merge 1 commit intoscylladb:masterfrom
psarna:add_extra_clause

Conversation

@psarna
Copy link
Contributor

@psarna psarna commented Dec 21, 2020

The extra-clause option allows appending a custom CQL clause
to all statements in the chosen workload. Example usage:

$> ./scylla-bench -mode read -workload sequential -extra-clause "using timeout 10ms"
Results
Time (avg):	 48.997763214s
Total ops:	 49748
Total rows:	 49748
Total errors:	 50252
Operations/s:	 1015.0848019658131
Rows/s:		 1015.0848019658131
Latency:
  max:		 15.040511ms
  99.9th:	 11.468799ms
  99th:		 10.027007ms
  95th:		 8.945663ms
  90th:		 8.388607ms
  median:	 6.062079ms
  mean:		 6.225544ms

The extra-clause option allows appending a custom CQL clause
to all statements in the chosen workload. Example usage:

$> ./scylla-bench -mode read -workload sequential -extra-clause "using timeout 10ms"
Results
Time (avg):	 48.997763214s
Total ops:	 49748
Total rows:	 49748
Total errors:	 50252
Operations/s:	 1015.0848019658131
Rows/s:		 1015.0848019658131
Latency:
  max:		 15.040511ms
  99.9th:	 11.468799ms
  99th:		 10.027007ms
  95th:		 8.945663ms
  90th:		 8.388607ms
  median:	 6.062079ms
  mean:		 6.225544ms
@nyh
Copy link
Contributor

nyh commented Jan 3, 2021

This addition seems reasonable to me, but I'd love to see someone more familiar than me with scylla-bench review this before I go ahead and commit it.
Also, maybe this new option should be documented in README.md, which seems to document most (all?) of the existing options?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments