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 12: Planning, Configuration and Best PracticesOptimizing your Storage Configuration for<strong>FILESTREAM</strong>Earlier chapters showed how to easily configure a <strong>SQL</strong> <strong>Server</strong> instance for experimentingwith <strong>FILESTREAM</strong> storage. When it comes to setting up a production server for<strong>FILESTREAM</strong> storage, a number <strong>of</strong> additional configuration steps are recommended tomake sure that the server is tuned for optimum <strong>FILESTREAM</strong> performance.Keep <strong>FILESTREAM</strong> data containers on a separatedisk volume<strong>FILESTREAM</strong> operations can be very I/O intensive, so it is advisable to keep the<strong>FILESTREAM</strong> data container isolated from the data and log files <strong>of</strong> your database. If youhave several <strong>FILESTREAM</strong>-enabled databases on the server, it is advisable to put each<strong>FILESTREAM</strong> container on a separate disk volume.If you expect to store a huge number <strong>of</strong> data files in your <strong>FILESTREAM</strong> data container,you can partition the <strong>FILESTREAM</strong> table and split the <strong>FILESTREAM</strong> data across multipledisk volumes. We saw how to partition a <strong>FILESTREAM</strong> table in Chapter 2.Disabling short file namesAs we discovered in Chapter 2, for every <strong>FILESTREAM</strong> cell that is not NULL, <strong>SQL</strong> <strong>Server</strong>creates a disk file in the columns folder <strong>of</strong> the data container. If the table is large, it isquite possible that the folders associated with the <strong>FILESTREAM</strong> columns will contain alarge number <strong>of</strong> disk files.439

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

Saved successfully!

Ooh no, something went wrong!