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 |
how do see how much space is used and free in a tablespace
What is the dataguard background process??
What is a correlated sub-query? : sql server DBA
Explian different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?
how will you see when the database was started using sql prompt?
Explain how you would restore a database using RMAN to Point in Time?
What is dcl? : sql server DBA
by issuing "alter tablespace begin backup;" what happens to tablespace?
Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracle's. What database recovery options are available? Database is in archive log mode.
What are the different sql server versions you have worked on? : sql server DBA
when we login sql editor using username and password then it says this error "could not resolve service name" then what can we do at client side.( here thing is tnsnames.ora file is ok till yesterday and worked well, but now it giving error.
How do you find out from the RMAN catalog if a particular archive log has been backed-up?