Show / Hide Table of Contents

# Class PersistentStoreConfiguration

Configures Apache Ignite persistent store.

Obsolete, use DataStorageConfiguration.

##### Inheritance

System.Object
PersistentStoreConfiguration

##### Inherited Members

System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()

###### Namespace: Apache.Ignite.Core.PersistentStore

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    [Obsolete("Use DataStorageConfiguration.")]
    public class PersistentStoreConfiguration

### 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
--- | ---
System.TimeSpan |

#### DefaultCheckpointingThreads

Default value for CheckpointingThreads.

##### Declaration

    public const int DefaultCheckpointingThreads = 4

##### 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
--- | ---
System.TimeSpan |

#### DefaultRateTimeInterval

The default rate time interval.

##### Declaration

    public static readonly TimeSpan DefaultRateTimeInterval

##### Field Value

Type | Description
--- | ---
System.TimeSpan |

#### DefaultSubIntervals

The default sub intervals.

##### Declaration

    public const int DefaultSubIntervals = 5

##### Field Value

Type | Description
--- | ---
System.Int32 |

#### DefaultTlbSize

Default value for TlbSize.

##### Declaration

    public const int DefaultTlbSize = 131072

##### Field Value

Type | Description
--- | ---
System.Int32 |

#### DefaultWalArchivePath

Default value for WalArchivePath.

##### Declaration

    public const string DefaultWalArchivePath = "db/wal/archive"

##### Field Value

Type | Description
--- | ---
System.String |

#### DefaultWalFlushFrequency

Default value for WalFlushFrequency.

##### Declaration

    public static readonly TimeSpan DefaultWalFlushFrequency

##### Field Value

Type | Description
--- | ---
System.TimeSpan |

#### DefaultWalFsyncDelayNanos

Default value for WalFsyncDelayNanos.

##### Declaration

    public const long DefaultWalFsyncDelayNanos = 1000L

##### Field Value

Type | Description
--- | ---
System.Int64 |

#### DefaultWalHistorySize

Default value for WalHistorySize.

##### Declaration

    public const int DefaultWalHistorySize = 20

##### Field Value

Type | Description
--- | ---
System.Int32 |

#### DefaultWalRecordIteratorBufferSize

Default value for WalRecordIteratorBufferSize.

##### Declaration

    public const int DefaultWalRecordIteratorBufferSize = 67108864

##### Field Value

Type | Description
--- | ---
System.Int32 |

#### DefaultWalSegments

Default value for WalSegments.

##### Declaration

    public const int DefaultWalSegments = 10

##### Field Value

Type | Description
--- | ---
System.Int32 |

#### DefaultWalSegmentSize

Default value for WalSegmentSize.

##### Declaration

    public const int DefaultWalSegmentSize = 67108864

##### Field Value

Type | Description
--- | ---
System.Int32 |

#### DefaultWalStorePath

Default value for WalStorePath.

##### Declaration

    public const string DefaultWalStorePath = "db/wal"

##### Field Value

Type | Description
--- | ---
System.String |

#### DefaultWriteThrottlingEnabled

Default value for WriteThrottlingEnabled.

##### Declaration

    public const bool DefaultWriteThrottlingEnabled = false

##### 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
--- | ---
System.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
--- | ---
System.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
--- | ---
System.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
--- | ---
System.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 |