This repository was archived by the owner on Nov 21, 2026. It is now read-only.
Repository navigation
Benchmarks: CrateDB 6.4.6 joins the documents (analytics), dense and time-series tables - #486
Merged
Merged
Conversation
… dense, time series) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
|
Estimates, not measurements (N=3, both durability classes, serial on the bench host; the laptop smoke gives the shape only):
Total without deep10m: about 31 h; with it, 90 h or more. |
tae898
force-pushed
the
bench/cratedb-comparator
branch
from
October 23, 2026 08:40
98c6acb to
63d9075
Compare
# Conflicts: # benchmarks/experiments/COMPARATORS.md # benchmarks/experiments/stage_drafts_2611.sha256
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CrateDB 6.4.6 joins as a comparator on three lanes: documents (TPC-H analytics only), dense vectors, and time series. Image
crate@sha256:e7bded34…(6.4.6, amd64,crate:lateston 2026-10-23), Apache 2.0, no benchmark clause found. All three lanes talk PostgreSQL wire through the client image'spsycopg; no new package.Lanes in and out
olap(Q1, Q6, top parts, ship mode, by month;runner.ARM_RUNSkeeps the arm off theoltpworkload and gives it its own stage), dense (float_vector+knn_match, fp32), time series (six TSBS queries).Fairness contract
Lucene99HnswVectorsFormatDEFAULT_MAX_CONN 16, doubled at layer 0 = hnswlib M 16; DEFAULT_BEAM_WIDTH 100 =EF_CONSTRUCTION), read from the class constants in the pinned image;CrateCodeconly wraps the delegate format. It equals the lane's matched value, so the row stampsdegree_param16 /hnswlib_m_doubled_at_basepluscratedb_lucene_max_conn/cratedb_lucene_beam_width, and the adapter refuses to build at any otherBENCH_DENSE_COMPARATOR_M. Search beam:knn_match's k is per shard and the table has one shard, so k =max(10, ef_search), best 10 by_score; the lane's matched-recall sweep turns it like every ef. Recall at ef 100: 0.9994 on the 20k laptop corpus.translog.durability=ASYNC(translog.sync_interval5 s, the default), strict =REQUEST(the engine default). Both are set per table and read back frominformation_schema.tablesintodurabilityandcratedb_translog_*; a table that did not take the class marks the string "NOT the fairness_check F11: the October pin's embedded vector clean close is a known regression (#89) #90 ... setting". Bulk load and the analytics reads are one setting per cell, as for every engine.vendor_memory.cratedb_heap, F3d),processors= the cpuset (read back fromsys.nodes).INDEX OFFon the filtered columns is NOT measured yet and is named as owed inINDEX_DECISIONS.Settings
CRATE_HEAP_SIZEprocessorsPRAGMA threads, PostgreSQL parallel workers, ES allocated processorsdiscovery.type=single-nodenumber_of_shards: 1number_of_replicas: 0ASYNC, sync_interval 5 ssynchronous_commit=off, MongoDBj=falseREQUESTsynchronous_commit=on,j=trueREFRESH TABLEin the build timerANALYZEin the build timerANALYZEOPTIMIZE ... max_num_segments = 1in the build timerm16,ef_construction100Lucene99HnswVectorsFormatDetails, and the
PROTOCOL.mdsection 7 row, are in COMPARATORS.md "CrateDB: every setting…".Tests and smoke
benchmarks/experimentspytest suite on the rebased branch: 1045 passed, 19 skipped, on the branch rebased onto main after the Redis PR (Benchmarks: Redis 8.10.2 joins the dense table (Query Engine HNSW, vendor settings, both durability classes) #481) merged (stage_drafts_2611.sha256regenerated after that merge).-m 3g, heap 1g, cores 4,5,8-11, throughquiet_build.sh): documents SF0.01 relaxed and strict, dense 20k relaxed (including the insert/delete mutation phase), time series ts100 in full.runner.pycells (server container + client container, cores 8-11, 6g cap, throughquiet_build.sh):cratedb_densemicro,cratedb_tpctpch1 olap at SF0.01 andcratedb_tsts100 all passed (rc 0). Rows read back-Cprocessors=4= the cpuset, the shards asked for, andcratedb_heap_max_mib=server_heap. Not run: the large tiers and the strict class through the runner. Under the diagnostic--mem 6gthe tier heap does not follow the cap (8g shown in a 6g cap on two rows); at the real tiers the vendor rule gives a quarter of the cap, and those smoke rows are not for publication.Notes for merging
make_2611_stages.NOT_YET_MEASUREDkeepspage_checkfrom owing CrateDB rows before it has any; remove it with the first full measurement.stage_drafts_2611.sha256is regenerated on top of the merged Redis PR; any later change to the stage generator needs one more regeneration.🤖 Generated with Claude Code