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
Add compression settings informational view #6630
Add compression settings informational view #6630
Conversation
@akuzm, @mahipv: please review this pull request.
|
89826aa
to
f9f9059
Compare
f9f9059
to
3bfc350
Compare
sql/updates/latest-dev.sql
Outdated
LEFT JOIN _timescaledb_catalog.compression_settings s ON format('%I.%I',ht.schema_name,ht.table_name)::regclass = s.relid | ||
LEFT JOIN LATERAL ( | ||
SELECT | ||
array_to_string(array_agg( |
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.
array_to_string(array_agg( | |
string_agg( |
sql/updates/latest-dev.sql
Outdated
LEFT JOIN _timescaledb_catalog.compression_settings s ON format('%I.%I',ch2.schema_name,ch2.table_name)::regclass = s.relid | ||
LEFT JOIN LATERAL ( | ||
SELECT | ||
array_to_string(array_agg( |
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.
array_to_string(array_agg( | |
string_agg( |
sql/views.sql
Outdated
LEFT JOIN _timescaledb_catalog.compression_settings s ON format('%I.%I',ht.schema_name,ht.table_name)::regclass = s.relid | ||
LEFT JOIN LATERAL ( | ||
SELECT | ||
array_to_string(array_agg( |
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.
array_to_string(array_agg( | |
string_agg( |
sql/views.sql
Outdated
LEFT JOIN _timescaledb_catalog.compression_settings s ON format('%I.%I',ch2.schema_name,ch2.table_name)::regclass = s.relid | ||
LEFT JOIN LATERAL ( | ||
SELECT | ||
array_to_string(array_agg( |
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.
array_to_string(array_agg( | |
string_agg( |
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.
LGTM. Only thing is changing array_to_string(array_agg...
to string_agg
.
3699240
to
b773bb6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6630 +/- ##
==========================================
- Coverage 80.00% 79.92% -0.08%
==========================================
Files 190 190
Lines 37217 37167 -50
Branches 9457 9436 -21
==========================================
- Hits 29774 29706 -68
- Misses 3030 3060 +30
+ Partials 4413 4401 -12 ☔ View full report in Codecov by Sentry. |
This patch adds 2 new views hypertable_compression_settings and chunk_compression_settings to query the per chunk compression settings.
b773bb6
to
80cc1a6
Compare
Automated backport to 2.14.x not done: cherry-pick failed. Git status
|
This release contains bug fixes since the 2.14.0 release. We recommend that you upgrade at the next available opportunity. **Features** * timescale#6630 Add views for per chunk compression settings **Bugfixes** * timescale#6636 Fixes extension update of compressed hypertables with dropped columns * timescale#6637 Reset sequence numbers on non-rollup compression * timescale#6639 Disable default indexscan for compression * timescale#6651 Fix DecompressChunk path generation with per chunk settings **Thanks** * @anajavi for reporting an issue with extension update of compressed hypertables
This release contains bug fixes since the 2.14.0 release. We recommend that you upgrade at the next available opportunity. **Features** * #6630 Add views for per chunk compression settings **Bugfixes** * #6636 Fixes extension update of compressed hypertables with dropped columns * #6637 Reset sequence numbers on non-rollup compression * #6639 Disable default indexscan for compression * #6651 Fix DecompressChunk path generation with per chunk settings **Thanks** * @anajavi for reporting an issue with extension update of compressed hypertables
This release contains bug fixes since the 2.14.0 release. We recommend that you upgrade at the next available opportunity. **Features** * #6630 Add views for per chunk compression settings **Bugfixes** * #6636 Fixes extension update of compressed hypertables with dropped columns * #6637 Reset sequence numbers on non-rollup compression * #6639 Disable default indexscan for compression * #6651 Fix DecompressChunk path generation with per chunk settings **Thanks** * @anajavi for reporting an issue with extension update of compressed hypertables
This release contains bug fixes since the 2.14.0 release. We recommend that you upgrade at the next available opportunity. **Features** * #6630 Add views for per chunk compression settings **Bugfixes** * #6636 Fixes extension update of compressed hypertables with dropped columns * #6637 Reset sequence numbers on non-rollup compression * #6639 Disable default indexscan for compression * #6651 Fix DecompressChunk path generation with per chunk settings **Thanks** * @anajavi for reporting an issue with extension update of compressed hypertables
This patch adds 2 new views hypertable_compression_settings and chunk_compression_settings to query the per chunk compression settings.