Chapter 8. Key-Value Databases
A key-value store is a simple hash table, primarily used when all access to the database is via primary key. Think of a table in a traditional RDBMS with two columns, such as ID
and NAME
, the ID
column being the key and NAME
column storing the value. In an RDBMS, the NAME
column is restricted to storing data of type String
. The application can provide an ID
and VALUE
and persist the pair; if the ID
already exists the current value is overwritten, otherwise a new entry is created. Let’s look at how terminology compares in Oracle and Riak.
8.1. What Is a Key-Value Store
Key-value stores are the simplest NoSQL data ...
Get NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.