Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

In my application to execute stored procedure it is taking 2minutes time,i want to reduce the time.is there any possibility to do that.

Thanks in advance.
Posted
Comments
[no name] 28-Nov-13 9:39am    
Run sql profiler and then tuning advisor.
Maciej Los 28-Nov-13 11:39am    
There is not enough information to answer this question. Please, provide more details, for example: does SQL Server is placed in LAN or WAN?, how many users?, etc.

Some stored procedures just take a lot of time. You need find out what part of the SP is slow. An SQL Profiler will help you pinpoint the problem. That's the only way to find out where to start with your performance gain but again... Somtimes everything is just right and the process just takes some time.

Eduard
 
Share this answer
 
First of all, please read my comment.

It could be several reasons of slow execution of SP. Here you'll find some of them: The Seven Sins against TSQL Performance[^]

This is quite often asked question. Also, i would suggest to use SearchBox[^] at the right-top corner of this site.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900