aboutsummaryrefslogtreecommitdiffstats
path: root/docs/research/019-byte-storage.md
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-28 04:06:22 +0100
committereunhhu <[email protected]>2026-09-28 04:06:22 +0100
commite5d9b792497ccbc71ccd777497d40c7a8f8c23bf (patch)
treec5eb8dea9b02adfb4c2d05628dff251cd6219c88 /docs/research/019-byte-storage.md
parent922ead6b88a1a4ff2edf093dba57063b19a75890 (diff)
downloadpure-e5d9b792497ccbc71ccd777497d40c7a8f8c23bf.tar.gz
pure-e5d9b792497ccbc71ccd777497d40c7a8f8c23bf.zip
Record queries on the bank beside SQLite (091)
091 measures four queries on pgbench's tables of 100,000 accounts, the same rows and answers on Pure (registered queries, HTTP and JSON included) and SQLite 3.46.1, through each step: items field by field in leaves, folds and filters a leaf at a time, and one pass answering a fold in a column for every row. Per-branch totals went from 398 ms to 4.9 ms (SQLite 45, 14.3 with a DBA's indexes), a three-table join from 3.3 to 0.48 ms (1.47), and each rich account's rank from 9.2 s to 6.8 ms (2.84 s, 7.6 ms with an index); counting accounts in credit takes 1.05 ms where an index lets SQLite count 0.16 ms. Pure declares no index.
Diffstat (limited to 'docs/research/019-byte-storage.md')
0 files changed, 0 insertions, 0 deletions