Background:
File streams integrate the database engine with NTFS files by storing BLOB data files on the file system, using T-SQL and Win32 to access data.
File streams use Windows systems to cache data, helping to reduce the potential impact of file stream data on SQL Server performance.
The file stream does not use the SQL Server cache pool and therefore does not reduce the available memory for the query process.
--------------------------------------------------------------------------------------------------------------- -----------------------
To configure SQL Server instance support for FileStream:
The first step:
Step Two:
--------------------------------------------------------------------------------------------------------------- ------------------------
Application of the File flow folder:
When creating a database, we can create a common filegroup or a file stream file group. Unlike normal filegroups, the first file stream file group includes only one file reference,
The file is designated as the operating system folder, not the file, and the path to the last folder must exist, and the last folder must not exist.
Create DATABASE Studio
On primary
(name = ' Studio ', filename= ' E:\DB\Studio.mdf ', SIZE=10MB),
Filegroup Studio_fg_filestream_for_test contains FileStream
(name = ' Studio_fg_filestream_for_test ', filename= ' E:\DB\FileStreamA ') #E: The \db\ folder is present Filestrema does not exist in the file system.
Log on
(name = ' Studio_log ', filename= ' E:\DB\Studio_Log.ldf ', SIZE=10MB);
Go
------------------------------more content next time-----------------------------------------
SQL Server file Stream file group