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 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
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.
Key-value stores are the simplest NoSQL data ...