You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: FAQ.md
+4-8
Original file line number
Diff line number
Diff line change
@@ -302,9 +302,9 @@ Take `Release Version: v1.0.3-1-ga80e796` as an example of version number descri
302
302
303
303
#### What's the difference between various TiDB master versions? How to avoid using the wrong TiDB-Ansible version?
304
304
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/).
306
306
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:
308
308
309
309
- `select tidb_version()`
310
310
- `tidb-server -V`
@@ -674,10 +674,6 @@ There are [similar limits](https://cloud.google.com/spanner/docs/limits) on Goog
674
674
675
675
3. As for `delete` and `update`, you can use `limit` plus circulation to operate.
676
676
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
-
681
677
#### Can I execute DDL operations on the target table when loading data?
682
678
683
679
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
686
682
687
683
Yes. But the `load data` does not support the `replace into` syntax.
688
684
689
-
#### How long does it take to reclaim disk space after deleting data?
685
+
#### Does TiDB release space immediately after deleting data?
690
686
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.
692
688
693
689
#### Why does the query speed getting slow after deleting data?
0 commit comments