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 database replicaion? What are the different types of replication you can set up in sql server? : Sql server database administration

623


What is bit data type? What's the information that can be stored inside a bit column?

609


What is the function of inner join?

648


What is ms sql server service broker?

584


You notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it?

726






What do you mean by sql server agent?

631


Describe how to use the linked server?

696


What is a field name?

615


difference between Clustered index and non clustered index ?

672


Is it possible to call a stored procedure within a stored procedure?

644


What are triggers? How do you invoke a trigger on demand?

843


What is SQL Azure Data sync?

113


What are the differences between union, intersect, and minus operators?

671


Can group functions be mixed with non-group selection fields in ms sql server?

619


What is report rendering ?

109