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

How to modify existing triggers using "alter trigger"?

533


You schedule a job to run every minute what will happen if the first job runs more than 1 min? Will the second instance of the job start?

594


Tell me about normalization in DBMS.

585


What are different types of schemas?

523


How to execute a sql statement using odbc_exec()?

575






What is the maximum size of sql server database?

513


What is the difference between substr and charindex in the sql server?

514


Explain how to maintain a fill factor in existing indexes?

534


How to check what was the last restore transaction LSN in Log shipping or Mirroring? when we don't have a Monitor or witness server.

3380


How to insert data with null values?

594


What are the types of indexes?

602


what types of replication are supported in sql server? : Sql server database administration

471


How to delete database objects with "drop" statements in ms sql server?

600


Difference between group by clause and having clause in SQL?

570


Is sql server 2016 free?

538