|
Speed Up Insert Performance
If you are doing bulk copy of data, when possible, use the BULK INSERT statement instead of the bcp utility. Inserting data into a table with a single clustered index is slightly better than inserting the same data into the same table with a corresponding nonclustered index2. Adjust the size of the data and log files to avoid "autogrowth" events. If these files grow during a transaction, the operation of allocating new space will affect performance. Consider moving the log file of the database to a separate drive from the data files. Better if that separate drive is a RAID 1 or RAID 1+0.
References. 1. Fill Factor. 2. Comparing Tables Organized with Clustered Indexes versus Heaps.
|
.Send mail to
webmaster@sqlcoffee.com with
questions or comments about this web site.
|