Solved

Performance

Posted on 2011-03-14
8
469 Views
Last Modified: 2012-06-21
What kind of issues can cause performance problems in the database tier of a web app driven by a MS-SQL database?

Are there any tools (ideally free) that can identify the root cause of such performance issues, if yes can you please detail?

Out of interest if a web app or maybe even an internal intranet app goes sluggish is it typically a result of an issue in the db tier, or elsewhere?
0
Comment
Question by:pma111
  • 4
  • 4
8 Comments
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 125 total points
ID: 35128466
Are you performing regular maintenance on the database?  Reindexing, updating of statistics, backups?
0
 
LVL 3

Author Comment

by:pma111
ID: 35128533
Not being a DBA myself, can you let me know how...

reindexing
updating of statistics
backups

...affect performance.... and how someone could check if it is or is not being done?
0
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 35128570
Reindexing organizes the data in the database to make searching it faster.
Updating statistics helps SQL Server to determine ABOUT how many records exist in a table or index.
Backups are necessary and if you have the database in full recovery mode without doing transaction log backups then the log will fill forever.

0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 3

Author Comment

by:pma111
ID: 35128611
I know there is the sql server best practices analyzer, does that identify if this sort of thing is being done or not? And does it only report on things that are essentially risks - or other stuff too?
0
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 35128679
I don't know.  I've never used it.
0
 
LVL 3

Author Comment

by:pma111
ID: 35128715
no worries.

on the comment:

Updating statistics helps SQL Server to determine ABOUT how many records exist in a table or index.

What is the real risk if you dont do this? Excuse my ignorance on statistics its not a concept I am familair with
0
 
LVL 3

Author Comment

by:pma111
ID: 35128724
I assume a process whereby re-indexing takes place on routine basis is more beneficial on larger databases? What is your recommendation on how often to reindex?
0
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 35128733
Statistics is what SQL Server uses to help determine the best query plan.  If SQL Server expects a particular table and criteria to return 5 rows, but instead it returns 5000, then the join type that it uses in the query may be completely wrong.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question