SQLite
(Added sample files) |
m (Add Kaitai Struct schema) |
||
Line 4: | Line 4: | ||
|mimetypes={{mimetype|application/vnd.sqlite3}}, {{mimetype|application/x-sqlite3}} | |mimetypes={{mimetype|application/vnd.sqlite3}}, {{mimetype|application/x-sqlite3}} | ||
|pronom={{PRONOM|fmt/729}}, {{PRONOM|fmt/1135}} | |pronom={{PRONOM|fmt/729}}, {{PRONOM|fmt/1135}} | ||
+ | |kaitai struct=sqlite3 | ||
}} | }} | ||
'''SQLite''' is a self-contained, serverless, zero-configuration, transactional [[SQL]] database engine. The code for SQLite is in the public domain and is thus free for use for any purpose, commercial or private. | '''SQLite''' is a self-contained, serverless, zero-configuration, transactional [[SQL]] database engine. The code for SQLite is in the public domain and is thus free for use for any purpose, commercial or private. |
Latest revision as of 17:38, 26 December 2024
SQLite is a self-contained, serverless, zero-configuration, transactional SQL database engine. The code for SQLite is in the public domain and is thus free for use for any purpose, commercial or private.
Contents |
[edit] Write-Ahead Logging
Some versions of SQLite use write-ahead logging to store new changes to the database before they are written to the main database file, allowing a rollback of the current set of changes before they are committed. Database access uses both files to get the latest changed version even if part of it is still in the "WAL" file. This file is a separate file from the main database, using -wal at the end of the file extension so that it becomes .db-wal or .sqlite-wal. Also, a shared-memory file is often used for a hash-table index of the write-ahead log, with a .db-shm or .sqlite-shm extension.
[edit] Temporary Files
SQLite creates temporary files that, by default, begin with the prefix etilqs_ and have no file extension. The backstory:
** 2006-10-31: The default prefix used to be "sqlite_". But then ** Mcafee started using SQLite in their anti-virus product and it ** started putting files with the "sqlite" name in the c:/temp folder. ** This annoyed many windows users. Those users would then do a ** Google search for "sqlite", find the telephone numbers of the ** developers and call to wake them up at night and complain. ** For this reason, the default name prefix is changed to be "sqlite" ** spelled backwards. So the temp files are still identified, but ** anybody smart enough to figure out the code is also likely smart ** enough to know that calling the developer will not help get rid ** of the file.
[edit] Related formats
- SQL
- SQLite Archive
- SQLite result codes
- For more formats based on SQLite, see Category:SQLite based file formats.
[edit] Sample files
[edit] Resources
- File Formats
- Electronic File Formats
- Databases
- File formats with extension .db
- File formats with extension .sqlite
- File formats with extension .db-wal
- File formats with extension .sqlite-wal
- File formats with extension .db-shm
- File formats with extension .sqlite-shm
- SQL
- SQLite based file formats
- File formats with too many extensions