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


Table partition Vs FileGroup


Table partition Vs FileGroup

Author
Message
nitin.varshney
nitin.varshney
SSC Journeyman
SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)

Group: General Forum Members
Points: 76 Visits: 291
should we create the equal number of filegroups for eqaul number of table partitions. like if one table have the partiton on the quarter basis for 10 years, then shall we create the 10*4 = 40 number of New file group for each different partiton. and if there are 10 large table in 1 Database so number the of file group will be 40*10 = 400.

if we create the partitons for future 5 years, then on the 4Quarter basis there will 20 filegroup will be blank or empty(means not having the data at present) will we need to maintain.

if the no of filegroup will be increased, is there any impact on the maintainance of database. is there any problem in backup and restore the database, log size increase etc.

Please suggest what should be strategy for that.
GilaMonster
GilaMonster
SSC Guru
SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)

Group: General Forum Members
Points: 86032 Visits: 45226
Depends. Why are you partitioning? What's the goal? Are those filegroups on different drives?

Also, you don't need to create partitions that far in advance, usually people have a job that creates new partitions as needed.

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


nitin.varshney
nitin.varshney
SSC Journeyman
SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)

Group: General Forum Members
Points: 76 Visits: 291
Thanks GilaMonster for your reply.

shall we create the new filegroup always at the time of partition creation throgh the job. is it the right thing to add the newfilegroups in the database ?

We want to create the partition for the performenance prospects.
GilaMonster
GilaMonster
SSC Guru
SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)

Group: General Forum Members
Points: 86032 Visits: 45226
nitin.varshney (6/12/2013)
is it the right thing to add the newfilegroups in the database ?


Depends what you're trying to achieve. Maybe yes, maybe no.

We want to create the partition for the performenance prospects.


Then don't waste your time.
https://www.simple-talk.com/sql/database-administration/gail-shaws-sql-server-howlers/

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


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