Recently, I was involved in introducing the Aerospike data warehouse into our product. We tried to develop the best configuration for our namespace. The requirement of data storage means that we need to have a storage mechanism as a device. we indicated the data in memory as true.
My question is: does an data-in-memoryattempt to load ALL the data of the backup storage into memory make, as the vague description suggests?
Always keep a copy of all data in memory.
Or will he pay attention to the setting memory-sizein the namespace and download only the memory-sizeamount of data from the backup storage?
A description of the setting was obtained from the documentation .
I spoke with a guy who first used aerospace technology to try to find out if he knew and was not sure, so I'm looking for clarifications.
For reference, my namespace configuration looks something like this: with a clearly lower memory quota than backup storage
namespace Test {
replication-factor 2
memory-size 4G
default-ttl 0
storage-engine device {
file /opt/aerospike/data/Test.dat
filesize 16G
data-in-memory true
}
}
source
share