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

compression policies on distributed hypertables #3116

Merged
merged 1 commit into from May 7, 2021

Conversation

mfundul
Copy link
Contributor

@mfundul mfundul commented Apr 13, 2021

Add distributed hypertable compression policies.

@mfundul mfundul self-assigned this Apr 13, 2021
@mfundul mfundul force-pushed the distributed-compression-policy branch 4 times, most recently from 0dbda27 to 7616285 Compare April 14, 2021 10:04
@@ -371,6 +372,63 @@ policy_refresh_cagg_read_and_validate_config(Jsonb *config, PolicyContinuousAggD
}
}

/*
* Invoke compress_chunk via fmgr so that the call can be deparsed and sent to
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a way to do this by invoking the parser on a query/SQL statement instead of doing it manually? Might be easier to adapt in the future if we'd want to, e.g., invoke compress chunks on multiple chunks in a single statement. Something like:

SELECT compress_chunk(ch)
FROM show_chunks(hypertable) ch LIMIT 10;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll do the research and get back to you.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

A question here, how would this work with 2PC? Meaning, this query would generate 10 2PC transactions, correct? Would those transactions happen concurrently? Is the concurrency limited by max_prepared_transactions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've temporarily added a policy_invoke_compress_chunks() function in addition to the policy_invoke_compress_chunk() function.

I replaced it at the access node level to see how it compares. If we are talking about doing that at the data node level then for sure it is too much work for this PR and would need to discuss it.

tsl/src/bgw_policy/job.c Outdated Show resolved Hide resolved
src/chunk.h Outdated Show resolved Hide resolved
@mkindahl
Copy link
Contributor

Initial Proof Of Concept for compression policies on distributed hypertables.

Fixes timescale/timescaledb-private#855

We usually do not refer to private issues from public issues. It might be better to create a public issue for this and refer to it.

tsl/src/bgw_policy/job.c Outdated Show resolved Hide resolved
tsl/src/bgw_policy/job.c Outdated Show resolved Hide resolved
tsl/src/compression/compress_utils.c Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Apr 20, 2021

Codecov Report

Merging #3116 (32f04b0) into master (2e44484) will increase coverage by 0.14%.
The diff coverage is 98.59%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3116      +/-   ##
==========================================
+ Coverage   90.17%   90.31%   +0.14%     
==========================================
  Files         215      215              
  Lines       35391    35390       -1     
==========================================
+ Hits        31914    31964      +50     
+ Misses       3477     3426      -51     
Impacted Files Coverage Δ
src/chunk.h 100.00% <ø> (ø)
tsl/src/bgw_policy/compression_api.c 83.16% <ø> (-0.33%) ⬇️
src/chunk.c 94.25% <95.65%> (+0.06%) ⬆️
src/utils.h 80.00% <100.00%> (+8.57%) ⬆️
tsl/src/bgw_policy/job.c 97.64% <100.00%> (+0.30%) ⬆️
tsl/src/compression/compress_utils.c 95.63% <100.00%> (-0.98%) ⬇️
tsl/src/deparse.c 92.85% <100.00%> (+0.03%) ⬆️
tsl/src/nodes/data_node_dispatch.c 97.35% <100.00%> (+0.03%) ⬆️
src/loader/bgw_message_queue.c 84.51% <0.00%> (-3.23%) ⬇️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 422440a...32f04b0. Read the comment docs.

sql/maintenance_utils.sql Outdated Show resolved Hide resolved
tsl/src/compression/compress_utils.c Outdated Show resolved Hide resolved
@mfundul mfundul force-pushed the distributed-compression-policy branch 2 times, most recently from 0a9e0ab to af6d23d Compare April 21, 2021 18:47
@mfundul mfundul marked this pull request as ready for review April 21, 2021 18:47
@mfundul mfundul requested a review from a team as a code owner April 21, 2021 18:47
@mfundul mfundul force-pushed the distributed-compression-policy branch 4 times, most recently from b57a38a to 68c27d0 Compare April 22, 2021 12:59
sql/maintenance_utils.sql Outdated Show resolved Hide resolved
@mfundul mfundul force-pushed the distributed-compression-policy branch 2 times, most recently from 406f199 to 7bea1cb Compare April 29, 2021 15:31
Copy link
Contributor

@mkindahl mkindahl left a comment

Choose a reason for hiding this comment

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

LGTM

tsl/src/compression/compress_utils.c Outdated Show resolved Hide resolved
tsl/test/sql/dist_compression.sql Outdated Show resolved Hide resolved
@mfundul mfundul force-pushed the distributed-compression-policy branch from 7bea1cb to b19f946 Compare May 5, 2021 10:02
@mfundul
Copy link
Contributor Author

mfundul commented May 7, 2021

After discussing with @svenklemm I'm changing tsl_compress_chunk_wrapper() to return void.

@mfundul mfundul force-pushed the distributed-compression-policy branch from 491e084 to 7e293e4 Compare May 7, 2021 13:10
@NunoFilipeSantos NunoFilipeSantos removed the request for review from erimatnor May 7, 2021 13:33
Add support for compression policies on Access Nodes. Extend the
compress_chunk() function to maintain compression state per chunk
on the Access Node.
@mfundul mfundul force-pushed the distributed-compression-policy branch from 7e293e4 to 32f04b0 Compare May 7, 2021 13:35
@mfundul mfundul merged commit bc740a3 into timescale:master May 7, 2021
@mfundul mfundul deleted the distributed-compression-policy branch May 7, 2021 14:32
@NunoFilipeSantos NunoFilipeSantos added this to the Timescale DB 2.3 milestone May 7, 2021
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 21, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. It also adds support for triggers and compression
policies on distributed hypertables.

The bug fixes in this release addresses issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3209 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3241 Fix assertion failure in decompress_chunk_plan_create
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
@erimatnor erimatnor mentioned this pull request May 21, 2021
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 21, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. It also adds support for triggers and compression
policies on distributed hypertables.

The bug fixes in this release addresses issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3209 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3241 Fix assertion failure in decompress_chunk_plan_create
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 21, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. It also adds support for triggers and compression
policies on distributed hypertables.

The bug fixes in this release addresses issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3209 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3241 Fix assertion failure in decompress_chunk_plan_create
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 21, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. It also adds support for triggers and compression
policies on distributed hypertables.

The bug fixes in this release addresses issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3209 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3241 Fix assertion failure in decompress_chunk_plan_create
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 21, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. It also adds support for triggers and compression
policies on distributed hypertables.

The bug fixes in this release addresses issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3213 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 21, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. It also adds support for triggers and compression
policies on distributed hypertables.

The bug fixes in this release addresses issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3213 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 21, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. It also adds support for triggers and compression
policies on distributed hypertables.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3213 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 24, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. Distributed hypertables now also support triggers and
compression policies.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3213 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 24, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. Distributed hypertables now also support triggers and
compression policies.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3213 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 24, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. Distributed hypertables now also support triggers and
compression policies.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3213 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 25, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. Distributed hypertables now also support triggers and
compression policies.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3213 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 25, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. Distributed hypertables now also support triggers and
compression policies.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3213 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 25, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. Distributed hypertables now also support triggers and
compression policies.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3213 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
* @fabriziomello for documenting the prerequisites when compiling against PostgreSQL 13
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 25, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. Distributed hypertables now also support triggers and
compression policies.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3213 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
* @fabriziomello for documenting the prerequisites when compiling against PostgreSQL 13
erimatnor added a commit to erimatnor/timescaledb that referenced this pull request May 25, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. Distributed hypertables now also support triggers and
compression policies.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* timescale#3116 Add distributed hypertable compression policies
* timescale#3162 Use COPY when executing distributed INSERTs
* timescale#3199 Add GENERATED column support on distributed hypertables
* timescale#3210 Add trigger support on distributed hypertables
* timescale#3230 Support for inserts into compressed chunks

**Bugfixes**
* timescale#3213 Propagate grants to compressed hypertables
* timescale#3229 Use correct lock mode when updating chunk
* timescale#3243 Fix assertion failure in decompress_chunk_plan_create
* timescale#3250 Fix constraint triggers on hypertables
* timescale#3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* timescale#3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
* @fabriziomello for documenting the prerequisites when compiling against PostgreSQL 13
erimatnor added a commit that referenced this pull request May 25, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. Distributed hypertables now also support triggers and
compression policies.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* #3116 Add distributed hypertable compression policies
* #3162 Use COPY when executing distributed INSERTs
* #3199 Add GENERATED column support on distributed hypertables
* #3210 Add trigger support on distributed hypertables
* #3230 Support for inserts into compressed chunks

**Bugfixes**
* #3213 Propagate grants to compressed hypertables
* #3229 Use correct lock mode when updating chunk
* #3243 Fix assertion failure in decompress_chunk_plan_create
* #3250 Fix constraint triggers on hypertables
* #3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* #3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
* @fabriziomello for documenting the prerequisites when compiling against PostgreSQL 13
erimatnor added a commit that referenced this pull request May 25, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. Distributed hypertables now also support triggers and
compression policies.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* #3116 Add distributed hypertable compression policies
* #3162 Use COPY when executing distributed INSERTs
* #3199 Add GENERATED column support on distributed hypertables
* #3210 Add trigger support on distributed hypertables
* #3230 Support for inserts into compressed chunks

**Bugfixes**
* #3213 Propagate grants to compressed hypertables
* #3229 Use correct lock mode when updating chunk
* #3243 Fix assertion failure in decompress_chunk_plan_create
* #3250 Fix constraint triggers on hypertables
* #3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* #3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
* @fabriziomello for documenting the prerequisites when compiling against PostgreSQL 13
erimatnor added a commit that referenced this pull request May 25, 2021
This release adds major new features since the 2.2.1 release. We deem
it moderate priority for upgrading.

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed
hypertables. Distributed hypertables now also support triggers and
compression policies.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

**Features**
* #3116 Add distributed hypertable compression policies
* #3162 Use COPY when executing distributed INSERTs
* #3199 Add GENERATED column support on distributed hypertables
* #3210 Add trigger support on distributed hypertables
* #3230 Support for inserts into compressed chunks

**Bugfixes**
* #3213 Propagate grants to compressed hypertables
* #3229 Use correct lock mode when updating chunk
* #3243 Fix assertion failure in decompress_chunk_plan_create
* #3250 Fix constraint triggers on hypertables
* #3251 Fix segmentation fault due to incorrect call to chunk_scan_internal
* #3252 Fix blocking triggers with transition tables

**Thanks**
* @yyjdelete for reporting a crash with decompress_chunk and identifying the bug in the code
* @fabriziomello for documenting the prerequisites when compiling against PostgreSQL 13
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.

None yet

6 participants