File Locking And Concurrency In SQLite Version 3
(lockingv3.html)
... The SQL command "COMMIT" does not actually commit the changes to
disk. It just turns autocommit back on. Then, at the conclusion of
the command, the regular autocommit logic takes over and causes the
actual commit to disk to occur ...
|
DROP TABLE
(lang_droptable.html)
... If
the implicit DELETE FROM causes any
deferred foreign key constraints to be violated, and the violations still
exist when the transaction is committed, an error is returned at the time
of commit.
|
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 ...
|
Write-Ahead Logging
(wal.html)
2. How WAL Works
... A COMMIT occurs when a special record indicating a commit
is appended to the WAL. Thus a COMMIT can happen without ever writing
to the original database, which allows readers to continue operating
from the original unaltered database while changes ...
|
The SQLITE_DBPAGE Virtual Table
(dbpage.html)
2.2. Truncating A Database
... However, as a special case, doing an INSERT
of a NULL into page 2 or greater as the last operation prior to COMMIT
causes the page being inserted into and all subsequent pages to be deleted,
truncating the database. For ...
|
SQLite Database Speed Comparison
(speed.html)
... 24997 lines omitted
INSERT INTO t2 VALUES(24999,89569,'eighty nine thousand five hundred sixty nine');
INSERT INTO t2 VALUES(25000,94666,'ninety four thousand six hundred sixty six');
COMMIT;
PostgreSQL: 4.900
MySQL:   ...
|
C API: Configure an auto-checkpoint
(c3ref/wal_autocheckpoint.html)
sqlite3_wal_autocheckpoint()
The sqlite3_wal_autocheckpoint(D,N) is a wrapper around
sqlite3_wal_hook() that causes any database on database connection D
to automatically checkpoint
after committing a transaction if there are N or
more frames in the write-ahead log file. Passing zero or ...
|
An Asynchronous I/O Module For SQLite
(asyncvfs.html)
... But
when the corresponding COMMIT or ROLLBACK occurs, the lock
is not released until the relevant part of the write-queue
has been flushed through. As a result, if a COMMIT is followed
by a BEGIN before the write-queue ...
|
List of SQLite Syntax Diagrams
(syntax.html)
List of SQLite Syntax Diagrams
aggregate-function-invocation
alter-table-stmt
analyze-stmt
attach-stmt
begin-stmt
column-constraint
column-def
column-name-list
comment-syntax
commit-stmt
common-table-expression
compound-operator
compound-select-stmt
conflict-clause
create-index ...
|
Query Language Understood by SQLite
(lang.html)
... aggregate functions
ALTER TABLE
ANALYZE
ATTACH DATABASE
BEGIN TRANSACTION
comment
COMMIT TRANSACTION
core functions
CREATE INDEX
CREATE TABLE
CREATE TRIGGER
CREATE VIEW
CREATE VIRTUAL TABLE
date and time functions
DELETE
DETACH DATABASE
DROP INDEX
DROP TABLE
DROP TRIGGER
DROP VIEW ...
|
Page generated by FTS5 in about 176.63 ms.