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>DatabasesIn the previous two chapters, we examined <strong>FILESTREAM</strong> database administration insome detail. To complete the discussion, we examine here our various options forinvestigating the <strong>FILESTREAM</strong> database and configuration metadata.This chapter focuses on exposing a number <strong>of</strong> <strong>FILESTREAM</strong>-related system catalog views,along with a number <strong>of</strong> useful queries that help you to retrieve various valuable pieces <strong>of</strong>information about the <strong>FILESTREAM</strong> configuration. We also take a brief look at some <strong>of</strong>the in-depth information available from the <strong>FILESTREAM</strong>-related Dynamic ManagementViews (DMVs), and the available wait types that might help you troubleshoot various<strong>FILESTREAM</strong> performance issues.Relevant System Catalog Views<strong>SQL</strong> <strong>Server</strong> has a number <strong>of</strong> <strong>FILESTREAM</strong>-related system views that we can use to findinformation about <strong>FILESTREAM</strong> tables and columns.We'll briefly review the system views that contain metadata relevant to <strong>FILESTREAM</strong>columns, and then take a look at some useful queries based on these views, which cangive us such information as the location <strong>of</strong> the <strong>FILESTREAM</strong> data container, the names<strong>of</strong> all tables in a database that contain <strong>FILESTREAM</strong> columns, and so on.329

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

Saved successfully!

Ooh no, something went wrong!