What is one of the first things you would do to increase
performance of a query? For example, a boss tells you that
?a query that ran yesterday took 30 seconds, but today it
takes 6 minutes?

Answer Posted / george

I think the first thing we need to check for the index
defragmentation, truncating transaction log and shrinking
the tempdb as well, this is because first time the query
get executed in the short time only 30 Sec, however second
day time execution increased

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define outer join in sql server joins?

526


Distinguish between commit and rollback?

547


What is merge statement?

625


How to connect sql server management studio express to sql server 2005 express?

581


What are the aggregate and scalar functions?

523






What is "scheduled jobs" or "scheduled tasks"?

554


What is the exact numeric data type in sql?

547


Why does sql studio use a single registered database repository? : sql server management studio

528


What is report snapshot?

99


Define outer join?

532


What is cursors? And what are the different types of cursor?

553


What is subreport?

98


How can you set the threshold at which sql server will generate keysets asynchronously?

565


What is autocommit mode in sql server?

542


what is blocking? : Sql server database administration

500