SQLite Shared-Cache Mode
(sharedcache.html)
2.1. Transaction Level Locking
SQLite connections can open two kinds of transactions, read and write
transactions. This is not done explicitly, a transaction is implicitly a
read-transaction until it first writes to a database table, at which point
it becomes a write-transaction ...
|
The ON CONFLICT Clause
(lang_conflict.html)
... ROLLBACK
When an applicable constraint violation occurs, the ROLLBACK
resolution algorithm aborts the current SQL statement with
an SQLITE_CONSTRAINT error and rolls back the current transaction.
If no transaction is
active (other than the implied transaction that is created on ...
|
The SQLITE_DBPAGE Virtual Table
(dbpage.html)
2.2. Truncating A Database
... A null-INSERT only truncates the database if it is the last write
operation to occur before the transaction commit. If the null-INSERT is
within a multi-statement transaction and is followed by one or more UPDATE
or INSERT ...
|
Temporary Files Used By SQLite
(tempfiles.html)
2.4. Super-Journal Files
The super-journal file is used as part of the atomic commit
process when a single transaction makes changes to multiple
databases that have been added to a single database connection
using the ATTACH statement. The super-journal file is ...
|
Atomic Commit In SQLite
(atomiccommit.html)
7.1. Cache Retained Between Transactions
... Consequently, each new transaction would begin by rereading
data which had previously been read. This is not as bad as it sounds
at first since the data being read is still likely in the operating
systems file cache. So the ...
|
C API: Status Parameters for database connections
(c3ref/c_dbstatus_options.html)
SQLITE_DBSTATUS_LOOKASIDE_USED, SQLITE_DBSTATUS_CACHE_USED, SQLITE_DBSTATUS_SCHEMA_USED, SQLITE_DBSTATUS_STMT_USED, SQLITE_DBSTATUS_LOOKASIDE_HIT, SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE ...
... SQLITE_DBSTATUS_CACHE_SPILL
This parameter returns the number of dirty cache entries that have
been written to disk in the middle of a transaction due to the page
cache overflowing. Transactions are more efficient if they are written
to disk all at ...
|
Full-Featured SQL
(fullsql.html)
... ACID transactions using BEGIN, COMMIT, and ROLLBACK
Nested transactions using SAVEPOINT, RELEASE, and
ROLLBACK TO
Subqueries, including correlated subqueries
Up to 64-way joins
LEFT, RIGHT, and FULL OUTER JOINs
DISTINCT, ORDER BY, GROUP BY, HAVING, LIMIT, and OFFSET
UNION ...
|
C API: Closing A Database Connection
(c3ref/close.html)
sqlite3_close(), sqlite3_close_v2()
... If an sqlite3 object is destroyed while a transaction is open,
the transaction is automatically rolled back.
The C parameter to sqlite3_close(C) and sqlite3_close_v2(C)
must be either a NULL
pointer or an sqlite3 object pointer obtained
from sqlite3_open ...
|
C API: Standard File Control Opcodes
(c3ref/c_fcntl_begin_atomic_write.html)
SQLITE_FCNTL_LOCKSTATE, SQLITE_FCNTL_GET_LOCKPROXYFILE, SQLITE_FCNTL_SET_LOCKPROXYFILE, SQLITE_FCNTL_LAST_ERRNO, SQLITE_FCNTL_SIZE_HINT, SQLITE_FCNTL_CHUNK_SIZE ...
... The SQLITE_FCNTL_OVERWRITE opcode is invoked by SQLite after opening
a write transaction to indicate that, unless it is rolled back for some
reason, the entire database file will be overwritten by the current
transaction. This is used by VACUUM operations ...
|
C API: Interrupt A Long-Running Query
(c3ref/interrupt.html)
sqlite3_is_interrupted()
... If the interrupted SQL operation is an INSERT, UPDATE, or DELETE
that is inside an explicit transaction, then the entire transaction
will be rolled back automatically.
The sqlite3_interrupt(D) call is in effect until all currently running
SQL statements on ...
|
Page generated by FTS5 in about 112.50 ms.