Aerospike-Architecture series Data Model, aerospike
Data Model)
Aerospike uses schema-less data models, which means that the data stored in the database does not conform to the strict mode.
This gives you the flexibility to store data in Aerospike-you do not need to modify the schema for data modification, and the existing data in the database does not need to comply with the specified schema.
The schema-less data model of Aerospike allows dynamic addition of new types of bin. However, the correspondence between the bin name and data still needs to be observed. Applications must use bin consistency to ensure the correctness of queries and aggregation.
How Data is Organized (How Data is Organized)
Storage Using turenamespaces (namespace)
Namespace is the top-level container of data. Just like in standard RDBMS, namespace can be a part of a database or a group of databases, which determines how you store and manage data in namespace.
A namespace contains records, indexes, and policies ). Policies determine namespace behaviors, including:
- How to store data: stored in memory or disk
- Number of copies of a record
- Record expiration time