Skip to content
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

Release 2.18.0 #7596

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

pallavisontakke
Copy link
Contributor

@pallavisontakke pallavisontakke commented Jan 16, 2025

This release improves group by performance of compressing data and filters,
introduces the ability to add secondary indexes, and contains the highly upvoted
community request of transition table support. We recommend that you upgrade at the
next available opportunity.

Highlighted features in this release

  • TAM
  • Significant performance improvements for aggregations using a group by with one column
    and/or using a filter clause. SIMD
  • Transition tables

Dropping support for Bitnami images
After the recent change in Bitnami’s LTS support policy,
we are no longer building Bitnami images for TimescaleDB.

Features

Bugfixes

Thanks

  • @bharrisau for reporting the segfault when creating chunks.
  • @k-rus for suggesting that we add a hint when hypertable creation fails.
  • @pgloader for reporting the issue in an internal background job.
  • @staticlibs for sending the pull request that improves the transaction check in CAGG refresh.
  • @uasiddiqi for reporting the aggregated compressed column not found error.

This release contains performance improvements and bug fixes since
the 2.17.2 release. We recommend that you upgrade at the next
available opportunity.

**Features**
* timescale#6901: Add hypertable support for transition tables.
* timescale#7104: Hypercore table access method.
* timescale#7271: Push down `order by` in real-time continuous aggregate queries.
* timescale#7295: Support `alter table set access method` on hypertable.
* timescale#7341: Vectorized aggregation with grouping by one fixed-size by-value compressed column
* timescale#7390: Disable custom `hashagg` planner code.
* timescale#7411: Change parameter name to enable hypercore table access method.
* timescale#7412: Add GUC for `hypercore_use_access_method` default.
* timescale#7413: Add GUC for segmentwise recompression.
* timescale#7433 Add support for merging chunks
* timescale#7436 Add index creation on orderby columns
* timescale#7443: Add hypercore function and view aliases.
* timescale#7455: Support `drop not null` on compressed hypertables.
* timescale#7458: Support vecorized aggregation with aggregate `filter` clauses that are also vectorizable.
* timescale#7482: Optimize recompression of partially compressed chunks.
* timescale#7486: Prevent building against postgres versions with broken ABI.
* timescale#7521 Add optional `force` argument to `refresh_continuous_aggregate`
* timescale#7528 Transform sorting on `time_bucket` to sorting on time for compressed chunks in some cases.
* timescale#7565 Add hint when hypertable creation fails
* timescale#7587 Add `include_tiered_data` parameter to `add_continuous_aggregate_policy` API

**Bugfixes**
* timescale#7378: Remove obsolete job referencing `policy_job_error_retention`.
* timescale#7409: Update `bgw_job` table when altering procedure.
* timescale#7410: Fix the `aggregated compressed column not found` error on aggregation query.
* timescale#7426: Fix `datetime` parsing error in chunk constraint creation.
* timescale#7432: Verify that the heap tuple is valid before using.
* timescale#7434: Fixes the segfault when internally setting the replica identity for a given chunk.
* timescale#7488: Emit error for transition table trigger on chunks.
* timescale#7514: Fix the error: `invalid child of chunk append`.
* timescale#7517 Fixes performance regression on `cagg_migrate` procedure
* timescale#7527 Restart scheduler on error
* timescale#7557: Fix null handling for in-memory tuple filtering.
* timescale#7566 Improve transaction check in CAgg refresh
* timescale#7584 Fix NaN-handling for vectorized aggregation

**Thanks**
* @bharrisau for reporting the segfault when creating chunks.
* @k-rus for suggesting the improvement
* @pgloader for reporting the issue in an internal background job.
* @staticlibs for sending PR to improve transaction check in CAgg refresh
* @uasiddiqi for reporting the `aggregated compressed column not found` error.
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.29%. Comparing base (59f50f2) to head (a637a92).
Report is 706 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7596      +/-   ##
==========================================
+ Coverage   80.06%   82.29%   +2.22%     
==========================================
  Files         190      238      +48     
  Lines       37181    44146    +6965     
  Branches     9450    11099    +1649     
==========================================
+ Hits        29770    36329    +6559     
- Misses       2997     3438     +441     
+ Partials     4414     4379      -35     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@philkra philkra added this to the TimescaleDB 2.18.0 milestone Jan 16, 2025
Formatting and a couple of other changes.
Copy link
Contributor

@billy-the-fish billy-the-fish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of small suggestions.

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
pallavisontakke and others added 5 commits January 20, 2025 12:38
Co-authored-by: Iain Cox <[email protected]>
Signed-off-by: Pallavi Sontakke <[email protected]>
Co-authored-by: Iain Cox <[email protected]>
Signed-off-by: Pallavi Sontakke <[email protected]>
Co-authored-by: Iain Cox <[email protected]>
Signed-off-by: Pallavi Sontakke <[email protected]>
Co-authored-by: Iain Cox <[email protected]>
Signed-off-by: Pallavi Sontakke <[email protected]>
Co-authored-by: Iain Cox <[email protected]>
Signed-off-by: Pallavi Sontakke <[email protected]>
@svenklemm
Copy link
Member

We usually add a section to the top with some additional context for the main new feature of a minor release

@svenklemm
Copy link
Member

I think we are missing a note about bitnami deprecation.

Copy link
Contributor

@atovpeko atovpeko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few nitpicks

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
pallavisontakke and others added 6 commits January 22, 2025 15:50
Co-authored-by: Anastasiia Tovpeko <[email protected]>
Signed-off-by: Pallavi Sontakke <[email protected]>
Co-authored-by: Anastasiia Tovpeko <[email protected]>
Signed-off-by: Pallavi Sontakke <[email protected]>
Co-authored-by: Anastasiia Tovpeko <[email protected]>
Signed-off-by: Pallavi Sontakke <[email protected]>
Co-authored-by: Anastasiia Tovpeko <[email protected]>
Signed-off-by: Pallavi Sontakke <[email protected]>
With release summary and ordering.
Patch by Philip Krauss.
Copy link
Contributor

@philkra philkra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
philkra and others added 4 commits January 22, 2025 16:25
Signed-off-by: Philip Krauss <[email protected]>
Signed-off-by: Philip Krauss <[email protected]>
Added some extra details and polishing

Signed-off-by: Ramon Guiu <[email protected]>
Signed-off-by: Ramon Guiu <[email protected]>
@philkra
Copy link
Contributor

philkra commented Jan 22, 2025

@svenklemm addressed #7596 (comment) and #7596 (comment)

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.

7 participants