c - Where to begin reading SQLite source code? -


I want to understand how sqlite is implemented and want to read the source code (I have already downloaded the source ) Which part of the code should start seeing me?

SQLite has a large class named SQLite Technical / Design Documentation SQLite With articles on the interior. I think before you start reading the source code they need to read and understand.

There are many gems, but most interesting to you probably, as its description says:

An architectural observation of the SQLite library, which want to hack the code Useful for

That page contains a good block diagram of the code of SQLite:

And then tells where the implementation of each from the source reveals such blocks.


Another great resource (linked to) is the Orelli mini-book ("short cut"), named "Inside SQLite", which goes into the design and code of SQLite, to explain it For how this works.


Comments