-
Notifications
You must be signed in to change notification settings - Fork 972
Release 2.21.0 #8325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Release 2.21.0 #8325
Conversation
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.21.x #8325 +/- ##
==========================================
- Coverage 82.26% 82.08% -0.19%
==========================================
Files 257 257
Lines 48858 48830 -28
Branches 12318 12314 -4
==========================================
- Hits 40195 40082 -113
- Misses 3741 3900 +159
+ Partials 4922 4848 -74 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
svenklemm
approved these changes
Jul 1, 2025
philkra
reviewed
Jul 2, 2025
Signed-off-by: Philip Krauss <[email protected]>
erimatnor
reviewed
Jul 2, 2025
Co-authored-by: Fabrízio de Royes Mello <[email protected]> Signed-off-by: Philip Krauss <[email protected]>
philkra
reviewed
Jul 3, 2025
Signed-off-by: Philip Krauss <[email protected]>
philkra
reviewed
Jul 3, 2025
Signed-off-by: Philip Krauss <[email protected]>
atovpeko
reviewed
Jul 4, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nits
Co-authored-by: Anastasiia Tovpeko <[email protected]> Signed-off-by: Philip Krauss <[email protected]>
philkra
reviewed
Jul 4, 2025
Co-authored-by: Fabrízio de Royes Mello <[email protected]> Signed-off-by: Philip Krauss <[email protected]>
philkra
approved these changes
Jul 4, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
2.21.0 (2025-07-08)
This release contains performance improvements and bug fixes since the 2.20.3 release. We recommend that you upgrade at the next available opportunity.
Highlighted features in TimescaleDB v2.21.0
INSERT
performance close to that of uncompressed chunks.DELETE
operations on the columstore through batch-level deletions of non-segmentby keys in the filter condition, greatly improving performance to up to 42x faster in some cases, as well as reducing bloat, and lowering resource usage.Sunsetting of the hypercore access method
We made the decision to deprecate hypercore access method (TAM) with the 2.21.0 release. It was an experiment, which did not show the signals we hoped for and will be sunsetted in TimescaleDB 2.22.0, scheduled for September 2025. Upgrading to 2.22.0 and higher will be blocked if TAM is still in use. Since TAM’s inception in 2.18.0, we learned that btrees were not the right architecture. The recent advancements in the columnstore—such as more performant backfilling, SkipScan, adding check constraints, and faster point queries—put the columnstore close to or on par with TAM without the storage from the additional index. We apologize for the inconvenience this action potentially causes and are here to assist you during the migration process.
Migration path
Features
CREATE TABLE WITH
DELETE
on non-segmentby columnsNULL
compression for bool batches with all null values like the other compression algorithmsCOPY
Bugfixes
x = any(null::int[])
.GUCs
enable_direct_compress_copy
: Enable experimental support for direct compression duringCOPY
, default: offenable_direct_compress_copy_sort_batches
: Enable batch sorting during direct compressCOPY
, default: onenable_direct_compress_copy_client_sorted
: Correct handling of data sorting by the user is required for this option, default: off