Hi,
I haven’t been able to find if this is possible. Excuse me if this is a simple question. Maybe i missed it in the docs?
Is it possible to have a file storage only bin with SSD and NOT storing this data in memory.
My current configuration looks like this:
namespace cache {
memory-size 1G
storage-engine memory
}
namespace sessions {
memory-size 42G
storage-engine memory
default-ttl 30d
high-water-memory-pct 90
}
namespace clicks {
replication-factor 0
memory-size 8G
default-ttl 0
# To use file storage backing, comment out the line above and use the
# following lines instead.
storage-engine device {
file /opt/aerospike/data/click.dat
filesize 8G
data-in-memory true # Store data in memory in addition to file.
}
}
namespace platform {
replication-factor 0
memory-size 1G
default-ttl 0
# To use file storage backing, comment out the line above and use the
# following lines instead.
storage-engine device {
file /opt/aerospike/data/platform.dat
filesize 1G
data-in-memory false # Store data in memory in addition to file.
}
}
I’m wanting to add for this new bin:
namespace geoip {
replication-factor 0
storage-engine device {
file /opt/aerospike/data/geoip.dat
filesize 4G
data-in-memory false # Store data in memory in addition to file.
}
}
The bin geoip only resides in file storage but must also be replicated to all the other nodes.
Is this possible?
Thanks