Can I use CockroachDB as a KV store?

,

Source: Issue #138

Is there any way of accessing and using a cluster’s underlying kv store?

CockroachDB is a distributed SQL database built on a transactional and strongly-consistent key-value store. At this time, it is not possible to access the key-value store directly. As an alternative, you can create a SQL table with two columns, k and v, and set k as the primary key. Note that if you group these columns into a single column family, each row will be stored as a single key-value pair in the underlying key-value store.

1 Like