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 ««123»»

SQLServerCentral Best Practices Clinic: Part 1 Expand / Collapse
Author
Message
Posted Tuesday, March 8, 2011 8:46 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 4:16 PM
Points: 31,018, Visits: 15,456
tgarland (3/7/2011)
Besides the obvious filegrowth setting issues mentioned previously, one thing I found was there was not much use of filegroups. One of the things I like to do is have all of my nonclustered indexes on a separate filegroup that is located on a different I/O path.


To follow on from Brad, we also have cost constraints, as do many other companies. Getting additional drive paths in this hosted environment was outside our budget. We could potentially argue for it, but as Brad mentioned, not sure there is a need for this.

However planning for the future makes some sense. Perhaps Brad, Grant, and I will consider this as a way to plan for future growth and pre-separate things so that a quick alter would allow us to take advantage of a new array.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1074867
Posted Wednesday, March 9, 2011 10:55 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 5:46 AM
Points: 13,755, Visits: 28,148
tgarland (3/7/2011)
Besides the obvious filegrowth setting issues mentioned previously, one thing I found was there was not much use of filegroups. One of the things I like to do is have all of my nonclustered indexes on a separate filegroup that is located on a different I/O path.


That is a good suggestion. I know we're not talking about performance bottlenecks at this point, but keep an eye out for any indications of I/O loading since something like this could help.

Did you see any issues with any of the other properties?


----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of: SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1075740
Posted Wednesday, March 9, 2011 11:13 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, September 5, 2014 2:00 PM
Points: 2,160, Visits: 2,191
I quickly reviewed a bunch of stuff and have some notes, though I won't go into detail as I have limited time:

Review both instances for updating to the most current SQL Server SP, and possibly CU.

Instance 1:

A lot of growth rates are 10% or 1MB (Review and set for each DB/file)

SQLServerCentral_Data file is limited to 10,000.0 MB and it is over 50% of that size, is that limit what you want?

tempDB: Has testing indicated that you actually need 8 data files?

ips_notifications_log size: 0.0MB?

Instance 2:

tempDB: Has testing indicated that you actually need 8 data files?

Simple-Talk DB: Compatibility level: 80 (Is that needed?)
Simple-Talk_Log Size: 12,908.0 (4x the size of the data file?)

apps_excuse DB: Compatibility level: 80 (Is that needed?), change page_verify to CHECKSUM

apps_prettifier DB: Compatibility level: 80 (Is that needed?), change page_verify to CHECKSUM

sqlMonitor22 DB: autogrowth: 1GB, log size: 46GB? (Almost 8x the size of the data file?)
Post #1075754
Posted Wednesday, March 9, 2011 12:08 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Thursday, September 18, 2014 7:56 AM
Points: 6,723, Visits: 8,462
since for now we are at instance level, I would expect exposure of sys.configurations but I seem not to be able to find it using the product.


Interesting project tough:
1) to be able so see how things are at other locations
2) to see how best practices match setup and impact after modifications
3) nice product promotion.

For RedGate probably the other way around


Johan


Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere

- How to post Performance Problems
- How to post data/code to get the best help


- How to prevent a sore throat after hours of presenting ppt ?


"press F1 for solution", "press shift+F1 for urgent solution"


Need a bit of Powershell? How about this

Who am I ? Sometimes this is me but most of the time this is me
Post #1075781
Posted Wednesday, March 9, 2011 12:39 PM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Wednesday, August 13, 2014 2:57 PM
Points: 493, Visits: 150
I noticed the same things that others have mentioned: file growths and sizes, tempdb, filegroups...

I have always been advised to use a set size, rather than percentage, for file growth. I have participated in a Microsoft SQL Server RAP, and they advised us to do things in increments of 1024MB.

So I set all all my file growths and sizes in multiples of 1024M.

I realize you wanted us to focus on settings we can see from the monitoring tool, but I am curious about instant file initialization, ad-hoc optimization, asynchronous update stats, etc.

Is there a way to customize what the tool shows you?

Regarding TempDB and the number of files, I was not able to find how many cores are on the servers.

What about separating TempDB MDF and LDF?

Also regarding separate filegroups for non-clustered indexes. In addition to the possible IO related benefits, I find that there are several administrative benefits, as well. For example, you then have more flexibility in where you locate your files, you can take filegroup backups, you can do filegroup dbcc checkdb commands, etc.

The forums database seems to be using full text filegroups. What about locating them on a separate file system from the regular data files?
Post #1075824
Posted Wednesday, March 9, 2011 12:50 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 4:16 PM
Points: 31,018, Visits: 15,456
We see two quad core processors in the VM. (8 virtual CPUs)







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1075839
Posted Wednesday, March 9, 2011 12:59 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Friday, September 19, 2014 10:21 AM
Points: 1,945, Visits: 2,017
One of the other things I noticed was that the collations are different for some of the databases. SQLServerCentral, as well as others, use Latin1_General_CI_AS as where some of the others use SQL_Latin1_General_CI_AS like CommunityServer and SQLServerCentralForums.
Post #1075850
Posted Wednesday, March 9, 2011 1:08 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Friday, September 19, 2014 10:21 AM
Points: 1,945, Visits: 2,017
I also noticed that there are a lot of unlimited max file size settings for the databases. I personally prefer to set those limits to something reasonable and monitor the filegrowth and adjust them accordingly.
Post #1075856
Posted Thursday, March 24, 2011 2:18 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, March 24, 2011 2:11 PM
Points: 4, Visits: 24
Can you tell us more about the hardware configuration?
Post #1083603
Posted Thursday, March 24, 2011 2:21 PM


SSC-Enthusiastic

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

Group: General Forum Members
Last Login: Friday, January 10, 2014 7:20 AM
Points: 175, Visits: 723
Steven O (3/9/2011)


I realize you wanted us to focus on settings we can see from the monitoring tool, but I am curious about instant file initialization, ad-hoc optimization, asynchronous update stats, etc.

Is there a way to customize what the tool shows you?

Regarding TempDB and the number of files, I was not able to find how many cores are on the servers.

What about separating TempDB MDF and LDF?

Also regarding separate filegroups for non-clustered indexes. In addition to the possible IO related benefits, I find that there are several administrative benefits, as well. For example, you then have more flexibility in where you locate your files, you can take filegroup backups, you can do filegroup dbcc checkdb commands, etc.

The forums database seems to be using full text filegroups. What about locating them on a separate file system from the regular data files?


The server has Dual Quad Core Xeon L5520 (2.66GHz) CPUs, for a total of eight cores.

MDFs and LDFs are on separate RAID 10 arrays. Tempdb is also on its own array. The arrays are part of a SAN where we have 20 dedicated disks.

Later in the series, I will go review the rest of the settings you asked about.


Brad M. McGehee
Microsoft SQL Server MVP
Director of DBA Education, Red Gate Software
www.bradmcgehee.com
Post #1083606
« Prev Topic | Next Topic »

Add to briefcase ««123»»

Permissions Expand / Collapse