Skip to content

Latest commit

 

History

History
92 lines (57 loc) · 2.31 KB

storage-configuration.markdown

File metadata and controls

92 lines (57 loc) · 2.31 KB

Configuration: Storage

The following configuration options allow you configure the storage engine.

{PANEL:Storage.TempPath}

Use this setting to specify a different path for the database temporary files.
By default, temporary files are created under the Temp directory at the same location as Raven.voron data file.

To specify a different path for the indexes temporary files go to Indexing.TempPath.
Learn more about RavenDB directory structure here.

  • Type: string
  • Default: null
  • Scope: Server-wide or per database

{PANEL/}

{PANEL:Storage.TransactionsModeDurationInMin}

How long transaction mode (Danger/Lazy) lasts before returning to Safe Mode. Value in minutes with default set to 1440 (24 hours). Set value to 0 for infinite.

  • Type: int
  • Default: 1440
  • Scope: Server-wide or per database

{PANEL/}

{PANEL:Storage.MaxConcurrentFlushes}

Maximum concurrent flushes.

  • Type: int
  • Default: 10
  • Scope: Server-wide or per database

{PANEL/}

{PANEL:Storage.TimeToSyncAfterFlushInSec}

Time to sync after flush in seconds

  • Type: int
  • Default: 30
  • Scope: Server-wide or per database

{PANEL/}

{PANEL:Storage.NumberOfConcurrentSyncsPerPhysicalDrive}

Number of concurrent syncs per physical drive.

  • Type: int
  • Default: 3
  • Scope: Server-wide or per database

{PANEL/}

{PANEL:Storage.CompressTxAboveSizeInKb}

Compress transactions above size (value in KB)

  • Type: int
  • Default: 512
  • Scope: Server-wide or per database

{PANEL/}

{PANEL:Storage.ForceUsing32BitsPager}

Use the 32 bits memory mapped pager even when running on 64 bits.

  • Type: bool
  • Default: false
  • Scope: Server-wide only

{PANEL/}

{PANEL:Storage.MaxScratchBufferSizeInMb}

Maximum size of .buffers files

  • Type: int
  • Default: 256 when running on 64 bits, 32 when running on 32 bits or Storage.ForceUsing32BitsPager is set to true
  • Scope: Server-wide or per database

{PANEL/}

Related Articles