question

Lempster avatar image
Lempster asked

Database Mirroring with multiple filegroups

Is it possible to implement Database Mirroring in SQL Server 2005 (any mode) if the database being mirrored has multiple filegroups, i.e. one of more .ndf files?

sql-serverdatabase-mirroring
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Robert L Davis avatar image
Robert L Davis answered

Also, be aware when adding a new file to a mirrored database that the underlying directory structure has to already exist on the mirror server or adding the new file will fail on the mirror.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Matt Whitfield avatar image
Matt Whitfield answered

Yes, it is, but you can't mirror FILESTREAM filegroups under 2008.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Steve Jones - Editor avatar image
Steve Jones - Editor answered

When you restore the initial backup, you specify the filegroup structure, and can have the filegroups in different locations, however as mentioned by Matt, the FILESTREAM filegroup is not supported.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ALZDBA avatar image
ALZDBA answered

Yes you can ;)

Best is to have the same logical disk names and directory structures underneath your databases. (that guarantees that you can add files to filegroups, ...)

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.