DiskSyncing

public enum DiskSyncing : Int

Describes how database updates should be performed.

  • disabled: Completely disables disk syncing. Fast, but increases chance of data corruption.
  • normal: Disk syncing is performed without fctl FULL_FSYNC command.
  • full: Enforces that data is physically written to disk during save operation.
  • Completely disables disk syncing. Fast, but increases chance of data corruption.

    Declaration

    Swift

    case disabled = 1
  • Disk syncing is performed without fctl FULL_FSYNC command.

    Declaration

    Swift

    case normal = 2
  • Enforces that data is physically written to disk during save operation.

    Declaration

    Swift

    case full = 3