Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > bulk insert in ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 11150 of 11517
Post > Topic >>

bulk insert in clustered index table

by Tawfiq <tawfiq.choudhury@[EMAIL PROTECTED] > Jun 17, 2008 at 10:00 AM

Hi,

I have got the following situation please give me some ideas how to
solve/work around it.

Current situation: Everyday day about 10 million records are processed
and bulk inserted in individual tables. Around 20K records are
inserted at a time. At the end of the day this table is clustered
indexed. The field used for indexing is not a primary key. There is no
primary key in this table. After indexing read access is given and
user run re****ts from the frontend using the clustered index field.

Hope to achieve: Table will be clustered indexed from the start and
bulk insert (10 mill records/day) will be done on this indexed table.
At the same time users will have access to this table to run re****ts.

Now we all know inserting data in a an indexed table (specially
clustered) is a bad idea. So is it completely impossible? I have seen
the same thing being done in Oracle database. Is it possible in SQL
Server.

From this blog:
http://www.sqljunkies.com/WebLog/aferrari/archive/2007/07/02/41931.aspx
it seems that if I dummy sort the data before inserting then I can
overcome this performance issue. But then bulk-insert will be useless
here.

Please help.

Thanks in advance.
 




 3 Posts in Topic:
bulk insert in clustered index table
Tawfiq <tawfiq.choudhu  2008-06-17 10:00:54 
Re: bulk insert in clustered index table
Gert-Jan Strik <sorry@  2008-06-17 20:46:48 
Re: bulk insert in clustered index table
Sybaseguru <collap@[EM  2008-06-17 21:09:25 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 1:00:19 CST 2008.