Unix Technical Forum

Space allocation error

This is a discussion on Space allocation error within the SQL Server Data Warehousing forums, part of the Microsoft SQL Server category; --> I work in ETL and had a table clustered index create fail to due to the filegroup being full. ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server Data Warehousing

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 06:53 PM
randy
 
Posts: n/a
Default Space allocation error

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

the table is about 2,000 meg & 4 million rows
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 06:55 PM
=?Utf-8?B?VG9tYXN6IEJvcmF3c2tp?=
 
Posts: n/a
Default RE: Space allocation error

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.

"randy" wrote:

> 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
>
> the table is about 2,000 meg & 4 million rows
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:12 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com