Valentina Database Core Features In Depth

Valentina DB allows the creation and storage of one or more Key-Value data stores.

In Valentina DB, a KeyValue object is similar to Table objects in the scope of Database. Valentina DB knows how many KeyValues it has and can return a KeyValue by its name or index.

What is a Key-Value Database?

A key-value store, or key-value database, is a data storage paradigm designed for storing, retrieving, and managing associative arrays, a data structure more commonly known today as a dictionary or hash. Dictionaries contain a collection of objects, or records, which in turn have many different fields within them, each containing data. These records are stored and retrieved using a key that uniquely identifies the record, and is used to quickly find the data within the database - WIKIPEDIA

Key-Value Databases & Valentina DB

Valentina Key-Value databases can take advantage of the Valentina DB model:

  • KeyValue data stores can make use of standard Valentina DB journaling
  • KeyValue data stores can be created as a temporary database object; temporary  Key-Value data stores  go into the .tmp volume of Valentina DB, bus is not saved into database schema
  • Key Comparator is used automatically depending on kind of KeyValue and its Key structure
  • Large value Key objects that are not pictures can be compressed if they are compressed upon creation