Skip to content

Commit 92f8b85

Browse files
lilin90CaitinChen
authored andcommitted
faq: update description and delete repeated question (pingcap#467)
1 parent 8a6801f commit 92f8b85

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

FAQ.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,9 @@ Take `Release Version: v1.0.3-1-ga80e796` as an example of version number descri
302302
303303
#### What's the difference between various TiDB master versions? How to avoid using the wrong TiDB-Ansible version?
304304
305-
The TiDB community is highly active. After the GA release, the engineers have been keeping optimizing and fixing bugs. Therefore, the TiDB version is updated quite fast. If you want to keep informed of the latest version, see [TiDB Weekly update](https://pingcap.com/weekly/).
305+
The TiDB community is highly active. After the 1.0 GA release, the engineers have been keeping optimizing and fixing bugs. Therefore, the TiDB version is updated quite fast. If you want to keep informed of the latest version, see [TiDB Weekly update](https://pingcap.com/weekly/).
306306
307-
It is recommended to deploy the TiDB cluster using the latest version of TiDB-Ansible, which will also be updated along with the TiDB version. Besides, TiDB has a unified management of the version number after GA release. You can view the version number using the following two methods:
307+
It is recommended to deploy the TiDB cluster using the latest version of TiDB-Ansible, which will also be updated along with the TiDB version. Besides, TiDB has a unified management of the version number after the 1.0 GA release. You can view the version number using the following two methods:
308308
309309
- `select tidb_version()`
310310
- `tidb-server -V`
@@ -674,10 +674,6 @@ There are [similar limits](https://cloud.google.com/spanner/docs/limits) on Goog
674674

675675
3. As for `delete` and `update`, you can use `limit` plus circulation to operate.
676676

677-
#### Does TiDB release space immediately after deleting data?
678-
679-
`DELETE`, `TRUNCATE` and `DROP` do not release space immediately. For `TRUNCATE` and `DROP` operations, TiDB deletes the data and releases the space after reaching the GC (garbage collection) time (10 minutes by default). For the `DELETE` operation, TiDB deletes the data and does not release the space based on the GC mechanism, but reuses the space when subsequent data is committed to RocksDB and compacted.
680-
681677
#### Can I execute DDL operations on the target table when loading data?
682678

683679
No. None of the DDL operations can be executed on the target table when you load data, otherwise the data fails to be loaded.
@@ -686,9 +682,9 @@ No. None of the DDL operations can be executed on the target table when you load
686682

687683
Yes. But the `load data` does not support the `replace into` syntax.
688684

689-
#### How long does it take to reclaim disk space after deleting data?
685+
#### Does TiDB release space immediately after deleting data?
690686

691-
None of the `Delete`, `Truncate` and `Drop` operations releases data immediately. For the `Truncate` and `Drop` operations, after the TiDB GC (Garbage Collection) time (10 minutes by default), the data is deleted and the space is released. For the `Delete` operation, the data is deleted but the space is not released according to TiDB GC. When data is written into RocksDB and executes `Compact`, the space is reused.
687+
None of the `DELETE`, `TRUNCATE` and `DROP` operations release data immediately. For the `TRUNCATE` and `DROP` operations, after the TiDB GC (Garbage Collection) time (10 minutes by default), the data is deleted and the space is released. For the `DELETE` operation, the data is deleted but the space is not released according to TiDB GC. When subsequent data is written into RocksDB and executes `COMPACT`, the space is reused.
692688

693689
#### Why does the query speed getting slow after deleting data?
694690

0 commit comments

Comments
 (0)