Lines Matching full:checkpoint
7227 ** may read, write or [checkpoint] the database as required.
7259 ** CAPI3REF: Configure an auto-checkpoint
7263 ** to automatically [checkpoint]
7271 ** using [sqlite3_wal_hook()] disables the automatic checkpoint mechanism
7277 ** ^Every new [database connection] defaults to having the auto-checkpoint
7286 ** CAPI3REF: Checkpoint a database
7290 ** empty string, then a checkpoint is run on all databases of
7304 ** CAPI3REF: Checkpoint a database
7306 checkpoint operation on WAL database zDb attached to database
7312 ** Checkpoint as many frames as possible without waiting for any database
7341 ** All calls obtain an exclusive "checkpoint" lock on the database file. If
7342 ** any other process is running a checkpoint operation at the same time, the
7353 ** checkpoint operation proceeds from that point in the same way as
7382 ** CAPI3REF: Checkpoint operation parameters
9600 u8 inTrans; /* 0: not writable. 1: Transaction. 2: Checkpoint */
9846 #define SQLITE_CkptFullFSync 0x00400000 /* Use full fsync for checkpoint */
22642 /* 125 */ "Checkpoint",
38377 ** write to or checkpoint the WAL. sqlite3WalCloseSnapshot() closes the
39043 u8 ckptSyncFlags; /* SYNC_NORMAL or SYNC_FULL for checkpoint */
41764 ** prior to the start of checkpoint and that the database file is synced
41765 ** at the conclusion of the checkpoint if the entire content of the WAL
45286 /* Checkpoint and close the log. Because an EXCLUSIVE lock is held on
45359 ** "checkpoint".
45374 ** 12: Checkpoint sequence number
45375 ** 16: Salt-1, random integer incremented with each checkpoint
45423 ** On a checkpoint, the WAL is first VFS.xSync-ed, then valid content of the
45429 ** After each checkpoint, the salt-1 value is incremented and the salt-2
45650 ** information used by checkpoint.
45757 u8 ckptLock; /* True if holding a checkpoint lock */
45764 u32 nCkpt; /* Checkpoint sequence counter in the wal-header */
45803 ** This functionality is used by the checkpoint code (see walCheckpoint()).
46396 int iLock; /* Lock offset to lock for checkpoint */
46526 /* Reset the checkpoint-header. This is safe because this thread is
46842 ** pages in the WAL in ascending order. The caller must hold the checkpoint
46861 /* This routine only runs while holding the checkpoint lock. And
46984 ** checkpoint is running (in any other thread or process) at the same
47003 volatile WalCkptInfo *pInfo; /* The checkpoint status information */
47056 /* If the database file may grow as a result of this checkpoint, hint
47102 /* Reset the return code so as not to report a checkpoint failure
47164 ** the database. In this case checkpoint the database and unlink both
47183 /* Try to delete the WAL file if the checkpoint completed and
47188 /* Try to truncate the WAL file to zero bytes if the checkpoint
47400 ** checkpoint process do as much work as possible. This routine might
47406 volatile WalCkptInfo *pInfo; /* Checkpoint information in wal-index */
47486 ** snapshoT. Since holding READ_LOCK(0) prevents a checkpoint from
47562 ** blocking writers. It only guarantees that a dangerous checkpoint or
48228 ** Obtain a CHECKPOINT lock and then backfill as much information as
48232 ** callback. In this case this function runs a blocking checkpoint.
48253 WALTRACE(("WAL%p: checkpoint begins\n", pWal));
48257 ** is already running a checkpoint, or maybe a recovery. But it might
48263 /* If this is a blocking-checkpoint, then obtain the write-lock as well
48264 ** to prevent any writers from running while the checkpoint is underway.
48267 ** If the writer lock cannot be obtained, then a passive checkpoint is
48303 /* If a new wal-index header was loaded before the checkpoint was
48316 WALTRACE(("WAL%p: checkpoint %s\n", pWal, rc ? "failed" : "ok"));
57426 ** Run a checkpoint on the Btree passed as the first argument.
70384 /* Opcode: Checkpoint P1 P2 P3 * *
70386 ** Checkpoint database P1. This is a no-op if P1 is not currently in
70388 ** or RESTART. Write 1 or 0 into mem[P3] if the checkpoint returns
70390 ** WAL after the checkpoint into mem[P3+1] and the number of pages
70391 ** in the WAL that have been checkpointed after the checkpoint
84785 ** a transaction. If we are already within a transaction, then a checkpoint
84786 ** is set if the setStatement parameter is true. A checkpoint should
84791 ** necessary to undo a write and the checkpoint should not be set.
93493 ** Checkpoint the database.
93520 ** Configure a database connection to automatically checkpoint a database
113829 ** Configure an sqlite3_wal_hook() callback to automatically checkpoint
113836 ** using sqlite3_wal_hook() disables the automatic checkpoint mechanism
113876 ** Checkpoint database zDb.
113889 int iDb = SQLITE_MAX_ATTACHED; /* sqlite3.aDb[] index of db to checkpoint */
113921 ** Checkpoint database zDb. If zDb is NULL, or if the buffer zDb points
113931 ** Run a checkpoint on database iDb. This is a no-op if database iDb is
113935 ** function returns SQLITE_LOCKED and a checkpoint is not attempted. If
113936 ** an error occurs while running the checkpoint, an SQLite error code is
113941 ** this function while the checkpoint is running.
113945 ** no attempt is made to checkpoint any remaining databases.