The Architecture of SQLite
The design of SQLite follows the hierarchical design
thinking of software engineering, it takes modular
design, to facilitate the maintenance upgrades, but
also easy to port in different platform, it is essential
to divide the whole database system into several
different level modules to implement respectively. It
can be divided into eight primary subsystems:
Interface, Tokenizer, Parser, Code Generator, Virtual
Machine, B-Tree, Pager and OS Interface [8]. They
constitute three parts: Core, SQL Compiler and
Backend, in addition, Accessories are also included
in the structure. SQLite internal architecture