Titan Architecture
Titan store values separately from the LSM-tree during flush and compaction. The value in the LSM tree is the position index to the blob file of the real value. For more details on the design and implementation of Titan, see Titan: A RocksDB Plugin to Reduce Write Amplification.
As Titan has not reached ultimate maturity to be applied in production, it is disabled in TiKV by default. Before enabling it, make sure you understand the above notes and have evaluated your scenario and needs.
To enable Titan in TiKV, set the following in the TiKV configuration file:
For the information of all the Titan configuration parameters, see Titan-related parameters.
Enter the fallback mode using :
When using this command, make sure you have already enabled Titan.
Wait until the number of blob files reduces to 0. You can also accelerate it by .