Advanced
Omar@omar
12/21/2022

Reminder to check your database's index utilization stats every now and then. A lot of the indexes we used just 6 months ago were longer used and were just wasting space. Did the quarterly refresh and most of them fell out fashion almost as fast as effective altruism.

In reply to @omar
Colin Armstrong@colin
12/21/2022

This is on GCP? What database are you using?

In reply to @omar
Mihai Anca@mihai
12/21/2022

DataDog has good PG metrics, pganalyze goes more in depth. It's good to review on a periodic basis. New versions of PG improved indexes, I've seen big improvements after upgrading and reindex concurrently.

In reply to @omar
Sriram Krishnan@sriramk
12/21/2022

come here for the DB optimization tip, stay for the banger EA sting at the end.