How To Corrupt An SQLite Database File
(howtocorrupt.html)
1.2. Backup or restore while a transaction is active
Systems that run automatic backups in the background might try to
make a backup copy of an SQLite database file while it is in the middle
of a transaction. The backup copy then might contain some old and some
new ...
|
C API: Evaluate An SQL Statement
(c3ref/step.html)
... If the statement is a COMMIT
or occurs outside of an explicit transaction, then you can retry the
statement. If the statement is not a COMMIT and occurs within an
explicit transaction then you should rollback the transaction before
continuing ...
|
About SQLite
(about.html)
... 1 gigabyte
Faster than direct file I/O
Aviation-grade quality and testing
Zero-configuration
ACID transactions, even after power loss
Stable, enduring file format
Extensive, detailed documentation
Long-term support
SQLite is an in-process library that implements a ...
|
ATTACH DATABASE
(lang_attach.html)
... If the main
database is ":memory:" or if the journal_mode is WAL, then
transactions continue to be atomic within each individual
database file. But if the host computer crashes in the middle
of a COMMIT where two or more database ...
|
VACUUM
(lang_vacuum.html)
... A VACUUM will fail if there is an open transaction on the database
connection that is attempting to run the VACUUM. Unfinalized SQL
statements typically hold a read transaction open, so the VACUUM
might fail if there are unfinalized SQL ...
|
Features Of SQLite
(features.html)
Features Of SQLite
Transactions
are atomic, consistent, isolated, and durable (ACID)
even after system crashes and power failures.
Zero-configuration
- no setup or administration needed.
Full-featured SQL implementation
with advanced capabilities like partial indexes,
indexes on expressions, JSON,
common ...
|
Result and Error Codes
(rescode.html)
6. Result Code Meanings
... An SQLITE_BUSY error can occur at any point in a transaction: when the
transaction is first started, during any write or update operations, or
when the transaction commits.
To avoid encountering SQLITE_BUSY errors in the middle of a transaction,
the ...
|
35% Faster Than The Filesystem
(fasterthanfs.html)
2.2. Write Performance Measurements
... All database writes are in a single transaction.
The timer for the database writes is stopped after the transaction
commits, but before a checkpoint is run.
Note that the SQLite writes, unlike the direct-to-disk writes,
are transactional and ...
|
C API: Virtual Table Configuration Options
(c3ref/c_vtab_constraint_support.html)
SQLITE_VTAB_CONSTRAINT_SUPPORT, SQLITE_VTAB_INNOCUOUS, SQLITE_VTAB_DIRECTONLY, SQLITE_VTAB_USES_ALL_SCHEMAS
... If the ON CONFLICT mode is ABORT, FAIL, IGNORE or ROLLBACK, SQLite
is able to roll back a statement or database transaction, and abandon
or continue processing the current SQL statement as appropriate.
If the ON CONFLICT mode is REPLACE ...
|
SQLite Database Speed Comparison
(speed.html)
... Note in particular
the default MySQL configuration on RedHat 7.2 does not support
transactions. Not having to support transactions gives MySQL a
big speed advantage, but SQLite is still able to hold its own on most
tests.
I am ...
|
Page generated by FTS5 in about 110.22 ms.