WALCheckpointType
public enum WALCheckpointType
Possible write-ahead log (WAL) checkpoint types.
Seealso
Write-Ahead Logging-
Checkpoint as many frames as possible without waiting for any database readers or writers to finish
Declaration
Swift
case passive
-
Blocks until there is no writer and all readers are reading from the most recent database snapshot then checkpoints all frames
Declaration
Swift
case full
-
Same as
WALCheckpointType.full
except after checkpointing it blocks until all readers are reading from the database fileDeclaration
Swift
case restart
-
Same as
WALCheckpointType.restart
except it also truncates the log file prior to a successful returnDeclaration
Swift
case truncate