All
My database contains a table which has 900 Million records and there are 4 NC indexes and 1 Clustered Indexes.
At present the occupied drive space for this table is 150 GB and I have 50 GB free space.
When I tried to rebuilt the indexes the 50 GB filled up and it shows no space error.
I am using the following syntax.
ALTER INDEX PK_indexname ON tablename REBUILD with (online = ON)
Is there any better way to optimize the performance and also not making sql server occupy so much space.
Thanks in advance
Sen
My database contains a table which has 900 Million records and there are 4 NC indexes and 1 Clustered Indexes.
At present the occupied drive space for this table is 150 GB and I have 50 GB free space.
When I tried to rebuilt the indexes the 50 GB filled up and it shows no space error.
I am using the following syntax.
ALTER INDEX PK_indexname ON tablename REBUILD with (online = ON)
Is there any better way to optimize the performance and also not making sql server occupy so much space.
Thanks in advance
Sen