February 22, 2008 at 5:02 am
Hi
We have our website and it gets lots of traffic from website. this db contains all countries records. what could be the possiable solution to improve the performance of website (or db). one could be to redesign db like keep all countries data seperate but it's not feasiable. can anybody gives other suggestions?
thanks
dharmesh
February 22, 2008 at 5:14 am
hey,
This is kind of an open-ended question, as performance can be improved in a number of areas, but you first need to identify your performance bottlenecks. Can you provide some additional information as to why you think performance is a problem? Has performance been an issue recently or has it been an on-going issue?
Thanks,
Phillip Cox
February 27, 2008 at 10:14 am
For N/W related use network monitor, OS related use perfmon and SQL Server use Profiler to find which one is the hitting the deck and then tune them accordingly.
Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
February 27, 2008 at 10:59 am
If you are concerned that the bottleneck lies with the Website, you can use a product called HTTPWatch. It will show you what is taking a long time to load/render etc. However, it is my experience that the database behind the application is where the performance is being lost.
More detail on your specific case would be helpful, but optimizing the database requires the problem be determined first. This can be done by running Traces to see if there are statement or procedures that are looping or statements causing full table scans because of an indexing problem.
Regards, Irish
February 27, 2008 at 11:57 am
While SQL Profiler and Perfmon are and will always be valuable tools, a SQL Server 2005 instance already stores a huge amount of information on its operational details in memory and exposes it through dynamic management views (DMVs) and functions (DMFs).
I would highly recommend that you go through the following 2 articles (there are others as well, but these 2 are an excellent starting point):
SQL Server - Uncover Hidden Data to Optimize Application Performance:
http://msdn.microsoft.com/msdnmag/issues/08/01/SqlDmvs/default.aspx
SQL Server 2005 Waits and Queues - SQL Server Best Practices Article:
http://www.microsoft.com/technet/prodtechnol/sql/bestpractice/performance_tuning_waits_queues.mspx
The first article shows you how to use the new powerful capabilities of SQL Server DMVs and DMFs to get information on the costliest code running in your instance, in terms of CPU, memory, file I/O etc.
The second article shows how you can track down the main bottleneck(s) in your system. As was pointed out earlier, you cannot plan for improved performance without first knowing where the issues are, ie. which resources are experiencing the heaviest load.
Run the Track_waitstats_2005 sproc, mentioned in the 2nd link, on your system to get the wait types ranked by level of importance in your system. Get the sproc from
http://www.microsoft.com/technet/scriptcenter/scripts/sql/sql2005/waitstats/sql05vb049.mspx
Once you get info on the top few wait types (bottlenecks) in your system, you will be able to plan your next step.
Note that the results of these types of analysis are sampled since the latest instance restart, so make sure you allow for a few days' time (at least) to collect enough statistics.
__________________________________________________________________________________
SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
Persisting SQL Server Index-Usage Statistics with MERGE[/url]
Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]
February 28, 2008 at 12:06 am
First thing you need to do is to identify why the web site is slow. Once you've found the cause of the slowness, it's often fairly easy to fix.
Performance monitor and profiler are your friends here.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 28, 2008 at 8:43 am
Checkout for the network bancwidth also.
Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
May 13, 2008 at 12:38 am
HI all,
thanks for responses. The db is not serving a web site but a massive SMS sending, we are a mobileVAS provider.
At the moment, to be honest, we are not experiencing performance problem but we want to have scalability in order to face growing traffic and we think the best way is "add a server to SUM the power" something like oracle RACK.
May 14, 2008 at 7:47 am
stefanogalizia (5/13/2008)
HI all,thanks for responses. The db is not serving a web site but a massive SMS sending, we are a mobileVAS provider.
At the moment, to be honest, we are not experiencing performance problem but we want to have scalability in order to face growing traffic and we think the best way is "add a server to SUM the power" something like oracle RACK.
Here we go again with the scale out stuff. OP: there was very recently a long thread about this same topic. (http://www.sqlservercentral.com/Forums/Topic496864-360-1.aspx#bm498905)
Short answer: hire a pro to help you tune your database and database application. Lots cheaper and more effective way to improve performance.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 14, 2008 at 8:13 am
SQL Server Guru might be right, but then what exactly do you learn?
Regards, Irish
May 14, 2008 at 11:23 am
Jeffrey Irish (5/14/2008)
SQL Server Guru might be right, but then what exactly do you learn?
Any good perf tuner should ensure proper mentoring of permanent staff when called in for a perf review or to fix a targeted performance issue so they can carry on with the knowledge transferred. Even if he/she doesn't do that the staff can review the findings document produced and learn from that. Sometimes a company just needs a job done and they spec it out and hire it out and implement the return. IMHO, perf work doesn't fit that mold and there should always be some mentoring going on (assuming the company has a DBA - which many do not in the SQL Server world).
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply