Questions tagged [filestream]

Use the FILESTREAM tag when referencing Microsoft's SQL Server FILESTREAM feature which allows developers/admins to store binary data on the file system instead of in the tables.

Filter by
Sorted by
Tagged with
8 votes
1 answer
806 views

Backup and restore SQL server database with FILESTREAM filegroup

I use SQL Server and have a huge database with two filegroups: Primary: Which contains all the data except the large files (1MB+) FILESTREAM (read/write): Which contains the large files Now, the ...
Mario Navarro Claras's user avatar
14 votes
2 answers
2k views

In Search of FILESTREAM Insider Information

When the FILESTREAM feature is activated on Microsoft SQL Server 2012 then SQL Server will create a "hidden" share on the system. The share is defined as follows: Sharename ...
John K. N.'s user avatar
  • 17.4k
0 votes
1 answer
3k views

Problem with restoring database which has a filestream

When I restored a database backup file, which uses FILESTREAM feature, everything was fine but after a while the database went to the (recovery pending) mode. I tried restarting SQL Server service and ...
Saeed Hamed's user avatar
3 votes
0 answers
827 views

Accessing FILESTREAM share by a user on another domain with full trust

I have a FILESTREAM share on a SQL server in domain AAA and a users in domain AAA and BBB. The two domains have a full trust. Users in domain AAA can access the share from UNC \server\mssqlserver\...
SEAKDev's user avatar
  • 31
0 votes
2 answers
158 views

File Stream Data Clarification

If at all File stream option is enabled. Will sp_helpdb show the database size which includes even FileStream Data. Or only .mdf and .ldf sizes ?
Learning_Learning's user avatar
1 vote
2 answers
544 views

Running out of disk space mid-restore

A colleague of mine reported that an hour after starting a restore the operation failed because the server ran out of disk space. He mentioned that since we are using filestream the size isn't ...
John Hennesey's user avatar
3 votes
1 answer
3k views

How can I fix this unexpected Windows Event Log message which appears whenever a database with FILESTREAM is created or restored?

We have recently noticed that whenever we create or restore a database with FILESTREAM enabled, a message like the following is added to the System Event Log: The description for Event ID 1006 from ...
Ed Harper's user avatar
  • 452
2 votes
1 answer
802 views

Storing large image files in database vs system files

I need to store many large photos that will be uploaded daily in my application and retrieve those with id. There is no need to any special queries. What is the best approach for storing this files ...
n.y's user avatar
  • 121
2 votes
0 answers
165 views

How to fix the relationship between MSSQL database and associated FILESTREAM files

TL;DR: How can I fix the relationship between an MSSQL database and the associated FILESTREAM files for a database that was recovered from failed disks? Background A server hosting a FILESTREAM-...
Jens Ehrich's user avatar
1 vote
2 answers
1k views

Is there any impact whatsoever of enabling FILESTREAM on active SQL Server?

I may have to enable Filestream on a live SQL Server at work, but first need to know about the possible impact/implications of doing so on the performance/operation of the databases held therein. I ...
bjjrolls's user avatar
1 vote
0 answers
161 views

McAfee antivirus and File stream SQL Server 2008 R2 Issue

I am facing file stream issues in SQL Server 2008 R2 and I am not able to correlate things and how to fix them. Below are the event logs. Please let me know if they both the errors (One is Mccafee ...
Learning_Learning's user avatar
1 vote
0 answers
112 views

Single volume for five Filestream databases

We are going ahead with PROD server setup. SQL Version 2014 AOAGs. I have a question about the M:\ holding 5 Filestream databases totaling 1.5TB. What will be the operational risks of running one ...
Learning_Learning's user avatar
7 votes
1 answer
4k views

How do I move or redistribute FILESTREAM files between containers?

We have a FILESTREAM container with a few million files, and we believe it's the cause of our performance issues we're experiencing (abundant timeouts). According to this blog about FILESTREAM best ...
Daniel Minnaar's user avatar
12 votes
4 answers
1k views

Keeping (Partial) Backups Small when using SQL Server FILESTREAM

I have a database with nearly 1TB of FILESTREAM data that I don't need backed up (if the data was deleted it'd be recreated automatically in a couple of hours, so it just isn't important). Most of the ...
David Murdoch's user avatar
1 vote
2 answers
2k views

Can I access the file stream shared folder using Listeners in case of AlwaysOn cluster environment?

One of the most effective ways to extend your SQL Server Integration Services (SSIS) control flow is to use a Script task to write custom code that perform tasks you cannot perform with the built-in ...
kudlatiger's user avatar
1 vote
0 answers
2k views

FILESTREAM shared folder can not be accessed using listener name

I have AlwaysOn configured in SQL Server 2014 and enabled Filestream in both nodes (node 1 and node2) as shown here: Enable and Configure FILESTREAM (MSDN Library) I have named the shared folder ...
kudlatiger's user avatar
1 vote
1 answer
12k views

Best way to store images in SQL Server 2014

I am working as database developer (intern), and I have to find out the best way to store image files in SQL Server 2014. Could anyone suggest the best solution? I have found that if the file size is ...
Bijendra Yadav's user avatar
5 votes
1 answer
244 views

Statistics on filestream column

When I try to create a statistics on a filestream column, I get the following error message: Column 'MyColumn' in table 'MyTable' is of a type that is invalid for use as a key column in an index ...
spaghettidba's user avatar
  • 11.2k
4 votes
2 answers
2k views

Better way to store file receipts

I have a financial system that needs to attach PDF receipts for each record saved on my system. These receipts will be scanned by a proper device attached to the computer and saved in PDF to be ...
Junior Thurler's user avatar
2 votes
1 answer
129 views

onsite and offsite backup question

We have an sql database of 165GB (includes filestreaming) and we do an onsite full backup every evening using veritas. We would like to also have an online backup in place just so that we don't need ...
user79385's user avatar
1 vote
1 answer
1k views

Moving FILESTREAM to another database

Our development organization has created an application employing FILESTREAM, which through the pilot has been incorporated into a schema within our Data Warehouse Staging database. Going to ...
Kris Cook's user avatar
5 votes
1 answer
887 views

Multiple SQL Server instances with FileStream enabled

Is it possible to have two SQL Server instances, one 2008 R2 and another 2012, to run on the same machine with both having filestream enabled? I tried to setup this in local dev machine and I can get ...
Kumar's user avatar
  • 71
3 votes
1 answer
8k views

Removing filestream from a database

I am trying to remove filestream from my database, so I have to do the following I would like to know how to remove the following: ALTER TABLE AMGR_Documents_Tbl ADD UId uniqueidentifier ROWGUIDCOL ...
Allan Corda's user avatar
2 votes
0 answers
1k views

FILESTREAM access stuck in broken state

Following a reboot, two of our databases were marked as “Recovery Pending” and could not be accessed. These databases are both using FILESTREAM. In trying to fix them, we attempted the following: ...
KRISTOPHER COOK's user avatar
0 votes
1 answer
3k views

Need to make sense of FileTable permissions

I'm setting up a FileTable to allow users to quickly stuff some PDF report files into a database for later searching via an intranet application (to be built later). Sorting out the necessary ...
db2's user avatar
  • 9,638
5 votes
1 answer
1k views

Move content between filestream containers

I have a server running SQL Server 2012 with Multiple Filestream containers on a single table. I need to split one of the existing filestream containers into two parts by creating a new filestream ...
Seph's user avatar
  • 343
3 votes
1 answer
4k views

Trouble removing filestream file / filegroup

My database was originally using filestreams in one table. For reasons that I won't go into here, we decided to stop using filestreams. I therefore wrote a migration to copy the filestreamed table ...
Shaul Behr's user avatar
  • 2,923
1 vote
2 answers
2k views

Restore Error event id 17066 and 3624 while restoring diff backup

I am getting the following error while restoring the Diff back up after restoring the Full backup in Norecovery mode. I am unable use dbcc checkdb as the database in restoring db.Issues happens only ...
Raja's user avatar
  • 97
1 vote
2 answers
462 views

Move a Filestream column between tables

I have a table which has a Filestream column which I would like to move to another table. Is this possible without having to do a "manual" move of the data (create target column; issue UPDATE/INSERT ...
oatsoda's user avatar
  • 163
0 votes
1 answer
1k views

Database with FILESTREAM enabled gives Error 3056 during backup

I have a SQL 2014 database enabled for FILESTREAM and I am getting errors 3056 during backup. The message is DESCRIPTION: The backup operation has detected an unexpected file in a FILESTREAM ...
James O'Doherty's user avatar
2 votes
1 answer
2k views

What will be the best suited datatype to store a text file in database [closed]

I want to store a text file containing logs in a database(SQL Server). That file size can vary from 1 MB to 10 MB. what will best suited data type to store it in to the database. Will it be BLOB or ...
Rani's user avatar
  • 37
4 votes
1 answer
1k views

Can we use FILESTREAM in case of SQL Server cluster

I saw this point on Technet article about RBS. The local FILESTREAM provider is supported only when it is used on local hard disk drives or an attached Internet Small Computer System Interface (...
Frank Martin's user avatar
1 vote
0 answers
1k views

Converting existing table with varbinary into filestream enabled table?

I have an existing database with 70%+ data in one table with a varbinary column. As the database keep growing (takes longer and longer to backup and restore) I think it may be beneficial to enable ...
elty123's user avatar
  • 421
1 vote
0 answers
246 views

Deleting already duplicated Filestream Files

I have three FileStreams (FS1 on F drive, FS2 on H drive, FS3 on E drive) belonging to the same FileStream group of one particular database (DB) which is in Simple recovery mode in the SQL Server 2012....
Anandita Sharma's user avatar
1 vote
1 answer
6k views

SQL Server FILESTREAM access denied

I have my machine and a database server on the same Windows domain. I also have a staging machine that is not on the domain. From my machine, I am able to perform any and all operations using ...
tuespetre's user avatar
  • 171
1 vote
1 answer
6k views

How to get SQL Server filetable path locator for subfolder by its literal path

I have a filetable which have several subtables. For example FileTable ->subtable1 ->->subtable1.1 ->->subtable1.2 ->subtable2 ->subtable3 etc How to get SQL Server ...
Vasilly.Prokopyev's user avatar
2 votes
1 answer
6k views

Backup/restore of a database that has a filestream

I have a SQL DB to which I have recently added Filestream data. Now we have a daily backup/restore to a QA server, and since I added the Filestream data, this has started failing. So I modified the "...
Shaul Behr's user avatar
  • 2,923
1 vote
1 answer
1k views

SQL Server 2008 R2, error creating file for FileStream

I'm trying to create a file to add to a filestream file group and I get the error: Msg 5120, Level 16, State 106, Line 1 Unable to open the physical file "d:\data\filestreamstore.mdf". Operating ...
Snowburnt's user avatar
  • 131
1 vote
0 answers
490 views

Transactions using Isolation Level on databases with FileStream

We have a highly transactional application. We have a requirment to upload huge data into our database that can happen for a duration of 5-10 minutes. During our upload time, the tables are getting ...
Vinoth's user avatar
  • 111
0 votes
3 answers
3k views

SQL Log Messages - FILESTREAM and xp_cmdshell

I was perusing the SQL logs today and found the following: FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'MSSQLSERVER'. Configuration option '...
AKDiscer's user avatar
  • 1,365
5 votes
2 answers
1k views

Replication with FileStream

I need to setup database replication (for high availability) on a database that uses FileStream. This is on SQL Server 2012 Standard Edition, so Always On or Peer-to-Peer replication is not an option. ...
Ivan Cagalj's user avatar
1 vote
1 answer
153 views

Is there a limit on the number of blobs storable in SQL Server with filestream?

I use filestream to store blobs (files). I use SQL Server 2008 R2 Some customers have 60k files (50GB). They ask me if there is a limit after which, also because of NTFS, there will be problems. ...
user193655's user avatar
2 votes
0 answers
338 views

Maintaining Referential Integrity with a Filestream enabled database

We have a production database which is filestream enabled and has grown, within a year, to about 20Gb as it stores documents. On many occasions we need to bring the live data back to UAT or Dev ...
John J Smith's user avatar
2 votes
1 answer
789 views

How does SQL bind rows in filestream-enabled table with their files

Every BLOB stored in a filestream-Enabled table actually stored in a physical file, How can I know the actual filename for a specific row in that table. For example, I have the Images table which is ...
Amer Sawan's user avatar
3 votes
0 answers
2k views

SQL Server FileTables (File Stream) file Corruption

We're running an implementation of SQL Server 2012 FileTables with several scientific instruments with PCs that write data directly to a mapped drive of a FileTables share. The size of this share is ...
dansan's user avatar
  • 131
2 votes
1 answer
3k views

Feature SQL Server 2012 - Filetable - The location of the file can not be opened

When trying to access the files available on the virtual directory created for FileTable, you receive the following error message: "The location of the file can not be opened. Access is not enabled ...
Camila Reis's user avatar
1 vote
1 answer
4k views

Configured values different to Running values, even after full restart

I am trying to change the FILESTREAM Access Level property on a SQL Server Express database. The Configured values section of the Advanced tab of my Server Properties dialogue box looks like so: The ...
JMK's user avatar
  • 135
7 votes
1 answer
13k views

Mapping a shared physical folder to filestream

We are working on a project where we have large amounts of images, texts etc which we need to work on in SQL Server. We were thinking of using Filestream and filetable functionality. However, even ...
Prashant Kumar's user avatar
5 votes
1 answer
1k views

Cannot Delete FileStream Group from Sql Server 2008 [duplicate]

We have migrated all our varbinary(max) column data to Azure Blob Storage and so we want to remove the old filestream columns that remain in our Sql 2008 database and the filestream filegroup but when ...
user351711's user avatar
1 vote
1 answer
764 views

Restore a Single File from FileStream

We have an document management application uses SQL Server 2012 to store document index information and uses a Windows file share to store the documents. We are working on migrating to store the ...
bmccleary's user avatar
  • 167