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

Table partition Vs FileGroup Expand / Collapse
Author
Message
Posted Tuesday, June 11, 2013 11:57 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, June 9, 2014 1:01 AM
Points: 40, Visits: 169
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.
Post #1462462
Posted Wednesday, June 12, 2013 1:05 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 9:36 AM
Points: 42,765, Visits: 35,863
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 2008, MVP
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

Post #1462480
Posted Wednesday, June 12, 2013 3:35 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, June 9, 2014 1:01 AM
Points: 40, Visits: 169
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.
Post #1462519
Posted Wednesday, June 12, 2013 4:00 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 9:36 AM
Points: 42,765, Visits: 35,863
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 2008, MVP
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

Post #1462532
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse