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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7: <strong>FILESTREAM</strong> DatabaseAdministration<strong>The</strong> previous chapters have discussed development with the <strong>FILESTREAM</strong> feature inquite some detail. Here, we begin a sequence <strong>of</strong> four chapters dedicated to the administrationand management <strong>of</strong> <strong>FILESTREAM</strong>-enabled databases. In this chapter, we'llexamine some special considerations for <strong>FILESTREAM</strong>-enabled databases, and howthe presence <strong>of</strong> <strong>FILESTREAM</strong> data might affect common database administrative tasks.Specifically, we will cover the points below.• Transaction isolation levels – <strong>The</strong> behavior <strong>of</strong> <strong>FILESTREAM</strong>-enabled databases undereach <strong>of</strong> the available levels, and where and how this differs from standard databases.• Moving <strong>FILESTREAM</strong>-enabled databases from one location to another – <strong>The</strong> maindifference is the need to move the <strong>FILESTREAM</strong> data container as well as data andlog files.• <strong>FILESTREAM</strong> garbage files – Possible issues associated with creation <strong>of</strong> an excessivenumber <strong>of</strong> <strong>FILESTREAM</strong> disk files, due to frequent modification <strong>of</strong> <strong>FILESTREAM</strong> data,and how <strong>SQL</strong> <strong>Server</strong> manages garbage collection <strong>of</strong> these files.• Common causes <strong>of</strong> a corrupt <strong>FILESTREAM</strong> database – And how to use DBCC checksto examine and possibly repair damaged databases.• Coping with growth <strong>of</strong> <strong>FILESTREAM</strong> databases – How to move <strong>FILESTREAM</strong>data partially or fully to new disk volumes, by rebuilding a clustered index in a newfilegroup, and by partitioning <strong>FILESTREAM</strong> tables.• Migrating <strong>FILESTREAM</strong> data – Moving large databases using scripting, or theDatabase Publishing Wizard, in cases where restoring a backup is not feasible.270

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

Saved successfully!

Ooh no, something went wrong!