Skip to content

feat(storage): make custom table INSERT incremental #6

Merged
harehare merged 3 commits into
mainfrom
feat/incremental-table-insert
Jun 25, 2026
Merged

feat(storage): make custom table INSERT incremental #6
harehare merged 3 commits into
mainfrom
feat/incremental-table-insert

Conversation

@harehare

Copy link
Copy Markdown
Owner

No description provided.

harehare added 3 commits June 24, 2026 23:05
Adds Callout/Embed/WikiLink node variants. Map them to skipped nodes
in node_to_parts, same as Fragment/Empty, to keep the match exhaustive.
Previously every INSERT INTO rewrote a table's full row history inline
in the catalog, making insert cost grow with total table size. Rows now
live in their own append-only page chain (mirroring document blocks),
so INSERT only writes the new rows plus a small fixed-size catalog
update instead of re-serializing everything already on disk.

Bumps the on-disk format to FILE_VERSION 3 (breaking change for
existing .mq-db files).
@harehare harehare merged commit c6cc37e into main Jun 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant