StatusParameter

public enum StatusParameter

Available database status parameters.

  • The number of lookaside memory slots currently checked out

    Declaration

    Swift

    case lookasideUsed
  • The approximate number of bytes of heap memory used by all pager caches

    Declaration

    Swift

    case cacheUsed
  • The approximate number of bytes of heap memory used to store the schema for all databases

    Declaration

    Swift

    case schemaUsed
  • The approximate number of bytes of heap and lookaside memory used by all prepared statements

    Declaration

    Swift

    case stmtUsed
  • The number malloc attempts that were satisfied using lookaside memory

    Declaration

    Swift

    case lookasideHit
  • The number malloc attempts that might have been satisfied using lookaside memory but failed due to the amount of memory requested being larger than the lookaside slot size

    Declaration

    Swift

    case lookasideMissSize
  • The number malloc attempts that might have been satisfied using lookaside memory but failed due to all lookaside memory already being in use

    Declaration

    Swift

    case lookasideMissFull
  • The number of pager cache hits that have occurred

    Declaration

    Swift

    case cacheHit
  • The number of pager cache misses that have occurred

    Declaration

    Swift

    case cacheMiss
  • The number of dirty cache entries that have been written to disk

    Declaration

    Swift

    case cacheWrite
  • Returns zero for the current value if and only if all foreign key constraints (deferred or immediate) have been resolved

    Declaration

    Swift

    case deferredForeignKeys
  • Similar to cacheUsed except that if a pager cache is shared between two or more connections the bytes of heap memory used by that pager cache is divided evenly between the attached connections

    Declaration

    Swift

    case cacheUsedShared