Using up to much memory, not enough Disk


#1

Original Postby psdao1102 » Mon May 12, 2014 8:30 am

I have a server with aerospike 3.x installed. Between my nodes I have 64 gigs of ram, and 2 TB of SSD. The problem I’m encountering is that because I use aerospike for not much more than key value pairs, most of my data gets stored in RAM. I need to start using up that SSD, is there anyway i can configure aerospike to keep only so much of its cache in RAM and draw from SSD a bit more.


#2

Postby young » Mon May 12, 2014 8:36 am

Aerospike does not cache data in RAM. Rather, when using SSDs, it will store the index in RAM and the data on SSD.

If you are using a lot of RAM relative to SSD, this may be due to the small size of your objects. Aerospike uses a standard 64 bytes of RAM for the index for every object. However, if your objects are very small, this will be large fraction of the amount on SSD.

Please see the following page for more details.

https://docs.aerospike.com/display/V3/C … ning+Guide