17.07.2015 Views

The Art of SQL Server FILESTREAM - Red Gate Software

The Art of SQL Server FILESTREAM - Red Gate Software

The Art of SQL Server FILESTREAM - Red Gate Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 10: Integrating <strong>FILESTREAM</strong> with other <strong>SQL</strong> <strong>Server</strong> FeaturesIf we attempt the same using T-<strong>SQL</strong>, <strong>SQL</strong> <strong>Server</strong> will generate the following error whenthe SET PARTNER command is issued:A database cannot be enabled for both <strong>FILESTREAM</strong> storage and Database Mirroring.One <strong>of</strong> the reasons for not allowing mirroring <strong>of</strong> a <strong>FILESTREAM</strong>-enabled databasecould be the excessive amount <strong>of</strong> <strong>FILESTREAM</strong> log data that might need to beransferred to the mirror server if a lot <strong>of</strong> <strong>FILESTREAM</strong> activity takes place on thedatabase. Since <strong>SQL</strong> <strong>Server</strong> does not allow in-place update <strong>of</strong> <strong>FILESTREAM</strong> datavalues, every modification generates a new file, which has to be transferred to themirror server.<strong>FILESTREAM</strong> and High Availability DisasterRecoveryIn <strong>SQL</strong> <strong>Server</strong> 2012, the new High Availability Disaster Recovery – Always On (HADRON)feature does support creating highly available database nodes, even with <strong>FILESTREAM</strong>enableddatabases. HADRON was designed to meet the high availability needs <strong>of</strong> awide variety <strong>of</strong> <strong>SQL</strong> <strong>Server</strong> users, and so allow other features that were being used forhigh availability and disaster recovery (including replication, log shipping, and databasemirroring discussed earlier in this chapter) to focus on the problems they were designedto solve.384

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!