dbTalk Databases Forums  

SQL 2005 automatically partitioning?

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


Discuss SQL 2005 automatically partitioning? in the comp.databases.ms-sqlserver forum.



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

Default SQL 2005 automatically partitioning? - 03-26-2007 , 12:22 PM






Once I've added Files for a database across mulitple SAN drives will
SQL 2005 automatically partition data across the Files automatically?
Will it atleast grow across files automatically? Or do I have to do
Scheme Functions, Partitions, and assign the Scheme Partition to each
table in the database?

Thanks


Erik


Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SQL 2005 automatically partitioning? - 03-26-2007 , 04:25 PM






Erik G (info (AT) fdaregulatory (DOT) com) writes:
Quote:
Once I've added Files for a database across mulitple SAN drives will
SQL 2005 automatically partition data across the Files automatically?
Will it atleast grow across files automatically? Or do I have to do
Scheme Functions, Partitions, and assign the Scheme Partition to each
table in the database?
From
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/52a503e1-dc18-45b9-9640-e75388baa83b.htm
in Books Online SQL 2005:

Filegroups use a proportional fill strategy across all the files within
each filegroup. As data is written to the filegroup, the SQL Server
Database Engine writes an amount proportional to the free space in the
file to each file within the filegroup, instead of writing all the data
to the first file until full. It then writes to the next file. For
example, if file f1 has 100 MB free and file f2 has 200 MB free, one
extent is allocated from file f1, two extents from file f2, and so on.
In this way, both files become full at about the same time, and simple
striping is achieved.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


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 - 2010, Jelsoft Enterprises Ltd.