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 1: Storing and Managing Unstructured Data• Point-in-time restores – With <strong>FILESTREAM</strong> enabled, changes to the BLOB data in thefile system are captured in the transaction log, and the log can be backed up, enablingDBAs to restore all the data to a state as <strong>of</strong> a specific date and time.• Improved security management – Permissions can be granted or denied on a<strong>FILESTREAM</strong> column just as for any other <strong>SQL</strong> <strong>Server</strong> columns.<strong>The</strong>re are also a few limitations arising from the use <strong>of</strong> <strong>FILESTREAM</strong>. For example,database mirroring does not support <strong>FILESTREAM</strong> data; Transparent Data Encryption(TDE) does not work with <strong>FILESTREAM</strong> data; and database snapshots cannot be createdfor <strong>FILESTREAM</strong> filegroups. <strong>The</strong>se limitations are discussed further in Chapter 10, and onBooks Online (http://brurl.com/fs3).A first look at <strong>FILESTREAM</strong>Chapter 2 goes into much greater depth on how <strong>FILESTREAM</strong> works, how to create newdatabases and tables that can store <strong>FILESTREAM</strong> data, how to insert, update, and delete<strong>FILESTREAM</strong> data, and so on.However, to whet your appetite, we'll walk through a very simple example here <strong>of</strong> how tostart using <strong>FILESTREAM</strong> on an existing <strong>SQL</strong> <strong>Server</strong> instance, covering:• enabling the <strong>FILESTREAM</strong> feature for a given <strong>SQL</strong> <strong>Server</strong> instance• setting the access level for the <strong>FILESTREAM</strong> data• adding <strong>FILESTREAM</strong> storage to an existing database• adding a <strong>FILESTREAM</strong> column to an existing table• inserting BLOB data into the <strong>FILESTREAM</strong> column.39

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

Saved successfully!

Ooh no, something went wrong!