How to tune a stored procedure?

Answer Posted / arun yadav

There could be 'n' reasons for slow performance. For tuning
the performance of a SP we need to know how much resources
it is using and how much time it takes in execution. We can
check this using the performance monitor (for example, RPC
Counter) and execution plan. Check if we are using
appropriate joins, table defrag, index rebuilt can be the
solutions.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How data can be copied from one table to another table?

507


what is the Ticketing tool used in Wipro technologies at Bangalore...???

7475


What is the difference between lock, block and deadlock? : sql server database administration

562


what are defaults? Is there a column to which a default can't be bound? : Sql server database administration

616


Can an entity have two primary keys?

522






Explain the xml support sql server extends?

617


What is the library index called?

584


How to transfer an existing table from one schema to another schema in ms sql server?

507


In one interview...interviewer ask me question pleas tell me sql server architecture.. can any body tell me the sql server architecture with digram

1508


Explain log shipping and mention its advantages.

589


What is difference between table aliases and column aliases? Do they affect performance?

505


Can we do dml on views?

546


When a primary key constraint is included in a table, what other constraints does this imply?

597


How to create database with physical files specified in ms sql server?

538


What is user-defined inline table-valued function?

513