Get the latest tech news

SQLite Index Visualization


After learning about indexes, I understood their basic structure, but I wanted to dig deeper — to ...

it’s a widely used DBMS, found in browsers, mobile apps, and operating systems; it's easier to debug: no separate server, just a client-side application; its codebase is smaller than MySQL or PostgreSQL but uses similar data structures for Indexes; it’s open-source. According to SQLite documentation, Indexes are stored in a B-Tree structure, which is a balanced tree where each node has multiple children. By default, each SQLite table row has a unique rowId, which works like a primary key if one isn’t explicitly defined.

Get the Android app

Or read this on Hacker News