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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / braj123

Check that any indexes are there.
Drp the indexes and recreate after insert.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More DB Administration Interview Questions

what do you understand by fine-grained auditing?

1 Answers   Oracle,


how will u see whether the dabase is in archive log mode or not?

2 Answers   CSC,


What are the different types of database compression introduced in sql server 2008? : sql server DBA

1 Answers  


i have 10gp file.now i need store in database..but database have only 7gb memory only..how do u store the file ?

1 Answers   IBM,


How to start SQL Server in minimal configuration mode?

2 Answers  


who owns the operating system files created by the utl_file package?

1 Answers   Oracle,


Give the two types of tables involved in producing a star schema and the type of data theyhold.

2 Answers  


How would you determine who has added a row to a table?

4 Answers  


Is it possible to run 32 bit sql server 2000 on64bit windows platform.if how much memory is available to sql server?

1 Answers  


Name three advisory statistics you can collect.

1 Answers  


WHEN DOWN TIME WHAT CAN U DO?

1 Answers   TCS,


Explain the difference between $ORACLE_HOME and $ORACLE_BASE.

3 Answers  


Categories