|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 11:28 PM
Points: 414,
Visits: 1,456
|
|
hi,
We have a best practice in BOL that "We need to have a separate File Group for the User data".
Is the below statement is true:
If there is any corruption while writing the data to PRIMARY File Group's files the database will not available to access. We can make the Database available by adding Secondary FG and placing the data to this Group.
please clarify.
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 3:28 PM
Points: 37,730,
Visits: 29,996
|
|
SQL* (3/21/2013) If there is any corruption while writing the data to PRIMARY File Group's files the database will not available to access. We can make the Database available by adding Secondary FG and placing the data to this Group.
No, absolutely not. If there's corruption in the primary filegroup then you need to restore or repair the database, restore preferred in most cases.
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
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 11:28 PM
Points: 414,
Visits: 1,456
|
|
GilaMonster (3/21/2013)
SQL* (3/21/2013) If there is any corruption while writing the data to PRIMARY File Group's files the database will not available to access. We can make the Database available by adding Secondary FG and placing the data to this Group.No, absolutely not. If there's corruption in the primary filegroup then you need to restore or repair the database, restore preferred in most cases.
I think i have asked the question wrongly, here Two cases 1. With only Primary File Group. The user data will be written to the Primary File Group, if there is an error while writing, Is this database will be available?
2. With Primary and a Secondary. If we write all the user data to secondary File Group, and if there is any error while writing the data, Is this database will be available?
Thanks
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 3:28 PM
Points: 37,730,
Visits: 29,996
|
|
SQL* (3/22/2013) The user data will be written to the Primary File Group, if there is an error while writing, Is this database will be available?
Maybe. Depends what the error is. If it's severe enough that SQL marks the database suspect, then no.
2. With Primary and a Secondary. If we write all the user data to secondary File Group, and if there is any error while writing the data, Is this database will be available?
Maybe. Depends what the error is. If it's severe enough that SQL marks the database suspect, then no.
File groups aren't a protection against losing the database to corruption
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
|
|
|
|