Skip to content

fix(coderd/database): improve data exclusion in UpsertTemplateUsageStats #12764

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

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Mar 26, 2024

The PostgreSQL query analyzer wasn't able to eliminate the agent stats without re-introducing this filter.

Before: https://explain.dalibo.com/plan/21h7gb4f4bef391g
After: https://explain.dalibo.com/plan/721ec1cccee91egc

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mafredri and the rest of your teammates on Graphite Graphite

@mafredri mafredri marked this pull request as ready for review March 26, 2024 15:10
@mafredri mafredri merged commit ae0ee62 into main Mar 26, 2024
Copy link
Member Author

Merge activity

@mafredri mafredri deleted the mafredri/03-26-fix_coderd_database_improve_data_exclusion_in_upserttemplateusagestats_ branch March 26, 2024 15:21
@github-actions github-actions bot locked and limited conversation to collaborators Mar 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants