Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

slow data loads 1

Status
Not open for further replies.

rtgordon

Programmer
Jan 17, 2001
104
US
My data loading has really begun to bog. I know that part of the reason is the cursor that I am using to load the data. After researching, I realized that I had misunderstood the fill factor for indexes. I was thinking that a fill factor of 70 meant 70% additional free space. I guess that it means 70% filled, which is not what I want. My research also made me wonder... The fact that I have a clustered index on the part number makes it worse.

Should I just get rid of the clustered indexes while I am loading 50,000 parts a day into my database? Or should I just set the fill factor way down to something like 25?

gordon
 
Drop the clustered index and load the data and recreate the clustered index after that.

Use forward readonly /static cursor to speed up.
 
Thanks! I'll try it as soon as my slow load finishes running.

I suppose that you mean something like

Code:
declare DataCursor cursor forward readonly static for...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top