Skip to content
S

storage-format

SQLite file format, B-trees, pages, cells, overflow, freelist

by tursodatabaseFree

Launch
#2872in AI Skills
0In stores

Description

Storage format is an agent skill that describes the SQLite file format used by the Turso database, tursodb. It explains the layout of a data…

Highlights

  • Describes the SQLite file layout used by tursodb
  • Explains the 100-byte database header
  • Covers B-tree pages, cells and overflow
  • Explains the freelist
  • Page size from 512 to 65536 bytes

Ratings & Reviews

No ratings yet

Be the first to rate storage-format.

People also visit

D

debugging

How to debug tursodb using Bytecode comparison, logging, ThreadSanitizer

AI Skills
Launch
D

differential-fuzzer

Information about the differential fuzzer tool

AI Skills
Launch
T

testing

How to write tests, when to use each type of test, and how to run them

AI Skills
Launch
A

async-io-model

Explanations of common asynchronous patterns used in tursodb

AI Skills
Launch
C

code-quality

General Correctness rules, Rust patterns, comments, avoiding over-engineering

AI Skills
Launch
T

transaction-correctness

How WAL mechanics, checkpointing, concurrency rules, recovery work in tursodb

AI Skills
Launch

storage-format FAQ

What does the skill explain?

The on-disk SQLite file format that tursodb uses, including pages, the header, B-trees, cells, overflow pages and the freelist.

What is in the first page?

The database header in the first 100 bytes, followed by the schema.

What page sizes are allowed?

Powers of two from 512 to 65536 bytes. The default is 4096.

Who is it for?

Contributors who work on the storage layer and need the files to stay compatible with SQLite.

How do I install it?

Run npx skills add https://github.com/tursodatabase/turso --skill storage-format.

What security audits has it passed?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best storage-format alternatives?

Popular alternatives to storage-format include debugging, differential-fuzzer and testing. See all storage-format alternatives

Developer Stuff

Badges