mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
docs updates
This commit is contained in:
@@ -10,10 +10,10 @@ Let's run a simple test against a cluster to establish some basic familiarity wi
|
|||||||
## Create a Schema
|
## Create a Schema
|
||||||
|
|
||||||
We will start by creating a simple schema in the database. From your command line, go ahead and execute the following
|
We will start by creating a simple schema in the database. From your command line, go ahead and execute the following
|
||||||
command, replacing the `host=<dse-host-or-ip>` with that of one of your database nodes.
|
command, replacing the `host=<host-or-ip>` with that of one of your database nodes.
|
||||||
|
|
||||||
```
|
```
|
||||||
./nb run driver=cql workload=cql-keyvalue tags=phase:schema host=<dse-host-or-ip>
|
./nb run driver=cql workload=cql-keyvalue tags=phase:schema host=<host-or-ip>
|
||||||
```
|
```
|
||||||
|
|
||||||
This command is creating the following schema in your database:
|
This command is creating the following schema in your database:
|
||||||
@@ -79,7 +79,7 @@ NoSQLBench deterministically generates data, so the generated values will be the
|
|||||||
|
|
||||||
Now we are ready to write some data to our database. Go ahead and execute the following from your command line:
|
Now we are ready to write some data to our database. Go ahead and execute the following from your command line:
|
||||||
|
|
||||||
./nb run driver=cql workload=cql-keyvalue tags=phase:rampup host=<dse-host-or-ip> cycles=100k --progress console:1s
|
./nb run driver=cql workload=cql-keyvalue tags=phase:rampup host=<host-or-ip> cycles=100k --progress console:1s
|
||||||
|
|
||||||
Note the differences between this and the command that we used to generate the schema.
|
Note the differences between this and the command that we used to generate the schema.
|
||||||
|
|
||||||
@@ -121,7 +121,7 @@ cql-keyvalue: 100.00%/Finished (details: min=0 cycle=100000 max=100000)
|
|||||||
Now that we have a base dataset of 100k rows in the database, we will now run a mixed read / write workload, by default
|
Now that we have a base dataset of 100k rows in the database, we will now run a mixed read / write workload, by default
|
||||||
this runs a 50% read / 50% write workload.
|
this runs a 50% read / 50% write workload.
|
||||||
|
|
||||||
./nb run driver=cql workload=cql-keyvalue tags=phase:main host=<dse-host-or-ip> cycles=100k cyclerate=5000 threads=50 --progress console:1s
|
./nb run driver=cql workload=cql-keyvalue tags=phase:main host=<host-or-ip> cycles=100k cyclerate=5000 threads=50 --progress console:1s
|
||||||
|
|
||||||
You should see output that looks like this:
|
You should see output that looks like this:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user