What would you use to improve performance on an insert
statement that places millions of rows into that table?

Answer Posted / setaceo

1. DML Triggers to be DISABLED and then ENABLED once the
insert completed.
2. DISABLE the Clustered Index and then ENABLED once the
insert completed.
3. After completion of INSERT, Defragmentation should be
there.
4. After completion of INSERT, Statistics should be updated.
5. (Optional) If it is non-peek time & This is the only
activity is going on then, Database recovery mode should be
SIMPLE / BULK-LOGGED. ( It should not be there along with
other activities....)

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which autogrowth database setting is good? : sql server DBA

568


What is the difference between the 2 operating modes of database mirroring? : sql server DBA

508


how can you enable flashback feature?

532


. I have my backup RMAN script called "backup_rman.sh". I am on the target database. My catalog username/password is rman/rman. My catalog db is called rman. How would you run this shell script from the o/s such that it would run as a background process?

1974


how to restore files with rman?

1742






What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?

1967


how can you communicate with operating system files from oracle?

556


Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?

1738


What is dcl? : sql server DBA

641


What types of replication are supported in sql server? : sql server DBA

593


how can you initialize log miner?

571


In what script is "snap$" created? In what script is the "scott/tiger" schema created?

1941


How to start SQL Server in minimal configuration mode?

6938


What the different components in replication and what is their use? : sql server DBA

531


How would you extract DDL of a table without using a GUI tool?

2044