SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Database performance


Database performance

Author
Message
dharmesh-408320
dharmesh-408320
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
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
Big Data Man
Big Data Man
SSCrazy
SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)

Group: General Forum Members
Points: 2670 Visits: 750
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
Sugesh Kumar
Sugesh Kumar
SSCertifiable
SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)

Group: General Forum Members
Points: 5455 Visits: 358
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
Jeffrey Irish
Jeffrey Irish
Old Hand
Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)

Group: General Forum Members
Points: 380 Visits: 1144
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 w00t
Marios Philippopoulos
Marios Philippopoulos
SSCertifiable
SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)

Group: General Forum Members
Points: 6330 Visits: 3764
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
Persisting SQL Server Index-Usage Statistics with MERGE
Turbocharge Your Database Maintenance With Service Broker: Part 2
GilaMonster
GilaMonster
SSC Guru
SSC Guru (117K reputation)SSC Guru (117K reputation)SSC Guru (117K reputation)SSC Guru (117K reputation)SSC Guru (117K reputation)SSC Guru (117K reputation)SSC Guru (117K reputation)SSC Guru (117K reputation)

Group: General Forum Members
Points: 117903 Visits: 45532
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

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


Sugesh Kumar
Sugesh Kumar
SSCertifiable
SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)

Group: General Forum Members
Points: 5455 Visits: 358
Checkout for the network bancwidth also.

Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
stefanogalizia
stefanogalizia
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
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.
TheSQLGuru
TheSQLGuru
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17272 Visits: 8600
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
Jeffrey Irish
Jeffrey Irish
Old Hand
Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)

Group: General Forum Members
Points: 380 Visits: 1144
SQL Server Guru might be right, but then what exactly do you learn?

Regards,

Irish w00t
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search