by throwaway613745 · 11mo ago · 0 comments
Just recently was trying to optimize a 12s index scan, turns out I didn't need to change anything about the query I just had to update the table statistics. 12s down to 100ms just form running ANALYZE (no vacuum needed).
So we just so it proactively now.