Changing your huge table's data types in production
- Track: PostgreSQL devroom
- Room: D.postgresql
- Day: Sunday
- Start: 14:30
- End: 15:00
- Video with Q&A: D.postgresql
- Video only: D.postgresql
- Chat: Join the conversation!
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.
Speakers
Jimmy Angelakos |