August 29, 2005 at 1:28 pm
Hey SQLers,
For those of you with an enterprise application out there using MS SQL, how many stored procedures do you use with your application? I'm just looking to see if I'm anywhere near the right ballpark?
Thanks,
Ryan
August 29, 2005 at 1:34 pm
There's no fixed number. I can imagine a large datastore having only a few dozen sps running an 8 way server to the ground while another app with 1000+ forms and 5K sps will only take a daul proc server because the procs are all extremely quick to execute and that there are only a few dozen users on the system. It all depends on the needs of the application.
August 29, 2005 at 1:43 pm
Right, so those are the types of examples I'm looking for. I've jumped into the middle of this company and I'm trying to improve the performance of the software. I was just wondering if Stored Procedures were a good place to turn to try improving performance or if I should concentrate my little free time in other directions.
Thanks!
August 29, 2005 at 1:49 pm
Here's how I look at Stored Procedures...
Let's say you have an application (for example: Crystal Reports), that has 5 users. Each user queries the same data.
You have two choices....
1. create a Crystal Report script that will run on each user's system
2. create a stored procedure that Crystal Reports executes.
Guess which one is easier to maintain? With the stored procedure, you don't have to update each user's Crystal Report script. And you know what they are running because they can't make changes to it.
-SQLBill
August 29, 2005 at 1:51 pm
Check this out for articles on performance tuning. This will get you going .
http://www.sqlservercentral.com/articles/articleList.asp?categoryid=37
August 29, 2005 at 3:31 pm
Brad McGehee has a site with good advice on performance tuning:
http://www.sql-server-performance.com/
Greg
Greg
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply