Some questions on SQLite internals
(1) By anonymous on 2021-05-12 12:14:46 [source]
I am a student and looking for a project to implement.
Any documentation / write up which explains how SQLite WAL works? I checked this - https://sqlite.org/wal.html but I needed more info on how it is exactly implemented
Any documentation / write up which explains how SQLite handles page cache / virtual memory?
(2) By Simon Slavin (slavin) on 2021-05-13 11:24:56 in reply to 1 [link] [source]
"Use the source, Luke."
A web search will find you articles on both things. But some of the things I found were written 18 years ago. SQLite's internals change frequently. Old documents may not reflect how SQLite works now.
But SQLite is Open Source. You can download all the source code, which includes useful comments. Start there. If you have specific questions about things you find there, We may be able to help you.