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 |
Claims and Drains are the locks used to control the concurrency between SQL processes and utilities. Referring to the above statement, what is the maximum number of concurrent Claimers for a Subsystem? Choice 1 32 Choice 2 64 Choice 3 128 Choice 4 256 Choice 5 No limit
What are the different types of database compression introduced in sql server 2008? : sql server DBA
What are the different authentication modes in sql server and how can you change authentication mode? : sql server DBA
How do you switch from an init.ora file to a spfile?
what is the differnce between process and thread ?
1. how do you delete duplicate rows in a table? 2. can you disable and enable primary key? 3. how do you move tables from one tablespace to another tablespace?????
Provide an example of a shell script which logs into SQLPLUS as SYS, determines the current date, changes the date format to include minutes & seconds, issues a drop table command, displays the date again, and finally exits.
1)how to Take Backup in sql server 2005 from Flash Drive
what do you understand by fine-grained auditing?
if monday take full backup and tuesday it was cumulative backup and wednesday we taken incremental backup, thursday some disaster happen then what type of recovery and how it will take?
what is incremental checkpoint?
Explain the difference between ARCHIVELOG mode and NOARCHIVELOG mode and the benefits and disadvantages to each.