Skip to main content
Version: 3.1.0 (Latest)

RocksDB Storage

RocksDB is a persistent storage engine based on an LSM tree. It is best used in environments with a large number of write requests.

Profile Configuration

Each Apache Ignite storage engine can have several storage profiles. Each profile has the following properties:

PropertyDefaultDescription
engineThe name of the storage engine.
sizeBytes256 * 1024 * 1024Sets the space allocated to the storage profile, in bytes.
writeBufferSizeBytes64 * 1024 * 1024Size of rocksdb write buffer.

Configuration Example

In Apache Ignite 3, you can create and maintain configuration in either HOCON or JSON. The configuration file has a single root "node," called ignite. All configuration sections are children, grandchildren, etc., of that node. The example below shows how to configure a storage profile with RocksDB storage:

{
"ignite" : {
"storage" : {
"profiles" : [
{
"name" : "rocks_profile",
"engine" : "rocksDb",
"sizeBytes" : 2560000
}
]
}
}
}

You can then use the profile (in this case, rocks_profile) in your distribution zone configuration.