Skip to content

Commit

Permalink
update the local storage description from 'mocktikv' to 'unistore' (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta authored Mar 30, 2021
1 parent 51769e2 commit 0bae905
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions command-line-flags-for-tidb-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ When you start the TiDB cluster, you can use command-line options or environment

## `--path`

- The path to the data directory for local storage engine like "mocktikv"
- For `--store = tikv`, you must specify the path; for `--store = mocktikv`, the default value is used if you do not specify the path.
- The path to the data directory for local storage engine like "unistore"
- For `--store = tikv`, you must specify the path; for `--store = unistore`, the default value is used if you do not specify the path.
- For the distributed storage engine like TiKV, `--path` specifies the actual PD address. Assuming that you deploy the PD server on 192.168.100.113:2379, 192.168.100.114:2379 and 192.168.100.115:2379, the value of `--path` is "192.168.100.113:2379, 192.168.100.114:2379, 192.168.100.115:2379".
- Default: "/tmp/tidb"
- You can use `tidb-server --store=mocktikv --path=""` to enable a pure in-memory TiDB.
- You can use `tidb-server --store=unistore --path=""` to enable a pure in-memory TiDB.

## `--tmp-storage-path`

Expand Down Expand Up @@ -162,8 +162,8 @@ When you start the TiDB cluster, you can use command-line options or environment
## `--store`

- Specifies the storage engine used by TiDB in the bottom layer
- Default: "mocktikv"
- You can choose "mocktikv" or "tikv". ("mocktikv" is the local storage engine; "tikv" is a distributed storage engine)
- Default: "unistore"
- You can choose "unistore" or "tikv". ("unistore" is the local storage engine; "tikv" is a distributed storage engine)

## `--token-limit`

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The `BACKUP` statement is blocked until the entire backup task is finished, fail

Only one `BACKUP` and [`RESTORE`](/sql-statements/sql-statement-restore.md) task can be executed at a time. If a `BACKUP` or `RESTORE` statement is already being executed on the same TiDB server, the new `BACKUP` execution will wait until all previous tasks are finished.

`BACKUP` can only be used with "tikv" storage engine. Using `BACKUP` with the "mocktikv" engine will fail.
`BACKUP` can only be used with "tikv" storage engine. Using `BACKUP` with the "unistore" engine will fail.

## Synopsis

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The `RESTORE` statement is blocking, and will finish only after the entire resto

Only one `BACKUP` and `RESTORE` task can be executed at a time. If a `BACKUP` or `RESTORE` task is already running on the same TiDB server, the new `RESTORE` execution will wait until all previous tasks are done.

`RESTORE` can only be used with "tikv" storage engine. Using `RESTORE` with the "mocktikv" engine will fail.
`RESTORE` can only be used with "tikv" storage engine. Using `RESTORE` with the "unistore" engine will fail.

## Synopsis

Expand Down

0 comments on commit 0bae905

Please sign in to comment.