all groups > sql server data warehouse > january 2005 >
You're in the

sql server data warehouse

group:

Space allocation error



Space allocation error randy
1/19/2005 2:38:35 PM
sql server data warehouse: I work in ETL and had a table clustered index create fail
to due to the filegroup being full. Its created after
the data is inserted. I just read where I could use the
create in tempdb option, but here I don't think that
would help.

What I am thinking to minimize the space needed, is to
change and have the text file that loads into the table
be sorted to match the clustered index?

Would that help reduce the space needs when creating the
clustered index? I gotta beleive it would, but can't
find it in sql 2000 book. Can anyone confirm.

tia
Randy

RE: Space allocation error Tomasz Borawski
2/11/2005 6:11:07 AM
Hi,

When you create a clustered index, you have to understand that you need two
times more than data size plus some space for index structure. (Typically it
should be about 20 percent). Read CREATE INDEX statement in BOL and
everything will be clear.

Tomasz B.

[quoted text, click to view]
AddThis Social Bookmark Button