# Kv Mapping

+ Data in TiDB is stored as KV key-value pairs in RocksDB
+ The basic unit of data storage management is Region
+ The default size of each region is 96 MB
+ Each region divides the data storage range according to the left, closed and right interval, for example: `[a~ d), [d ~ g)` 
+ Each SCHEMA is assigned a unique tableID
------------------------------------------------------------

- Data in TiDB is stored as KV key-value pairs in RocksDB
- The basic unit of data storage management is Region
  - The default size of each region is 96MB
  - Each region divides the data storage range according to the interval left, closed and right, for example: `[a ~ d), [d ~ g)` 
  - Each schema is assigned a unique tableId
- Mapping rules for KV (heap table\ non-clustered table)
  - Value stores real row data in KV storage
