mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-25 02:00:38 -06:00
Updating the examples and workload with Delete table operation
This commit is contained in:
parent
fd857670df
commit
6a49348cef
@ -7,6 +7,8 @@ scenarios:
|
||||
read: run driver=dynamodb tags=block:read region=us-east-1
|
||||
main: run driver=dynamodb tags=block:main region=us-east-1
|
||||
read01: run driver=dynamodb tags='name:.*main-read-01' region=us-east-1
|
||||
delete:
|
||||
table: run driver=dynamodb tags==block:delete threads==1 cycles==UNDEF
|
||||
|
||||
bindings:
|
||||
# for ramp-up and verify phases
|
||||
@ -173,3 +175,10 @@ blocks:
|
||||
ConsistentRead: true
|
||||
projection: data0, data1, data2, data3, data4, data5, data6, data7
|
||||
Limit: "{limit}"
|
||||
|
||||
- name: delete
|
||||
tags:
|
||||
phase: delete
|
||||
ops:
|
||||
delete-table:
|
||||
DeleteTable: TEMPLATE(table,tabular)
|
@ -13,6 +13,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
|
||||
delete:
|
||||
table: run driver=dynamodb tags==block:delete threads==1 cycles==UNDEF
|
||||
|
||||
params:
|
||||
instrument: TEMPLATE(instrument,true)
|
||||
@ -82,3 +84,7 @@ blocks:
|
||||
order: reverse
|
||||
limit: 10
|
||||
|
||||
delete:
|
||||
ops:
|
||||
delete-table:
|
||||
DeleteTable: TEMPLATE(table,timeseries)
|
@ -38,6 +38,7 @@ Specifically, the following commands are supported as of this release:
|
||||
* GetItem
|
||||
* PutItem
|
||||
* Query
|
||||
* DeleteTable
|
||||
|
||||
## Examples
|
||||
|
||||
@ -103,4 +104,8 @@ ops:
|
||||
## optionally, set an exclusive start key
|
||||
# ExclusiveStartKey: key-spec
|
||||
|
||||
example-DeleteTable:
|
||||
# the type and target of the command
|
||||
# the table identifier/name (string) to delete
|
||||
DeleteTable: TEMPLATE(table,timeseries)
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user