Question

I am looking for an alternative to Microsoft SQL Server's File Tables / File Stream feature. The reason is because I really wanted to use SQL Server File Tables but I am on Linux and using docker.

Unfortunately, Microsoft does not provide any support for Linux when it comes to File Tables. See this Issue which is still open. MySQL or PostgreSQL is preferable though.

SQL Server File Tables uses Operating System's File System to store files and synchronize these file values in SQL Tables. It is much faster than saving a BLOB. Also, it is backed up if I run Database Backup. So, its using File System for speed but also keeping it synchronized with Database. I can also access the files via File System and / or via transactions.

Was it helpful?

Solution

The alternative implementation in the past was to store the files on a shared location and store their location's reference in the database in a table.

Here are the current options for modern DBMS:

Here's also an oldie but goodie on the pros and cons of storing large files in the database.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top