I recently upgraded my client ev.energy to PostgreSQL 13.
The first feature listed in this version’s release notes is “Space savings and performance gains from de-duplication of B-tree index entries”.
I reindexed all tables after the upgrade to take advantage of this deduplication and saw index storage savings of up to 90%.
At yesterday’s DJUGL meetup I heard a talk from Esau Rodríguez about a buggy new system deployment he survived.
His team were deploying a new version of a system that changed the way it connected to its MySQL database, while simultaneously moving session keys from integers to UUID’s. When they discovered the database connection change was flaky, they rolled back to the previous version.
This quickly lead to a user reporting being able to see another’s data!