How to tune a stored procedure?

Answer Posted / gopi a

Stored Procedure is Precompiled set of quries. Stored
Procedure performence fully depended on this queries. First
Look the queries performence using Execution Plan. After
find the Queries, just check the Index(for table used in
query) and look the join conditions between tables in the
query. - This is way we need to approch to tune the SP.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create function without parameter in sql server?

557


What are different types of join?

759


How to provide values to stored procedure parameters in ms sql server?

529


What are the different normalization forms?

610


What are the transaction properties?

547






Why SQL Agent is used?

594


What is the exact numeric data type in sql?

547


What is nested transaction?

536


Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?

2082


What is a derived table?

507


hi, the following are the outputs of sp_spaceused and sp_tempdbspace sp_spaceused ------------ database size unallocated size tempdb 77752.95 MB 28026.99 MB sp_tempdbspace ------------- database size spaceused tempdb 77752.945312 1.007812 the unused space in sp_spaceused is nearly 28 Gb and in sp_tempdbspace is nearly 76 Gb cany any one explain about this output and why its giving different results.

2468


What is a non clustered primary key?

508


Can sql servers linked to other servers?

545


Explain security with sql azure?

161


What are the types of indexing?

594