Enum Temperature
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
A hint about how hot the data in a file is, which lets RocksDb place files on storage suited to how often they are read.
public enum Temperature
Fields
Cold = 12Read rarely. Suited to cheaper, slower storage.
Cool = 10Read occasionally.
Hot = 4Read very frequently. Belongs on the fastest storage.
Ice = 16Effectively archival, read almost never.
Unknown = 0No temperature information. This is the default.
Warm = 8Read regularly, but less than Hot.
Remarks
RocksDb only passes this through to the environment; a plain filesystem ignores it. It matters when the Env in use maps temperatures onto different storage tiers.
The values are not contiguous, and are mirrored from
include/rocksdb/types.h because the C API declares this parameter as a
plain int.