Skip to content

Conversation

Tishj
Copy link
Contributor

@Tishj Tishj commented Mar 6, 2025

This PR relates to #15794

With that PR, we introduced an upgrade to the previously established serialize_compatibility flag.
The storage_version now lives in the db, and dictates which compression algorithms are used.
This storage_version defaults to 0.10.2 for the sake of backwards compatibility.

The ZSTD and Roaring compression algorithms were added as part of 1.2.0, which is not covered by this default.
Because of this, the benchmarks for these compression algorithms were silently using Uncompressed, as the forced compression algorithm is not available.

This PR adds support for assert blocks in the benchmark runner, which are similar to result_query, any number of assert blocks can be added to verify the state of the db before running the benchmark.

storage persistent can currently be used to make the db used in the benchmark a persistent one that does not live in-memory, so that it can be checkpointed.
This PR introduces a second optional option to storage: storage persistent <version> which is similar to the SQL version:
attach 'db' (STORAGE VERSION <version>)

@Mytherin Mytherin merged commit c7c7d7e into duckdb:v1.2-histrionicus Mar 6, 2025
48 checks passed
@Mytherin
Copy link
Collaborator

Mytherin commented Mar 6, 2025

Thanks!

krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Apr 8, 2025
Set estimated cardinality to newly created logical operators (duckdb/duckdb#16528)
[Dev] Fix issues in the benchmark runner related to the serialized `storage_version` (duckdb/duckdb#16533)
[Python] Fix some stubs issues (duckdb/duckdb#16523)
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.

2 participants