Skip to content

Commit 19f731d

Browse files
committed
Release 2.15.0
This release contains performance improvements and bug fixes since the 2.14.2 release. We recommend that you upgrade at the next available opportunity. In addition, it includes these noteworthy features: * Support `time_bucket` with `origin` and/or `offset` on Continuous Aggregate * Compression improvements: - Improve expression pushdown - Add minmax sparse indexes when compressing columns with btree indexes - Make compression use the defaults functions - Vectorize filters in WHERE clause that contain text equality operators and LIKE expressions **Deprecation warning** * Starting on this release will not be possible to create Continuous Aggregate using `time_bucket_ng` anymore and it will be completely removed on the upcoming releases. * Recommend users to [migrate their old Continuous Aggregate format to the new one](https://docs.timescale.com/use-timescale/latest/continuous-aggregates/migrate/) because it support will be completely removed in next releases prevent them to migrate. * This is the last release supporting PostgreSQL 13. **For on-premise users and this release only**, you will need to run [this SQL script](https://github.com/timescale/timescaledb-extras/blob/master/utils/2.15.X-fix_hypertable_foreign_keys.sql) after running `ALTER EXTENSION`. More details can be found in the pull request [#6786](#6797). **Features** * #6382 Support for time_bucket with origin and offset in CAggs * #6696 Improve defaults for compression segment_by and order_by * #6705 Add sparse minmax indexes for compressed columns that have uncompressed btree indexes * #6754 Allow DROP CONSTRAINT on compressed hypertables * #6767 Add metadata table `_timestaledb_internal.bgw_job_stat_history` for tracking job execution history * #6798 Prevent usage of deprecated time_bucket_ng in CAgg definition * #6810 Add telemetry for access methods * #6811 Remove no longer relevant timescaledb.allow_install_without_preload GUC * #6837 Add migration path for CAggs using time_bucket_ng * #6865 Update the watermark when truncating a CAgg **Bugfixes** * #6617 Fix error in show_chunks * #6621 Remove metadata when dropping chunks * #6677 Fix snapshot usage in CAgg invalidation scanner * #6698 Define meaning of 0 retries for jobs as no retries * #6717 Fix handling of compressed tables with primary or unique index in COPY path * #6726 Fix constify cagg_watermark using window function when querying a CAgg * #6729 Fix NULL start value handling in CAgg refresh * #6732 Fix CAgg migration with custom timezone / date format settings * #6752 Remove custom autovacuum setting from compressed chunks * #6770 Fix plantime chunk exclusion for OSM chunk * #6789 Fix deletes with subqueries and compression * #6796 Fix a crash involving a view on a hypertable * #6797 Fix foreign key constraint handling on compressed hypertables * #6816 Fix handling of chunks with no contraints * #6820 Fix a crash when the ts_hypertable_insert_blocker was called directly * #6849 Use non-orderby compressed metadata in compressed DML * #6867 Clean up compression settings when deleting compressed cagg * #6869 Fix compressed DML with constraints of form value OP column * #6870 Fix bool expression pushdown for queries on compressed chunks **Thanks** * @brasic for reporting a crash when the ts_hypertable_insert_blocker was called directly * @bvanelli for reporting an issue with the jobs retry count * @djzurawsk For reporting error when dropping chunks * @Dzuzepppe for reporting an issue with DELETEs using subquery on compressed chunk working incorrectly. * @hongquan For reporting a 'timestamp out of range' error during CAgg migrations * @kevcenteno for reporting an issue with the show_chunks API showing incorrect output when 'created_before/created_after' was used with time-partitioned columns. * @mahipv For starting working on the job history PR * @rovo89 For reporting constify cagg_watermark not working using window function when querying a CAgg
1 parent d8057c4 commit 19f731d

38 files changed

+811
-786
lines changed
+10-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1+
{#
2+
# Variables:
3+
# release_current = the release version that has being builded
4+
# release_previous = previous release version
5+
# release_date = date of the release in format YYYY-MM-DD
6+
#}
17
## {{ release_current }} ({{ release_date }})
28

3-
This release contains performance improvements and bug fixes since
9+
This release contains performance improvements and bug fixes since
410
the {{ release_previous }} release. We recommend that you upgrade at the next
511
available opportunity.
612

713
In addition, it includes these noteworthy features:
8-
* Support `time_bucket` with `origin` and/or `offset` on Continuous Aggregate
9-
* Compression improvements:
10-
- Improve expression pushdown
11-
- Add minmax sparse indexes when compressing columns with btree indexes
12-
- Make compression use the defaults functions
13-
- Vectorize filters in WHERE clause that contain text equality operators and LIKE expressions
14-
15-
**Deprecation warning**
16-
* Starting on this release will not be possible to create Continuous Aggregate using `time_bucket_ng` anymore and it will be completely removed on the upcoming releases.
17-
* Recommend users to [migrate their old Continuous Aggregate format to the new one](https://docs.timescale.com/use-timescale/latest/continuous-aggregates/migrate/) because it support will be completely removed in next releases prevent them to migrate.
18-
* This is the last release supporting PostgreSQL 13.
19-
20-
**For on-premise users and this release only**, you will need to run [this SQL script](https://github.com/timescale/timescaledb-extras/blob/master/utils/2.15.X-fix_hypertable_foreign_keys.sql) after running `ALTER EXTENSION`. More details can be found in the pull request [#6786](https://github.com/timescale/timescaledb/pull/6797).
14+
* feature 1
15+
* feature 2
16+
* feature N

.unreleased/auto_sparse_indexes

-1
This file was deleted.

.unreleased/bugfix_6677

-1
This file was deleted.

.unreleased/bugfix_6717

-1
This file was deleted.

.unreleased/bugfix_6729

-1
This file was deleted.

.unreleased/bugfix_6732

-2
This file was deleted.

.unreleased/bugfix_6752

-1
This file was deleted.

.unreleased/bugfix_6789

-2
This file was deleted.

.unreleased/bugfix_6796

-1
This file was deleted.

.unreleased/feature_6382

-1
This file was deleted.

.unreleased/feature_6837

-1
This file was deleted.

.unreleased/feature_6865

-1
This file was deleted.

.unreleased/fix_6617

-2
This file was deleted.

.unreleased/fix_6816

-1
This file was deleted.

.unreleased/fix_6820

-2
This file was deleted.

.unreleased/pr_6621

-2
This file was deleted.

.unreleased/pr_6696

-1
This file was deleted.

.unreleased/pr_6698

-2
This file was deleted.

.unreleased/pr_6726

-2
This file was deleted.

.unreleased/pr_6754

-1
This file was deleted.

.unreleased/pr_6767

-2
This file was deleted.

.unreleased/pr_6770

-1
This file was deleted.

.unreleased/pr_6797

-1
This file was deleted.

.unreleased/pr_6798

-1
This file was deleted.

.unreleased/pr_6810

-1
This file was deleted.

.unreleased/pr_6811

-1
This file was deleted.

.unreleased/pr_6849

-1
This file was deleted.

.unreleased/pr_6867

-1
This file was deleted.

.unreleased/pr_6869

-1
This file was deleted.

.unreleased/pr_6870

-1
This file was deleted.

.unreleased/template.release_notes_header.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#}
77
## {{ release_current }} ({{ release_date }})
88

9-
This release contains performance improvements and bug fixes since
9+
This release contains performance improvements and bug fixes since
1010
the {{ release_previous }} release. We recommend that you upgrade at the next
1111
available opportunity.
1212

CHANGELOG.md

+64
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,70 @@
44
`psql` with the `-X` flag to prevent any `.psqlrc` commands from
55
accidentally triggering the load of a previous DB version.**
66

7+
## 2.15.0 (2024-05-08)
8+
9+
This release contains performance improvements and bug fixes since
10+
the 2.14.2 release. We recommend that you upgrade at the next
11+
available opportunity.
12+
13+
In addition, it includes these noteworthy features:
14+
* Support `time_bucket` with `origin` and/or `offset` on Continuous Aggregate
15+
* Compression improvements:
16+
- Improve expression pushdown
17+
- Add minmax sparse indexes when compressing columns with btree indexes
18+
- Improve compression setting defaults
19+
- Vectorize filters in WHERE clause that contain text equality operators and LIKE expressions
20+
21+
**Deprecation warning**
22+
* Starting on this release will not be possible to create Continuous Aggregate using `time_bucket_ng` anymore and it will be completely removed on the upcoming releases.
23+
* Recommend users to [migrate their old Continuous Aggregate format to the new one](https://docs.timescale.com/use-timescale/latest/continuous-aggregates/migrate/) because it support will be completely removed in next releases prevent them to migrate.
24+
* This is the last release supporting PostgreSQL 13.
25+
26+
**For on-premise users and this release only**, you will need to run [this SQL script](https://github.com/timescale/timescaledb-extras/blob/master/utils/2.15.X-fix_hypertable_foreign_keys.sql) after running `ALTER EXTENSION`. More details can be found in the pull request [#6786](https://github.com/timescale/timescaledb/pull/6797).
27+
28+
**Features**
29+
* #6382 Support for time_bucket with origin and offset in CAggs
30+
* #6696 Improve defaults for compression segment_by and order_by
31+
* #6705 Add sparse minmax indexes for compressed columns that have uncompressed btree indexes
32+
* #6754 Allow DROP CONSTRAINT on compressed hypertables
33+
* #6767 Add metadata table `_timestaledb_internal.bgw_job_stat_history` for tracking job execution history
34+
* #6798 Prevent usage of deprecated time_bucket_ng in CAgg definition
35+
* #6810 Add telemetry for access methods
36+
* #6811 Remove no longer relevant timescaledb.allow_install_without_preload GUC
37+
* #6837 Add migration path for CAggs using time_bucket_ng
38+
* #6865 Update the watermark when truncating a CAgg
39+
40+
**Bugfixes**
41+
* #6617 Fix error in show_chunks
42+
* #6621 Remove metadata when dropping chunks
43+
* #6677 Fix snapshot usage in CAgg invalidation scanner
44+
* #6698 Define meaning of 0 retries for jobs as no retries
45+
* #6717 Fix handling of compressed tables with primary or unique index in COPY path
46+
* #6726 Fix constify cagg_watermark using window function when querying a CAgg
47+
* #6729 Fix NULL start value handling in CAgg refresh
48+
* #6732 Fix CAgg migration with custom timezone / date format settings
49+
* #6752 Remove custom autovacuum setting from compressed chunks
50+
* #6770 Fix plantime chunk exclusion for OSM chunk
51+
* #6789 Fix deletes with subqueries and compression
52+
* #6796 Fix a crash involving a view on a hypertable
53+
* #6797 Fix foreign key constraint handling on compressed hypertables
54+
* #6816 Fix handling of chunks with no contraints
55+
* #6820 Fix a crash when the ts_hypertable_insert_blocker was called directly
56+
* #6849 Use non-orderby compressed metadata in compressed DML
57+
* #6867 Clean up compression settings when deleting compressed cagg
58+
* #6869 Fix compressed DML with constraints of form value OP column
59+
* #6870 Fix bool expression pushdown for queries on compressed chunks
60+
61+
**Thanks**
62+
* @brasic for reporting a crash when the ts_hypertable_insert_blocker was called directly
63+
* @bvanelli for reporting an issue with the jobs retry count
64+
* @djzurawsk For reporting error when dropping chunks
65+
* @Dzuzepppe for reporting an issue with DELETEs using subquery on compressed chunk working incorrectly.
66+
* @hongquan For reporting a 'timestamp out of range' error during CAgg migrations
67+
* @kevcenteno for reporting an issue with the show_chunks API showing incorrect output when 'created_before/created_after' was used with time-partitioned columns.
68+
* @mahipv For starting working on the job history PR
69+
* @rovo89 For reporting constify cagg_watermark not working using window function when querying a CAgg
70+
771
## 2.14.2 (2024-02-20)
872

973
This release contains bug fixes since the 2.14.1 release.

sql/CMakeLists.txt

+5-3
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,12 @@ set(MOD_FILES
4545
updates/2.13.0--2.13.1.sql
4646
updates/2.13.1--2.14.0.sql
4747
updates/2.14.0--2.14.1.sql
48-
updates/2.14.1--2.14.2.sql)
48+
updates/2.14.1--2.14.2.sql
49+
updates/2.14.2--2.15.0.sql)
4950

5051
# The downgrade file to generate a downgrade script for the current version, as
5152
# specified in version.config
52-
set(CURRENT_REV_FILE reverse-dev.sql)
53+
set(CURRENT_REV_FILE 2.15.0--2.14.2.sql)
5354
# Files for generating old downgrade scripts. This should only include files for
5455
# downgrade from one version to its previous version since we do not support
5556
# skipping versions when downgrading.
@@ -86,7 +87,8 @@ set(OLD_REV_FILES
8687
2.13.1--2.13.0.sql
8788
2.14.0--2.13.1.sql
8889
2.14.1--2.14.0.sql
89-
2.14.2--2.14.1.sql)
90+
2.14.2--2.14.1.sql
91+
2.15.0--2.14.2.sql)
9092

9193
set(MODULE_PATHNAME "$libdir/timescaledb-${PROJECT_VERSION_MOD}")
9294
set(LOADER_PATHNAME "$libdir/timescaledb")

0 commit comments

Comments
 (0)