I have a table that has 6 billion (10^9) rows in it, and need to add a 5 new columns. The columns being added are all nullable.My understanding of adding nullable columns is that this shouldn't take hours and hours since no new extents need to be allocated or new pages written, since all the columns being added are nullable. If they weren't nullable, and had defaults, then it would be another story. Is this correct? Or can I expect these ALTERs to take hours and hours?Here's the current schema, with all the columns renamed to satisfy my paranoid bosses:CREATE TABLE BigOne( col1 int not null, col2 int not null, col3 tinyint not null, col4 tinyint not null, col5 smallint null, col6 tinyint not null, col7 tinyint null, col8 tinyint null, col9 tinyint null, col10 decimal(4,3), col11 tinyint null, col12 tinyint null, col13 decimal(4,3), col14 tinyint null, col15 smallint null, col16 decimal(4,3), col17 tinyint null, col18 smallint null, col19 decimal(4,3) null, constraint PK_BigOne primary key (col1 asc, col2 asc))
and here are the columns I need to add:alter table [dbo].[BigOne] add col20 int nullalter table [dbo].[BigOne] add col21 int nullalter table [dbo].[BigOne] add col22 int nullalter table [dbo].[BigOne] add col23 smallint nullalter table [dbo].[BigOne] add col24 decimal(5,3) null
elsasoft.org