# Rocksdb
__*RocksDB Features*__
+ RocksDB is optimized for Flash storage with minimal latency and uses the LSM storage engine
  + High-performance key-value database
  + Perfect durability mechanism, while guaranteeing performance and safety
  + Good support range query
  + Designed for application servers that need to store terabytes of data to local FLASH or RAM
  + Optimized for small and medium key values stored on high-speed devices - can be stored in FLASH or directly in memory
  + Performance increases linearly with the number of CPU, making it friendly to multi-core systems

------------------------------------------------------------
TiKV does not choose to write data directly to the disk, but instead stores the data in RocksDB. RocksDB is responsible for the specific data landing.

RocksDB is a very good open-source single-instance storage engine that can meet our requirements for single-instance engines. Here, we can simply think that RocksDB is a single-instance key-value map.

RocksDB is optimized for Flash storage with minimal latency, and uses the LSM storage engine.

It has the following characteristics:
- High-performance key-value database
- Perfect durability mechanism, while guaranteeing performance and safety
- Good support for range query
- Designed for application servers that need to store terabytes of data to local FLASH or RAM
- Optimized for small and medium key values stored on high-speed devices - can be stored in FLASH or directly in memory
- Performance increases linearly with the number of CPU, and is friendly to multi-core systems