You are previewing NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence.

NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence

Cover of NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence by Martin Fowler... Published by Addison-Wesley Professional
O'Reilly logo

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.

Image

8.1. What Is a Key-Value Store

Key-value stores are the simplest NoSQL data ...

The best content for your career. Discover unlimited learning on demand for around $1/day.