Hi, I am wondering why the following sql
Hi, I am wondering why the following sql alter table statement is taking over 10 minutes and locking up our db (adding this to a table with 2.7M rows)
1 Reply
foreign-sapphire•15mo ago
I had to cancel the operation after 22m of it just hanging and locking up the db
how can I add this new column to our db w/o it locking up?
from my understanding
ALTER TABLE public.results ADD COLUMN updated_at TIMESTAMP; should be super fast and not lock up the db.