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
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 |
Answer / braj123
Check that any indexes are there.
Drp the indexes and recreate after insert.
| Is This Answer Correct ? | 4 Yes | 1 No |
Give the stages of instance startup to a usable state where normal users may access it.
Where do you find the default index fill factor and how to change it? : sql server DBA
what is ora 24313?what is the procedure to exclude that error?
Is it possible to run 32 bit sql server 2000 on64bit windows platform.if how much memory is available to sql server?
I lost one datafile i dont have backup how can you recover that???
What would you do with an "in-doubt" distributed transaction?
Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?
What is the difference between dropping a database and taking a database offline? : sql server DBA
What are the different types of upgrades that can be performed in sql server? : sql server DBA
What is database replicaion? What are the different types of replication you can set up in SQL Server?
What are the new features in sql server 2005 when compared to sql server 2000? : sql server DBA
what is the last version,the release date of that version and fix pack of ibm db2 udb?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)