Database / RocksDB Basics Interview Questions
What is a Key-Value Store?
A key-value store is a type of database that stores data as simple pairs, a unique key mapped to an associated value, without the fixed rows, columns, or schema of a relational database.
- Supports basic operations like storing a value under a key, retrieving a value by its key, and deleting a key
- Values are typically treated as opaque byte sequences, the store itself doesn't need to understand their internal structure
- Trades the rich querying of relational systems for simplicity and speed on straightforward lookups
RocksDB is this kind of store, and its simple interface is exactly what makes it a convenient, flexible building block for other systems to build more complex data models on top of.
More Related questions...