# KV Storage in TiKV Review
![`smart`](TiKVRegionStorageKV_en_001_20231031.png)
------------------------------------------------------------------------------
Each row in the database is encoded into a (Key, Value) key-value pair based on the following rules, which are then stored in TiKV:
- Key:   `tablePrefix{TableID}_recordPrefixSep{RowID}`
- Value: `[col1, col2, col3, col4]`
