Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

Database performance Expand / Collapse
Author
Message
Posted Friday, February 22, 2008 5:02 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, December 9, 2008 1:34 AM
Points: 1, Visits: 8
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
Post #459038
Posted Friday, February 22, 2008 5:14 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, July 24, 2014 10:18 AM
Points: 2,153, Visits: 645
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
Post #459039
Posted Wednesday, February 27, 2008 10:14 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Monday, August 11, 2014 9:39 AM
Points: 3,461, Visits: 350
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
Post #461071
Posted Wednesday, February 27, 2008 10:59 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, August 21, 2014 1:55 PM
Points: 149, Visits: 1,027
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
Post #461125
Posted Wednesday, February 27, 2008 11:57 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Saturday, August 16, 2014 5:48 AM
Points: 1,862, Visits: 3,602
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.


__________________________________________________________________________________

Turbocharge Your Database Maintenance With Service Broker: Part 2
Turbocharge Your Database Maintenance With Service Broker: Part 1
Real-Time Tracking of Tempdb Utilization Through Reporting Services
Monitoring Database Blocking Through SCOM 2007 Custom Rules and Alerts
Preparing for the Unthinkable - a Disaster/Recovery Implementation
Post #461175
Posted Thursday, February 28, 2008 12:06 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 8:05 AM
Points: 42,829, Visits: 35,959
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 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #461446
Posted Thursday, February 28, 2008 8:43 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Monday, August 11, 2014 9:39 AM
Points: 3,461, Visits: 350
Checkout for the network bancwidth also.

Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
Post #461738
Posted Tuesday, May 13, 2008 12:38 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, June 7, 2010 2:18 AM
Points: 5, Visits: 22
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.

Post #499342
Posted Wednesday, May 14, 2008 7:47 AM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Today @ 5:03 AM
Points: 4,351, Visits: 6,165
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 at GMail
Post #500491
Posted Wednesday, May 14, 2008 8:13 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, August 21, 2014 1:55 PM
Points: 149, Visits: 1,027
SQL Server Guru might be right, but then what exactly do you learn?



Regards,

Irish
Post #500535
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse