![]() |
Apache Ignite.NET
|
Configures Apache Ignite persistent store. More...
Public Member Functions | |
PersistentStoreConfiguration () | |
Initializes a new instance of the PersistentStoreConfiguration class. More... | |
Public Attributes | |
const int | DefaultCheckpointingThreads = 1 |
Default value for CheckpointingThreads. More... | |
const int | DefaultWalHistorySize = 20 |
Default value for WalHistorySize. More... | |
const int | DefaultWalSegments = 10 |
Default value for WalSegments. More... | |
const int | DefaultWalSegmentSize = 64 * 1024 * 1024 |
Default value for WalSegmentSize. More... | |
const int | DefaultTlbSize = 128 * 1024 |
Default value for TlbSize. More... | |
const int | DefaultWalRecordIteratorBufferSize = 64 * 1024 * 1024 |
Default value for WalRecordIteratorBufferSize. More... | |
const long | DefaultWalFsyncDelayNanos = 1000 |
Default value for WalFsyncDelayNanos. More... | |
const int | DefaultSubIntervals = 5 |
The default sub intervals. More... | |
const string | DefaultWalStorePath = "db/wal" |
Default value for WalStorePath. More... | |
const string | DefaultWalArchivePath = "db/wal/archive" |
Default value for WalArchivePath. More... | |
Static Public Attributes | |
static readonly TimeSpan | DefaultCheckpointingFrequency = TimeSpan.FromSeconds(180) |
Default value for CheckpointingFrequency. More... | |
static readonly TimeSpan | DefaultLockWaitTime = TimeSpan.FromSeconds(10) |
Default value for LockWaitTime. More... | |
static readonly TimeSpan | DefaultWalFlushFrequency = TimeSpan.FromSeconds(2) |
Default value for WalFlushFrequency. More... | |
static readonly TimeSpan | DefaultRateTimeInterval = TimeSpan.FromSeconds(60) |
The default rate time interval. More... | |
Properties | |
string | PersistentStorePath [get, set] |
Gets or sets the path where data and indexes will be persisted. More... | |
TimeSpan | CheckpointingFrequency [get, set] |
Gets or sets the checkpointing frequency which is a minimal interval when the dirty pages will be written to the Persistent Store. More... | |
long | CheckpointingPageBufferSize [get, set] |
Gets or sets the size of the checkpointing page buffer. More... | |
int | CheckpointingThreads [get, set] |
Gets or sets the number of threads for checkpointing. More... | |
TimeSpan | LockWaitTime [get, set] |
Gets or sets the persistent manager file lock wait time. More... | |
int | WalHistorySize [get, set] |
Gets or sets the number of checkpoints to store in WAL (Write Ahead Log) history. More... | |
int | WalSegments [get, set] |
Gets or sets a number of WAL (Write Ahead Log) segments to work with. For performance reasons, the whole WAL is split into files of fixed length called segments. More... | |
int | WalSegmentSize [get, set] |
Gets or sets the size of the WAL (Write Ahead Log) segment. For performance reasons, the whole WAL is split into files of fixed length called segments. More... | |
string | WalStorePath [get, set] |
Gets or sets the path to the directory where WAL (Write Ahead Log) is stored. More... | |
string | WalArchivePath [get, set] |
Gets or sets the path to the directory where WAL (Write Ahead Log) archive is stored. Every WAL segment will be fully copied to this directory before it can be reused for WAL purposes. More... | |
WalMode | WalMode [get, set] |
Gets or sets the WAL (Write Ahead Log) mode. More... | |
int | TlbSize [get, set] |
Gets or sets the size of the TLB (Thread-Local Buffer), in bytes. More... | |
TimeSpan | WalFlushFrequency [get, set] |
Gets or sets the WAL (Write Ahead Log) flush frequency. More... | |
long | WalFsyncDelayNanos [get, set] |
Gets or sets the WAL (Write Ahead Log) fsync (disk sync) delay, in nanoseconds More... | |
int | WalRecordIteratorBufferSize [get, set] |
Gets or sets the size of the WAL (Write Ahead Log) record iterator buffer, in bytes. More... | |
bool | AlwaysWriteFullPages [get, set] |
Gets or sets a value indicating whether full pages should always be written. More... | |
bool | MetricsEnabled [get, set] |
Gets or sets a value indicating whether to enable persistent store metrics. See IIgnite.GetPersistentStoreMetrics. More... | |
TimeSpan | RateTimeInterval [get, set] |
Gets or sets the length of the time interval for rate-based metrics. This interval defines a window over which hits will be tracked. More... | |
int | SubIntervals [get, set] |
Number of sub-intervals to split the RateTimeInterval into to track the update history. More... | |
Apache.Ignite.Core.PersistentStore.PersistentStoreConfiguration.PersistentStoreConfiguration | ( | ) |
|
static |
const int Apache.Ignite.Core.PersistentStore.PersistentStoreConfiguration.DefaultCheckpointingThreads = 1 |
|
static |
|
static |
const int Apache.Ignite.Core.PersistentStore.PersistentStoreConfiguration.DefaultSubIntervals = 5 |
const int Apache.Ignite.Core.PersistentStore.PersistentStoreConfiguration.DefaultTlbSize = 128 * 1024 |
const string Apache.Ignite.Core.PersistentStore.PersistentStoreConfiguration.DefaultWalArchivePath = "db/wal/archive" |
|
static |
const long Apache.Ignite.Core.PersistentStore.PersistentStoreConfiguration.DefaultWalFsyncDelayNanos = 1000 |
const int Apache.Ignite.Core.PersistentStore.PersistentStoreConfiguration.DefaultWalHistorySize = 20 |
const int Apache.Ignite.Core.PersistentStore.PersistentStoreConfiguration.DefaultWalRecordIteratorBufferSize = 64 * 1024 * 1024 |
const int Apache.Ignite.Core.PersistentStore.PersistentStoreConfiguration.DefaultWalSegments = 10 |
const int Apache.Ignite.Core.PersistentStore.PersistentStoreConfiguration.DefaultWalSegmentSize = 64 * 1024 * 1024 |
const string Apache.Ignite.Core.PersistentStore.PersistentStoreConfiguration.DefaultWalStorePath = "db/wal" |
|
getset |
|
getset |
|
getset |
Default is 0
: Ignite will choose buffer size automatically.
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |