Skip to main content
Loading
Version: Operator 1.x.x

HDD Storage With Data In Index

note

This configuration was removed in server 6.4.

Here we provide configuration for a specialized namespace where records have a single-bin and fit in 8 bytes.

For more details, visit configuration of HDD Storage Engine with Data in Index Engine.

Create the namespace configuration

Following is the storage-specific config for the Aerospike cluster CR file.

storage:
volumes:
- path: /opt/aerospike
storageClass: ssd
volumeMode: filesystem
sizeInGB: 1
- path: /opt/aerospike/data/test
storageClass: ssd
volumeMode: filesystem
sizeInGB: 3
- path: /opt/aerospike/data/bar
storageClass: ssd
volumeMode: filesystem
sizeInGB: 3
.
.
.
aerospikeConfig:
service:
feature-key-file: /etc/aerospike/secret/features.conf
security:
enable-security: true
namespaces:
- name: test
memory-size: 2000000000
single-bin: true
data-in-index: true
replication-factor: 1
storage-engine:
type: device
files:
- /opt/aerospike/data/test/test.dat
filesize: 2000000000
data-in-memory: true
- name: bar
memory-size: 3000000000
single-bin: true
data-in-index: true
replication-factor: 1
storage-engine:
type: device
files:
- /opt/aerospike/data/bar/bar.dat
filesize: 2000000000
data-in-memory: true

Get full CR file here.

Deploy the cluster

Follow the instructions here to deploy this configuration.