# The Principle Of fast Recover Of Tidb Data

+ MVCC is a feature native to TiDB databases. By default, MVCC is used without configuration. It uses multiple historical snapshots to maintain the consistency of data for concurrent access at a certain point in time.


![left](./student-guide/diagram/22-Principle-of-fast-data-recovery-01-01.png)

------------------------------------------------------------

Multiversion concurrency control (MVCC) is a feature native to TiDB databases. It is used by default without configuration. It uses multiple historical snapshots to maintain the consistency of concurrent access to data at a certain point in time. Lays the foundation for fast recover of data based on MVCC.

Retention of historical versions of MVCC is affected by the garbage cleaning policy GC, in other words, the cleanup policy is a prerequisite for data recover.
For the MVCC mechanism of TiDB databases, we can refer to Lesson 03: TiKV.