Skip to content

Commit

Permalink
Update wrong-index-solution.md
Browse files Browse the repository at this point in the history
Co-authored-by: xixirangrang <[email protected]>
  • Loading branch information
dveeden and hfxsd authored Dec 16, 2024
1 parent 711a04f commit d8b0b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrong-index-solution.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ There are multiple reasons why the optimizer might choose an unexpected index:
- **Outdated statistics**: the optimizer relies on statistics to estimate query costs. If the statistics are outdated, the optimizer might make suboptimal choices.
- **Statistics mismatch**: even if statistics are current, they might not accurately reflect the data distribution, leading to incorrect cost estimations.
- **Incorrect cost calculation**: the optimizer might miscalculate the cost of using an index due to complex query structures or data distribution.
- **Engine selection**: in some cases, the optimizer might select a storage engine that is not optimal for the query.
- **Inappropriate engine selection**: in some cases, the optimizer might select a storage engine that is not optimal for the query.
- **Function pushdown limitations**: certain functions or operations might not be pushed down to storage engines, potentially affecting query performance.

## Statistics health
Expand Down

0 comments on commit d8b0b5a

Please sign in to comment.