Forem

Athreya aka Maneshwar profile picture

Athreya aka Maneshwar

Software Dev | Technical Writer | 400k+ Reads | Learning, building, improving, writing :)

Three Year Club
Go
Top 7
2
C++
Java
8 Week Community Wellness Streak
GraphQL
Two Year Club
4 Week Community Wellness Streak
100 Thumbs Up Milestone
Writing Debut
One Year Club
SQLite Interface Handler: Understanding the sqlite3 Core Structure
Cover image for SQLite Interface Handler: Understanding the sqlite3 Core Structure

SQLite Interface Handler: Understanding the sqlite3 Core Structure

10
Comments
4 min read

Want to connect with Athreya aka Maneshwar?

Create an account to connect with Athreya aka Maneshwar. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
From Queries to Bytecode: The Final Pieces of SQLite’s Frontend
Cover image for From Queries to Bytecode: The Final Pieces of SQLite’s Frontend

From Queries to Bytecode: The Final Pieces of SQLite’s Frontend

30
Comments 1
5 min read
Which index should SQLite use?
Cover image for Which index should SQLite use?

Which index should SQLite use?

31
Comments 3
4 min read
Inside SQLite’s Frontend: Join Table Ordering
Cover image for Inside SQLite’s Frontend: Join Table Ordering

Inside SQLite’s Frontend: Join Table Ordering

15
Comments 1
3 min read
Inside SQLite’s Frontend: BETWEEN, OR, LIKE, and GLOB Optimizations
Cover image for Inside SQLite’s Frontend: BETWEEN, OR, LIKE, and GLOB Optimizations

Inside SQLite’s Frontend: BETWEEN, OR, LIKE, and GLOB Optimizations

28
Comments 2
4 min read
Inside SQLite’s Frontend: How the WHERE Clause Drives Optimization
Cover image for Inside SQLite’s Frontend: How the WHERE Clause Drives Optimization

Inside SQLite’s Frontend: How the WHERE Clause Drives Optimization

19
Comments
5 min read
Inside SQLite’s Frontend: How the Query Optimizer Makes Your SQL Fast
Cover image for Inside SQLite’s Frontend: How the Query Optimizer Makes Your SQL Fast

Inside SQLite’s Frontend: How the Query Optimizer Makes Your SQL Fast

22
Comments 4
5 min read
Inside SQLite’s Frontend: How Bytecode Is Generated and Names Are Resolved
Cover image for Inside SQLite’s Frontend: How Bytecode Is Generated and Names Are Resolved

Inside SQLite’s Frontend: How Bytecode Is Generated and Names Are Resolved

22
Comments 1
5 min read
Inside SQLite’s Frontend: The Parser- Turning Tokens into Meaning
Cover image for Inside SQLite’s Frontend: The Parser- Turning Tokens into Meaning

Inside SQLite’s Frontend: The Parser- Turning Tokens into Meaning

17
Comments 1
4 min read
Inside SQLite’s Frontend: How Your SQL Becomes Bytecode
Cover image for Inside SQLite’s Frontend: How Your SQL Becomes Bytecode

Inside SQLite’s Frontend: How Your SQL Becomes Bytecode

18
Comments 1
4 min read
The Secret Engine Behind Semantic Search: Vector Databases
Cover image for The Secret Engine Behind Semantic Search: Vector Databases

The Secret Engine Behind Semantic Search: Vector Databases

22
Comments
5 min read
Why AI Lies (And How RAG Fixes It)
Cover image for Why AI Lies (And How RAG Fixes It)

Why AI Lies (And How RAG Fixes It)

16
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

18
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
Datatype Management in SQLite
Cover image for Datatype Management in SQLite

Datatype Management in SQLite

17
Comments
4 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
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
The Hidden Program Behind Every SQL Statement
Cover image for The Hidden Program Behind Every SQL Statement

The Hidden Program Behind Every SQL Statement

16
Comments
6 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
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
3 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

25
Comments 6
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
Inside SQLite’s Bytecode Language
Cover image for Inside SQLite’s Bytecode Language

Inside SQLite’s Bytecode Language

16
Comments
4 min read
Forcing a Review Between Claude and git commit
Cover image for Forcing a Review Between Claude and git commit

Forcing a Review Between Claude and git commit

21
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
Virtual Database Engine in SQLite
Cover image for Virtual Database Engine in SQLite

Virtual Database Engine in SQLite

11
Comments
2 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
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
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
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
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
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
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
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
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
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
Statement Subtransactions and Tree Mutation in SQLite
Cover image for Statement Subtransactions and Tree Mutation in SQLite

Statement Subtransactions and Tree Mutation in SQLite

13
Comments
4 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
The Tree Module: Where Pages Turn Into Rows in SQLite
Cover image for The Tree Module: Where Pages Turn Into Rows in SQLite

The Tree Module: Where Pages Turn Into Rows in SQLite

25
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
Transaction Management: Where the Pager Becomes the Database in SQLite
Cover image for Transaction Management: Where the Pager Becomes the Database in SQLite

Transaction Management: Where the Pager Becomes the Database in SQLite

10
Comments
5 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
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
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
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
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
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
The Pager: Where SQLite Transactions Touch Disk Reality
Cover image for The Pager: Where SQLite Transactions Touch Disk Reality

The Pager: Where SQLite Transactions Touch Disk Reality

25
Comments
3 min read
How SQLite Turns Hardware Chaos into Correctness
Cover image for How SQLite Turns Hardware Chaos into Correctness

How SQLite Turns Hardware Chaos into Correctness

23
Comments
6 min read
Unlocking and Journaling in SQLite
Cover image for Unlocking and Journaling in SQLite

Unlocking and Journaling in SQLite

22
Comments
4 min read
Lock Management in Multithreaded SQLite Applications
Cover image for Lock Management in Multithreaded SQLite Applications

Lock Management in Multithreaded SQLite Applications

20
Comments
4 min read
Lock Management Inside a Process: Why Native Locks Alone Are Not Enough
Cover image for Lock Management Inside a Process: Why Native Locks Alone Are Not Enough

Lock Management Inside a Process: Why Native Locks Alone Are Not Enough

22
Comments 1
4 min read
Explicit Locking, Deadlocks, and Linux Lock Primitives in SQLite
Cover image for Explicit Locking, Deadlocks, and Linux Lock Primitives in SQLite

Explicit Locking, Deadlocks, and Linux Lock Primitives in SQLite

15
Comments 2
5 min read
Lock Management in SQLite
Cover image for Lock Management in SQLite

Lock Management in SQLite

17
Comments 2
5 min read
From System Transactions to User Transactions in SQLite
Cover image for From System Transactions to User Transactions in SQLite

From System Transactions to User Transactions in SQLite

21
Comments
4 min read
From Journals to Transactions: How SQLite Executes Work Safely
Cover image for From Journals to Transactions: How SQLite Executes Work Safely

From Journals to Transactions: How SQLite Executes Work Safely

18
Comments
3 min read
Journals Beyond the Basics in SQLite
Cover image for Journals Beyond the Basics in SQLite

Journals Beyond the Basics in SQLite

24
Comments
4 min read
Deep Dive into SQLite Storage
Cover image for Deep Dive into SQLite Storage

Deep Dive into SQLite Storage

16
Comments
4 min read
Sqlite Database File Structure
Cover image for Sqlite Database File Structure

Sqlite Database File Structure

17
Comments
5 min read
Inside SQLite: Naming files
Cover image for Inside SQLite: Naming files

Inside SQLite: Naming files

16
Comments
3 min read
loading...