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 9: Investigating <strong>FILESTREAM</strong> DatabasesFS_GARBAGE_COLLECTOR_SHUTDOWNThis wait type occurs during the cleanup process <strong>of</strong> a garbage collection cycle. It indicatesthat the garbage collector is waiting for the cleanup tasks to be completed.FS_HEADER_RWLOCKThis wait type indicates that the process is waiting to obtain access to the <strong>FILESTREAM</strong>header file for read or write operation. <strong>The</strong> <strong>FILESTREAM</strong> header is a disk file locatedin the <strong>FILESTREAM</strong> data container and is named filestream.hdr. This file containsimportant metadata information that <strong>SQL</strong> <strong>Server</strong> uses to manage the <strong>FILESTREAM</strong> dataassociated with a given database. Unlike <strong>FILESTREAM</strong> data files, <strong>SQL</strong> <strong>Server</strong> keeps anexclusive lock on the filestream.hdr file.FS_LOGTRUNC_RWLOCKThis wait type indicates that the process is trying to access <strong>FILESTREAM</strong> log truncation,either to perform a log truncate operation, or to disable log truncation prior to a backupor restore operation.FSA_FORCE_OWN_XACTThis wait type occurs when a <strong>FILESTREAM</strong> file I/O operation needs to bind to theassociated transaction, but the transaction is currently owned by another session.349

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

Saved successfully!

Ooh no, something went wrong!