Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
paulryanrogers
7y ago
0 comments
Share
There are some techniques for mitigating those, such as adding new columns as nullable without a default.
0 comments
default
newest
oldest
idunno246
7y ago
Right, adding a column with a default means the alter takes time while holding that lock and nothing can be read/written so is generally unsafe for big tables, but it doesn’t help if the alter can’t acquire the lock in the first place
j
/
k
navigate · click thread line to collapse