The docs for Redshift say:
ALTER TABLE locks the table for reads and writes until the operation completes.
My question is:
Let's say I have a table with 500 million rows, and I want to add a column. It sounds like a hard operation that can lock the table for a long time - right? Or is this actually a quick operation since Redshift is a columnar db? Or does it depend on whether the column is NULL / has a default value?
source
share