About data_in_memory

Hi,there, I am new using aerospike.If I set data_in_memory true ,the data will store in memory? or it will store in memory and disk.Thanks a lot.

The metadata about each record is always kept in the in-memory primary index, while each namespace defines what its storage will be. All the records in a given namespace will be stored in the same way. That can be in-memory without persistence, in-memory with persistence, on Disk, or in the index (if the data is small enough).

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.