Hi,
We are experiencing a high number of evicted objects eventhough there should be plenty of free space.
The aerospike dashboard tells that 14.58GB (conf. memory-size 24G) ram are used and 49.40GB (conf. filesize 164G) disk space are used.
Our sets are mostly key:value (int) with a secondary index on that value.
For now we do not have a dedicated SSD device so we are using the file configuration.
We do not have enough RAM to store it all in-memory, so we are looking for a configuration where we make use of both RAM and Disk.
We thought that by the configuration below aerospike would spread the data over both RAM and Disk, but maybe it is not the case?
Is it correct (and maybe our problem here) that the primary index must fit into the available RAM? Are there a better configuration for us to use?
I hope you can help me
namespace bar {
replication-factor 2
memory-size 24G
default-ttl 0
storage-engine device {
file /opt/aerospike/data/bar.dat
filesize 164G
}
}