# Key Prefix in TiKV

![`smart`](ClusteredIndexes03_aa_006_20230922.png)
------------------------------------------------------------------------------
Within the database, other tables may also have a primary key with identifier columns as `1, 2, ..., n`. In order to uniquely locate a row of data in the database, the TiKV `KEY` is prefixed with a generated unique table identifier, forming a unique `KEY` of `Table ID + ID (PK)`. This way, a row of data has a unique global `KEY` within the entire TiKV Map. A TiKV Map organizes data in key-value pairs, where keys are unique identifiers and values are associated data. It provides various operations like put, get, delete, and scan to manipulate and retrieve data. 