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> DatabasesInstanceWindows0 1 2(local only)3(local and remote)0: Disabled 0 0 0 01: T-<strong>SQL</strong> access only 0 1 1 12: T-<strong>SQL</strong> and streaming access 0 1 2 3<strong>The</strong> matrix shows how the values configured at the instance level (rows) and thoseconfigured at the Windows level (columns) result in the FilestreamEffectiveLevel.You'll notice that the lower <strong>of</strong> the two always wins. For example, if the Windows configurationallows T-<strong>SQL</strong> and Win32 streaming access but the instance is configured for T-<strong>SQL</strong>access only, then the effective configuration is T-<strong>SQL</strong> access only. In plain terms, if thedesired access level is remote streaming access, this will need to be configured as such,both at the Windows level and at the instance level.<strong>The</strong> matrix also shows that it's not possible to control the difference between local andremote streaming access at the instance level. That difference can only be controlled atthe Windows level. (Early CTP versions <strong>of</strong> <strong>SQL</strong> <strong>Server</strong> 2008 did have that ability, but forunknown reasons it was removed before the release.)You can check the output <strong>of</strong> the following T-<strong>SQL</strong> statement to find the configured valueat the <strong>SQL</strong> <strong>Server</strong> instance level (Listing 9-5).EXEC sp_configure 'filestream_access_level'/*nameminimum maximum config_value run_value----------------------- ------- ------- ------------ ---------filestream access level 0 2 2 2*/Listing 9-5:Identifying the <strong>FILESTREAM</strong> access level at the instance level.338

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

Saved successfully!

Ooh no, something went wrong!