Skip to content

fix: properly negative cost changes#111

Open
Xetera wants to merge 1 commit intomainfrom
fix-negative-cost
Open

fix: properly negative cost changes#111
Xetera wants to merge 1 commit intomainfrom
fix-negative-cost

Conversation

@Xetera
Copy link
Copy Markdown
Collaborator

@Xetera Xetera commented Apr 10, 2026

We shouldn't have been calling abs on the cost reduction since that turns a -800% cost decrease into an 800% cost decrease (omg you should totally add this index that makes your query 800% slower)

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Query Doctor Analysis

View full run details

83 queries analyzed

2 pre-existing issues

Using assumed statistics (10000000 rows/table). For better results, sync production stats.

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.

1 participant