You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT compress_chunk(c) FROM show_chunks('test_signals') c;
SELECT pg_size_pretty(before_compression_total_bytes) AS before_compress,
pg_size_pretty(after_compression_total_bytes) AS after_compress,
pg_size_pretty(hypertable_size('test_signals')) AS hypertable_size
FROM hypertable_compression_stats('test_signals');
Stats don't show up at all. table size is shrinking due to the autovacuum daemon presumably.
SELECT decompress_chunk(c) FROM show_chunks('test_signals') c;
SELECT pg_size_pretty(before_compression_total_bytes) AS before_compress,
pg_size_pretty(after_compression_total_bytes) AS after_compress,
pg_size_pretty(hypertable_size('test_signals')) AS hypertable_size
FROM hypertable_compression_stats('test_signals');
Table size neither grows nor shrinks at this point.
SELECT compress_chunk(c) FROM show_chunks('test_signals') c;
SELECT pg_size_pretty(before_compression_total_bytes) AS before_compress,
pg_size_pretty(after_compression_total_bytes) AS after_compress,
pg_size_pretty(hypertable_size('test_signals')) AS hypertable_size
FROM hypertable_compression_stats('test_signals');
Finally, expected values from the view (though slightly different from table size)
What type of bug is this?
Incorrect result
What subsystems and features are affected?
Compression
What happened?
I'm unable to get compression stats unless I forcibly recompress chunks.
TimescaleDB version affected
2.18.1
PostgreSQL version used
16.6
What operating system did you use?
timescaledb-ha:pg16.6-ts2.18.1
What installation method did you use?
Docker
What platform did you run on?
On prem/Self-hosted
How can we reproduce the bug?
initial table size is 1.7GB
Let's compress.
Stats don't show up at all. table size is shrinking due to the autovacuum daemon presumably.
Let's decompress.
Table size neither grows nor shrinks at this point.
Let's compress again.
Finally, expected values from the view (though slightly different from table size)
The text was updated successfully, but these errors were encountered: