Permalink
Browse files

FAQ: update Lightning description (#781)

  • Loading branch information...
lilin90 authored and CaitinChen committed Nov 29, 2018
1 parent 36deb90 commit d54f0849e50fa99d78aca2d876429ec7026299e9
Showing with 1 addition and 1 deletion.
  1. +1 −1 FAQ.md
2 FAQ.md
@@ -881,7 +881,7 @@ If the amount of data that needs to be deleted at a time is very large, this loo
#### How to improve the data loading speed in TiDB?
- Currently Lightning is in development for distributed data import. It should be noted that the data import process does not perform a complete transaction process for performance reasons. Therefore, the ACID constraint of the data being imported during the import process cannot be guaranteed. The ACID constraint of the imported data can only be guaranteed after the entire import process ends. Therefore, the applicable scenarios mainly include importing new data (such as a new table or a new index) or the full backup and restoring (truncate the original table and then import data).
- The [Lightning](tools/lightning/overview-architecture.md) tool is developed for distributed data import. It should be noted that the data import process does not perform a complete transaction process for performance reasons. Therefore, the ACID constraint of the data being imported during the import process cannot be guaranteed. The ACID constraint of the imported data can only be guaranteed after the entire import process ends. Therefore, the applicable scenarios mainly include importing new data (such as a new table or a new index) or the full backup and restoring (truncate the original table and then import data).
- Data loading in TiDB is related to the status of disks and the whole cluster. When loading data, pay attention to metrics like the disk usage rate of the host, TiClient Error, Backoff, Thread CPU and so on. You can analyze the bottlenecks using these metrics.
#### What should I do if it is slow to reclaim storage space after deleting data?

0 comments on commit d54f084

Please sign in to comment.