dbTalk Databases Forums  

how to add 100,000 or more records into a SQL table daily with many indexes

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss how to add 100,000 or more records into a SQL table daily with many indexes in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
LeAnne
 
Posts: n/a

Default how to add 100,000 or more records into a SQL table daily with many indexes - 06-13-2006 , 06:59 AM






I have a table into which over 100,000 records will be inserted on a daily
basis.
This table will have many indexes.
The records come from another SQL server table.

Whats the best way to insert these records into the SQL table?
How can i disable or ensure that the indexes will NOT slow down the INSERT?



Reply With Quote
  #2  
Old   
Alejandro Mesa
 
Posts: n/a

Default RE: how to add 100,000 or more records into a SQL table daily with man - 06-13-2006 , 07:45 AM






LeAnne,

Quote:
How can i disable or ensure that the indexes will NOT slow down the INSERT?
Try dropping the nonclustered indexes and recreating them after the load.


AMB

"LeAnne" wrote:

Quote:
I have a table into which over 100,000 records will be inserted on a daily
basis.
This table will have many indexes.
The records come from another SQL server table.

Whats the best way to insert these records into the SQL table?
How can i disable or ensure that the indexes will NOT slow down the INSERT?




Reply With Quote
  #3  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: how to add 100,000 or more records into a SQL table daily with many indexes - 06-17-2006 , 09:44 AM



Hello LeAnne,

A lot of people remove indexes
Remove triggers
Remove users
Set the T Log to SIMPLE
Ensure adeqoate space in DB and log so we do not need to AUTOGROW


You can always change these back to the way they were afterwards.

When you say a lot of indexes? What do you mean?

Allan


Quote:
I have a table into which over 100,000 records will be inserted on a
daily
basis.
This table will have many indexes.
The records come from another SQL server table.
Whats the best way to insert these records into the SQL table? How can
i disable or ensure that the indexes will NOT slow down the INSERT?




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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.