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

Enable debug info about compression scan paths #6532

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

nikkhils
Copy link
Contributor

We enabled scans using indexes for a chunk that is to be compressed. The theory was that avoding tuplesort will be a win if there's a matching index to the compression settings. However, a few customers have reported very slow compress timings with lots of disk usage. It's important to know which scan is being used for the compression in such cases to help debug the issue. There's an existing GUC parameter which was "DEBUG" only till now. Make it available in release builds as well.

Disable-check: force-changelog-file

@nikkhils nikkhils self-assigned this Jan 16, 2024
We enabled scans using indexes for a chunk that is to be compressed.
The theory was that avoding tuplesort will be a win if there's a
matching index to the compression settings. However, a few customers
have reported very slow compress timings with lots of disk usage. It's
important to know which scan is being used for the compression in such
cases to help debug the issue. There's an existing GUC parameter which
was "DEBUG" only till now. Make it available in release builds as well.
Copy link

codecov bot commented Jan 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (45bc8a0) 79.74% compared to head (c8463ac) 79.74%.

❗ Current head c8463ac differs from pull request most recent head fb67e50. Consider uploading reports for the commit fb67e50 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6532   +/-   ##
=======================================
  Coverage   79.74%   79.74%           
=======================================
  Files         187      187           
  Lines       36709    36663   -46     
  Branches     9290     9273   -17     
=======================================
- Hits        29273    29238   -35     
  Misses       3102     3102           
+ Partials     4334     4323   -11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nikkhils nikkhils merged commit 15c14bd into timescale:main Jan 17, 2024
42 checks passed
@nikkhils nikkhils deleted the comp_debug branch January 17, 2024 07:27
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

4 participants