-
Notifications
You must be signed in to change notification settings - Fork 896
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
[Bug]: Queries are faster on decompressed data than on compressed data #7112
Comments
Can confirm:
One reason is that we don't have a specialized compression algorithm and hence no vectorized filters for bool columns. There is a workaround for this, making
Another problem is that in the compressed case the sort on
|
Added a feature request for this specifically: #7233 |
What type of bug is this?
Performance issue
What subsystems and features are affected?
Compression
What happened?
Running query from https://docs.timescale.com/tutorials/latest/blockchain-query/blockchain-compress/#taking-advantage-of-query-speedups gives better performance when data is decompressed and not when it's compressed.
TimescaleDB version affected
2.15.3
PostgreSQL version used
16.3
What operating system did you use?
Linux 6.5.0-15-generic
What installation method did you use?
Docker
What platform did you run on?
Not applicable
Relevant log output and stack trace
No response
How can we reproduce the bug?
Then compress it again
And try again a few times and you'll see higher latency no matter what
The text was updated successfully, but these errors were encountered: