Class PersistentStoreConfiguration
Configures Apache Ignite persistent store.
Obsolete, use DataStorageConfiguration.
Inheritance
Namespace: Apache.Ignite.Core.PersistentStore
Assembly: Apache.Ignite.Core.dll
Syntax
public class PersistentStoreConfiguration : object
Constructors
PersistentStoreConfiguration()
Initializes a new instance of the PersistentStoreConfiguration class.
Declaration
public PersistentStoreConfiguration()
Fields
DefaultCheckpointingFrequency
Default value for CheckpointingFrequency.
Declaration
public static readonly TimeSpan DefaultCheckpointingFrequency
Field Value
Type | Description |
---|---|
TimeSpan |
DefaultCheckpointingThreads
Default value for CheckpointingThreads.
Declaration
public const int DefaultCheckpointingThreads = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultCheckpointWriteOrder
Default value for CheckpointWriteOrder.
Declaration
public const CheckpointWriteOrder DefaultCheckpointWriteOrder = CheckpointWriteOrder.Sequential
Field Value
Type | Description |
---|---|
CheckpointWriteOrder |
DefaultLockWaitTime
Default value for LockWaitTime.
Declaration
public static readonly TimeSpan DefaultLockWaitTime
Field Value
Type | Description |
---|---|
TimeSpan |
DefaultRateTimeInterval
The default rate time interval.
Declaration
public static readonly TimeSpan DefaultRateTimeInterval
Field Value
Type | Description |
---|---|
TimeSpan |
DefaultSubIntervals
The default sub intervals.
Declaration
public const int DefaultSubIntervals = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultTlbSize
Default value for TlbSize.
Declaration
public const int DefaultTlbSize = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultWalArchivePath
Default value for WalArchivePath.
Declaration
public const string DefaultWalArchivePath = null
Field Value
Type | Description |
---|---|
System.String |
DefaultWalFlushFrequency
Default value for WalFlushFrequency.
Declaration
public static readonly TimeSpan DefaultWalFlushFrequency
Field Value
Type | Description |
---|---|
TimeSpan |
DefaultWalFsyncDelayNanos
Default value for WalFsyncDelayNanos.
Declaration
public const long DefaultWalFsyncDelayNanos = null
Field Value
Type | Description |
---|---|
System.Int64 |
DefaultWalHistorySize
Default value for WalHistorySize.
Declaration
public const int DefaultWalHistorySize = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultWalRecordIteratorBufferSize
Default value for WalRecordIteratorBufferSize.
Declaration
public const int DefaultWalRecordIteratorBufferSize = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultWalSegments
Default value for WalSegments.
Declaration
public const int DefaultWalSegments = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultWalSegmentSize
Default value for WalSegmentSize.
Declaration
public const int DefaultWalSegmentSize = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultWalStorePath
Default value for WalStorePath.
Declaration
public const string DefaultWalStorePath = null
Field Value
Type | Description |
---|---|
System.String |
DefaultWriteThrottlingEnabled
Default value for WriteThrottlingEnabled.
Declaration
public const bool DefaultWriteThrottlingEnabled = null
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
AlwaysWriteFullPages
Gets or sets a value indicating whether full pages should always be written.
Declaration
public bool AlwaysWriteFullPages { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CheckpointingFrequency
Gets or sets the checkpointing frequency which is a minimal interval when the dirty pages will be written to the Persistent Store.
Declaration
public TimeSpan CheckpointingFrequency { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
CheckpointingPageBufferSize
Gets or sets the size of the checkpointing page buffer.
Default is 0
: Ignite will choose buffer size automatically.
Declaration
public long CheckpointingPageBufferSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
CheckpointingThreads
Gets or sets the number of threads for checkpointing.
Declaration
public int CheckpointingThreads { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
CheckpointWriteOrder
Gets or sets the checkpoint page write order on disk.
Declaration
public CheckpointWriteOrder CheckpointWriteOrder { get; set; }
Property Value
Type | Description |
---|---|
CheckpointWriteOrder |
LockWaitTime
Gets or sets the persistent manager file lock wait time.
Declaration
public TimeSpan LockWaitTime { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
MetricsEnabled
Gets or sets a value indicating whether to enable persistent store metrics. See GetPersistentStoreMetrics().
Declaration
public bool MetricsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PersistentStorePath
Gets or sets the path where data and indexes will be persisted.
Declaration
public string PersistentStorePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RateTimeInterval
Gets or sets the length of the time interval for rate-based metrics. This interval defines a window over which hits will be tracked.
Declaration
public TimeSpan RateTimeInterval { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
SubIntervals
Number of sub-intervals to split the RateTimeInterval into to track the update history.
Declaration
public int SubIntervals { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TlbSize
Gets or sets the size of the TLB (Thread-Local Buffer), in bytes.
Declaration
public int TlbSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
WalArchivePath
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.
Declaration
public string WalArchivePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WalFlushFrequency
Gets or sets the WAL (Write Ahead Log) flush frequency.
Declaration
public TimeSpan WalFlushFrequency { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
WalFsyncDelayNanos
Gets or sets the WAL (Write Ahead Log) fsync (disk sync) delay, in nanoseconds
Declaration
public long WalFsyncDelayNanos { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
WalHistorySize
Gets or sets the number of checkpoints to store in WAL (Write Ahead Log) history.
Declaration
public int WalHistorySize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
WalMode
Gets or sets the WAL (Write Ahead Log) mode.
Declaration
public WalMode WalMode { get; set; }
Property Value
Type | Description |
---|---|
WalMode |
WalRecordIteratorBufferSize
Gets or sets the size of the WAL (Write Ahead Log) record iterator buffer, in bytes.
Declaration
public int WalRecordIteratorBufferSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
WalSegments
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.
Declaration
public int WalSegments { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
WalSegmentSize
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.
Declaration
public int WalSegmentSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
WalStorePath
Gets or sets the path to the directory where WAL (Write Ahead Log) is stored.
Declaration
public string WalStorePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WriteThrottlingEnabled
Gets or sets a value indicating whether threads that generate dirty pages too fast during ongoing checkpoint will be throttled.
Declaration
public bool WriteThrottlingEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |