[InterNetNews/inn] 003b80: hissqlite: batch writes during a HIS_INCORE bulk r...
Kevin Bowling
noreply at github.com
Tue Jul 14 15:55:24 UTC 2026
Branch: refs/heads/main
Home: https://github.com/InterNetNews/inn
Commit: 003b803edc75961839ee68de78212dafd9b50b8e
https://github.com/InterNetNews/inn/commit/003b803edc75961839ee68de78212dafd9b50b8e
Author: Kevin Bowling <kevin.bowling at kev009.com>
Date: 2026-07-14 (Tue, 14 Jul 2026)
Changed paths:
M doc/pod/hissqlite.pod
M doc/pod/makehistory.pod
M history/hissqlite/hissqlite-main.sql
M history/hissqlite/hissqlite-private.h
M history/hissqlite/hissqlite.c
M tests/lib/hissqlite-t.c
M tests/lib/history-bench.c
Log Message:
-----------
hissqlite: batch writes during a HIS_INCORE bulk rebuild
Reuse HIS_INCORE, which makehistory passes and which hisv6 used for
sole writer rebuilds.
hissqlite's writes autocommit (one implicit transaction per HISwrite)
innd and the in-place expire interleave on the WAL write lock without
starving each other using this contract.
That per-transaction cost dominates bulk loading though: makehistory
rebuilds 2-3x faster in my benchmarking with this similar to
hissqlite-convert which also uses similar batch logic and reasoning.
close #352
To unsubscribe from these emails, change your notification settings at https://github.com/InterNetNews/inn/settings/notifications
More information about the inn-committers
mailing list