ankane/dexter

Need 50% cost savings to suggest index

livingsilver94 opened this issue · 2 comments

Hello,
I have a pretty easy yet slow query I'm trying to speed up. Dexter doesn't find more indexes to help speeding it up and with --log-sql --log-level debug2 it returns "Need 50% cost savings to suggest index". What's the meaning of this?

Hey @livingsilver94, that means it found an index, but the index didn't provide enough cost savings (based on EXPLAIN) to be recommended.

Thanks a lot! Definitely helping 😄