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

What is bcp? When does it use?

509


What is resource governor in sql server?

544


Is null vs coalesce?

504


Explain full-text indexing?

514


How are the exceptions handled in sql server programming?

603






Can you explain various data region available in ssrs with their use?

544


How you trouble shoot when any job fails

1501


What can be used instead of trigger?

620


How can you tell if a database object is invalid?

611


What the different types of Replication and why are they used?

540


What is function of CUBE ?

605


How to update values in a table with update statements in ms sql server?

549


Does partitioning improve performance sql server?

483


What are unicode character string data types in ms sql server?

599


What is the difference between writing data to mirrored drives versus raid5 drives

505