Changing your huge table's data types in production [FOSDEM 2021]
You have a huge table, and it is necessary to change a column's data type, but your database has to keep running with no downtime. What do you do?
Here's one way to perform this change, in as unobtrusive a manner as possible while your table keeps serving users, by avoiding long DDL table locks and leveraging procedural transaction control.
Video from my short talk at this year's #FOSDEM #PostgreSQL 🐘 devroom 👇
You can find the slides from the talk here.