Search Results for

    Show / Hide Table of Contents

    Class DiskSegmentOptions

    Represents the configuration options for disk segments in the ZoneTree.

    Inheritance
    object
    DiskSegmentOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tenray.ZoneTree.Options
    Assembly: ZoneTree.dll
    Syntax
    public sealed class DiskSegmentOptions

    Properties

    | Improve this Doc View Source

    CompressionBlockSize

    Gets or sets the block size for disk segment compression, in bytes. Default value is 4 MB (4 * 1024 * 1024 bytes).

    Declaration
    public int CompressionBlockSize { get; set; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    CompressionLevel

    Gets or sets the compression level for the selected compression method. Default value is LZ4Fastest.

    Declaration
    public int CompressionLevel { get; set; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    CompressionMethod

    Gets or sets the compression method used if compression is enabled. Default value is LZ4.

    Declaration
    public CompressionMethod CompressionMethod { get; set; }
    Property Value
    Type Description
    CompressionMethod
    | Improve this Doc View Source

    DefaultSparseArrayStepSize

    Gets or sets the default step size for the default sparse array of disk segments. Setting the step size to zero disables loading and creating the default sparse array. Default value is 1024.

    Declaration
    public int DefaultSparseArrayStepSize { get; set; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    DiskSegmentMode

    Gets or sets the mode for the disk segment. Default value is MultiPartDiskSegment.

    Declaration
    public DiskSegmentMode DiskSegmentMode { get; set; }
    Property Value
    Type Description
    DiskSegmentMode
    | Improve this Doc View Source

    KeyCacheRecordLifeTimeInMillisecond

    Gets or sets the maximum lifetime of a record in the key cache, in milliseconds. Default value is 10,000 milliseconds (10 seconds).

    Declaration
    public int KeyCacheRecordLifeTimeInMillisecond { get; set; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    KeyCacheSize

    Gets or sets the size of the circular buffer cache for keys. This cache is checked before accessing the block cache during lookups and searches. Default value is 1024.

    Declaration
    public int KeyCacheSize { get; set; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    MaximumRecordCount

    Gets or sets the maximum number of records allowed in a disk segment when MultiPartDiskSegment is enabled. Default value is 3M records.

    Declaration
    public int MaximumRecordCount { get; set; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    MinimumRecordCount

    Gets or sets the minimum number of records required in a disk segment when MultiPartDiskSegment is enabled, unless there are not enough records. Default value is 1.5M records.

    Declaration
    public int MinimumRecordCount { get; set; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    ValueCacheRecordLifeTimeInMillisecond

    Gets or sets the maximum lifetime of a record in the value cache, in milliseconds. Default value is 10,000 milliseconds (10 seconds).

    Declaration
    public int ValueCacheRecordLifeTimeInMillisecond { get; set; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    ValueCacheSize

    Gets or sets the size of the circular buffer cache for values. This cache is checked before accessing the block cache during lookups and searches. Default value is 1024.

    Declaration
    public int ValueCacheSize { get; set; }
    Property Value
    Type Description
    int
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 Tenray.io