DEV Community

SQLite Database System: Design and Implementation Series' Articles

Back to Athreya aka Maneshwar's Series
The Pager Interface: How Higher Layers Touch Storage
Cover image for The Pager Interface: How Higher Layers Touch Storage

The Pager Interface: How Higher Layers Touch Storage

23
Comments
4 min read
Pager Interface Functions in SQLite: The Narrow Doorway to Persistence
Cover image for Pager Interface Functions in SQLite: The Narrow Doorway to Persistence

Pager Interface Functions in SQLite: The Narrow Doorway to Persistence

20
Comments 1
4 min read
Pager Lifecycle Functions: Pinning Pages, Running Transactions, and Making Them Stick in SQLite
Cover image for Pager Lifecycle Functions: Pinning Pages, Running Transactions, and Making Them Stick in SQLite

Pager Lifecycle Functions: Pinning Pages, Running Transactions, and Making Them Stick in SQLite

24
Comments 2
4 min read
Page Cache and Pager State: Where Concurrency Becomes Concrete
Cover image for Page Cache and Pager State: Where Concurrency Becomes Concrete

Page Cache and Pager State: Where Concurrency Becomes Concrete

18
Comments 1
4 min read
Cache Organization: How SQLite Actually Holds Pages in Memory
Cover image for Cache Organization: How SQLite Actually Holds Pages in Memory

Cache Organization: How SQLite Actually Holds Pages in Memory

16
Comments
4 min read
Cache Update: When Pages Start to Change in SQLite
Cover image for Cache Update: When Pages Start to Change in SQLite

Cache Update: When Pages Start to Change in SQLite

20
Comments
4 min read
Commit Operation: Turning In-Memory Changes into Permanent Reality in SQLite
Cover image for Commit Operation: Turning In-Memory Changes into Permanent Reality in SQLite

Commit Operation: Turning In-Memory Changes into Permanent Reality in SQLite

13
Comments
5 min read
The Tree Interface: Where Pages Become Structure in SQLite
Cover image for The Tree Interface: Where Pages Become Structure in SQLite

The Tree Interface: Where Pages Become Structure in SQLite

15
Comments
4 min read
B+-Tree Structure: How Order Is Maintained at Scale
Cover image for B+-Tree Structure: How Order Is Maintained at Scale

B+-Tree Structure: How Order Is Maintained at Scale

11
Comments
4 min read
Operations on a B+-Tree: How the Search Works
Cover image for Operations on a B+-Tree: How the Search Works

Operations on a B+-Tree: How the Search Works

5
Comments
4 min read
Insert Operation: How a B+-Tree Grows Without Losing Order
Cover image for Insert Operation: How a B+-Tree Grows Without Losing Order

Insert Operation: How a B+-Tree Grows Without Losing Order

18
Comments
4 min read
Delete Operation in B+-Tree: Removing Without Destabilizing
Cover image for Delete Operation in B+-Tree: Removing Without Destabilizing

Delete Operation in B+-Tree: Removing Without Destabilizing

19
Comments 1
4 min read
Page Structure: From Logical Trees to Raw Bytes
Cover image for Page Structure: From Logical Trees to Raw Bytes

Page Structure: From Logical Trees to Raw Bytes

26
Comments
4 min read
Structure of the Storage Area in Tree Page of SQLite
Cover image for Structure of the Storage Area in Tree Page of SQLite

Structure of the Storage Area in Tree Page of SQLite

16
Comments
3 min read
Structure of a Cell in SQLite
Cover image for Structure of a Cell in SQLite

Structure of a Cell in SQLite

20
Comments
4 min read
The Tree Module Functionalities in SQLite
Cover image for The Tree Module Functionalities in SQLite

The Tree Module Functionalities in SQLite

26
Comments
4 min read
The Tree Module Functionalities in SQLite
Cover image for The Tree Module Functionalities in SQLite

The Tree Module Functionalities in SQLite

16
Comments
4 min read
Space Management: Where Bytes Are Won and Reclaimed in SQLite
Cover image for Space Management: Where Bytes Are Won and Reclaimed in SQLite

Space Management: Where Bytes Are Won and Reclaimed in SQLite

24
Comments 1
4 min read
Virtual Database Engine in SQLite
Cover image for Virtual Database Engine in SQLite

Virtual Database Engine in SQLite

11
Comments
2 min read
Bytecode: SQLite’s Internal Programming Language
Cover image for Bytecode: SQLite’s Internal Programming Language

Bytecode: SQLite’s Internal Programming Language

16
Comments
3 min read
Inside SQLite’s Bytecode Language
Cover image for Inside SQLite’s Bytecode Language

Inside SQLite’s Bytecode Language

16
Comments
4 min read
Understanding the Core Opcodes in SQLite
Cover image for Understanding the Core Opcodes in SQLite

Understanding the Core Opcodes in SQLite

12
Comments
5 min read
How INSERT and JOIN Actually Execute in SQLite
Cover image for How INSERT and JOIN Actually Execute in SQLite

How INSERT and JOIN Actually Execute in SQLite

30
Comments 6
4 min read
How the VM Actually Executes a Program in SQLite
Cover image for How the VM Actually Executes a Program in SQLite

How the VM Actually Executes a Program in SQLite

19
Comments 1
3 min read
Internal Datatypes and Record Format in SQLite
Cover image for Internal Datatypes and Record Format in SQLite

Internal Datatypes and Record Format in SQLite

11
Comments
4 min read
Table Record and Key Format in SQLite
Cover image for Table Record and Key Format in SQLite

Table Record and Key Format in SQLite

16
Comments
3 min read
Index Key Format in SQLite
Cover image for Index Key Format in SQLite

Index Key Format in SQLite

13
Comments
4 min read
Datatype Management in SQLite
Cover image for Datatype Management in SQLite

Datatype Management in SQLite

17
Comments
4 min read
SQLite’s Flexible Typing: Storage Types and Column Affinity
Cover image for SQLite’s Flexible Typing: Storage Types and Column Affinity

SQLite’s Flexible Typing: Storage Types and Column Affinity

19
Comments
4 min read
How SQLite Converts Data: Affinity Rules in Action
Cover image for How SQLite Converts Data: Affinity Rules in Action

How SQLite Converts Data: Affinity Rules in Action

19
Comments
4 min read