dbTalk Databases Forums  

Striping and splitting

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Striping and splitting in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
aj
 
Posts: n/a

Default Striping and splitting - 11-07-2007 , 08:37 AM






SQL Server 2005 SP2

I read the excellent advice
"Optimize tempdb in SQL Server by striping and splitting to multiple
files" at
http://searchsqlserver.techtarget.co...276989,00.html

My question: All of my database files, primary and log, are on a SAN
that is using RAID 10 -- so these files are striped and mirrored across
multiple spindles anyway.

Will I get any advantage from creating multiple files per processor in
my filegroups, as the article suggests?

Will SQL Server be smart enough to use multiple workers (threads?) with
a single file, or do I have to signal that it should do that by creating
multiple files in my filegroups?

TIA

aj


Reply With Quote
  #2  
Old   
Roy Harvey (SQL Server MVP)
 
Posts: n/a

Default Re: Striping and splitting - 11-09-2007 , 08:31 AM






Quote:
Will I get any advantage from creating multiple files per processor in
my filegroups, as the article suggests?
There are performance advantages to creating multiple files for
tempdb, one per processor. Multiple files per processor are not
suggested by the article. Note that you can find this advice in Books
On Line, on the page titled Optimizing tempdb Performance:

"As a general guideline, create one data file for each CPU on the
server (accounting for any affinity mask settings) and then adjust the
number of files up or down as necessary. Note that a dual-core CPU is
considered to be two CPUs."

There are other good points there too about file sizes and autogrow.

Roy Harvey
Beacon Falls, CT

On Wed, 07 Nov 2007 09:37:11 -0500, aj <ronald (AT) mcdonalds (DOT) com> wrote:

Quote:
SQL Server 2005 SP2

I read the excellent advice
"Optimize tempdb in SQL Server by striping and splitting to multiple
files" at
http://searchsqlserver.techtarget.co...276989,00.html

My question: All of my database files, primary and log, are on a SAN
that is using RAID 10 -- so these files are striped and mirrored across
multiple spindles anyway.

Will I get any advantage from creating multiple files per processor in
my filegroups, as the article suggests?

Will SQL Server be smart enough to use multiple workers (threads?) with
a single file, or do I have to signal that it should do that by creating
multiple files in my filegroups?

TIA

aj

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.