mssql-docker icon indicating copy to clipboard operation
mssql-docker copied to clipboard

Enabling FILESTREAM

Open nativestranger opened this issue 7 years ago • 20 comments

Hi!

I'm wondering, is some version of FILESTREAM supported by the linux images?

Thanks!

nativestranger avatar Mar 13 '17 20:03 nativestranger

Quick/short answer for now - no, but we are looking into what aspects of FILESTREAM we can support in the near term on Linux.

twright-msft avatar Mar 14 '17 04:03 twright-msft

Hi there. I haven't been able to find out if the new sql server 2017 version has filestream and or filetables enabled. Is this the case now or is that still in the pipeline?

dawiddutoit avatar Jun 06 '17 20:06 dawiddutoit

Filetable for sure not in SQL Server 2017 on Linux. Filestreams we are still sorting out right now for SQL Server on Linux.

twright-msft avatar Jun 06 '17 21:06 twright-msft

Hi there, has this been enabled yet?

dawiddutoit avatar Sep 27 '17 12:09 dawiddutoit

Just wanted to pipe in that I'm highly interested in this, and the most recent release notes for SQL Server on Linux made it seem like filestream was a thing on linux now, but trying to enable it via TSQL throws this error:

USE master
Go
EXEC sp_configure 'show advanced options'
GO
EXEC sp_configure filestream_access_level, 2
GO
RECONFIGURE WITH OVERRIDE

FILESTREAM feature could not be initialized. The operating system Administrator must enable FILESTREAM on the instance using Configuration Manager.

It didn't look like this was a enableable option in mssql-conf, so I went looking here and found this. If there is any as-yet undocumented option it would be a huge win.

DVG avatar Oct 13 '17 13:10 DVG

Hi Everyone,

FILESTREAM for SQL Server on Linux is not yet supported. See the unsupported features section of the release notes: https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-release-notes

We still have extensive testing to fully enable this feature. That said, what are your scenarios for using FILESTREAM? I would love to work with you for a temporary workaround for the time being.

vin-yu avatar Oct 19 '17 00:10 vin-yu

Basically we're using it to store a big JSON blob and a few other large objects.

DVG avatar Nov 08 '17 14:11 DVG

Would it make sense in this case to store in nvarchar(max) and/or varbinary(max)?

twright-msft avatar Nov 08 '17 18:11 twright-msft

Hi, has any progress been made on this issue?

jacobtobias avatar Dec 18 '17 15:12 jacobtobias

@twright-msft From a pragmatic standpoint, probably. However these databases are set up by an internal orchestration tool that has all the DDL that has ever been run against the database, and I don't really want to fork it and maintain a 'developer edition' of the database, I'd rather it be 'just like production, save the data'

DVG avatar Jan 11 '18 13:01 DVG

@twright-msft - we use this feature in many projects on Windows to store binary files, like Azure blob storage, with the relational data. Backup and restore are very simple. Access w/ .Net very simple. We miss .NET Core support. And Linux DB support.

DoCode avatar Jun 15 '18 11:06 DoCode

@twright-msft - We are developping a project that stores Images (jpg, bmp, tiff, raw...). We use Sql server express edition on windows for my customers, installed on their local network. We have very fast response and no concurrency issue with this edition, and thanks to File Stream, we don't have to care about the 10Gb limitations for "nvarchar(max)" columns declared in filestream.

We have to port this project on macos, and our customers won't pay the extra cost for licensing...

Gespix avatar Sep 10 '18 13:09 Gespix

Any traction on this? We are using sql server standard and want to migrate to a docker based deployment. However thats not possible if filestream is not implemented.

Is it possible to work around this by mounting a physical partition to the sql server docker container?

steven87vt avatar Jun 03 '19 14:06 steven87vt

FILESTREAM for SQL Server on Linux is not yet supported.

Is it supported now? Maybe using 2019 version?

jducobu avatar Sep 06 '19 09:09 jducobu

We could use this feature as well. We use filestream in our application. With docker support we could simplify our internal testing infrastructure.

mauruskuehne avatar Nov 11 '19 16:11 mauruskuehne

Any updates on this? I cant import our company DB on my local dev running on macOS with sql server tunning on Docker.

akraines avatar Sep 09 '20 13:09 akraines

We eneded up switching on a param to support filestream, filesystem and s3. As time has gone on we dont ever use filestream.

Rds does not support filestream and i dont believe ms sql on Linux does either. I would suggest manually copying/deleting the file and track it using a table similar to document store.

On Wed, Sep 9, 2020, 9:33 AM akraines [email protected] wrote:

Any updates on this? I cant import our company DB on my local dev running on macOS with sql server tunning on Docker.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/microsoft/mssql-docker/issues/47#issuecomment-689565853, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJUAEGF4PL2TXZHVYCYQCTSE57Y7ANCNFSM4DDPCSLA .

steven87vt avatar Sep 09 '20 14:09 steven87vt

Hello, the filestream is still not available? 🧐

KlissmanGranados avatar Jan 21 '24 21:01 KlissmanGranados

filestream is still not available?

bertutron avatar Jul 12 '24 10:07 bertutron