mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-29 02:01:05 -06:00
yaml fixes
This commit is contained in:
parent
8cf73de783
commit
2dc6b42109
@ -7,8 +7,8 @@ scenarios:
|
||||
schema: run driver=dynamodb tags==block:schema threads==1 cycles==UNDEF
|
||||
rampup: run driver=dynamodb tags==block:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
|
||||
main: run driver=dynamodb tags=='block:main.*' cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
||||
main-read: run driver=dynamodb tags==block:main-read cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
||||
main-write: run driver=dynamodb tags==block:main-write cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
||||
main-read: run driver=dynamodb tags==block:main-read cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
||||
main-write: run driver=dynamodb tags==block:main-write cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
||||
|
||||
bindings:
|
||||
seq_key: Mod(<<keycount:1000000000>>); ToString() -> String
|
||||
|
@ -24,7 +24,7 @@ blocks:
|
||||
- name: schema
|
||||
tags:
|
||||
phase: schema
|
||||
params:
|
||||
# params:
|
||||
statements:
|
||||
- create-database: |
|
||||
CREATE DATABASE <<database:bank>>;
|
||||
@ -40,13 +40,13 @@ blocks:
|
||||
- name: rampup
|
||||
tags:
|
||||
phase: rampup
|
||||
params:
|
||||
# params:
|
||||
statements:
|
||||
- rampup-insert: |
|
||||
INSERT INTO "<<database:bank>>"."<<table:banktransaction>>"
|
||||
(code, amount) VALUES ('{seq_key}', {seq_value})
|
||||
ON CONFLICT (code) DO NOTHING;
|
||||
params:
|
||||
# params:
|
||||
tags:
|
||||
name: rampup-insert
|
||||
- name: main-read
|
||||
@ -59,7 +59,7 @@ blocks:
|
||||
- main-find: |
|
||||
SELECT code, amount FROM "<<database:bank>>"."<<table:banktransaction>>"
|
||||
WHERE code = '{rw_key}' AND amount = {rw_value};
|
||||
params:
|
||||
# params:
|
||||
tags:
|
||||
name: main-find
|
||||
- name: main-write
|
||||
@ -71,6 +71,6 @@ blocks:
|
||||
statements:
|
||||
- main-insert: |
|
||||
UPDATE "<<database:bank>>"."<<table:banktransaction>>" SET amount = {seq_value} WHERE code = '{seq_key}';
|
||||
params:
|
||||
# params:
|
||||
tags:
|
||||
name: main-insert
|
||||
|
Loading…
Reference in New Issue
Block a user