Would you store binary data in database or in file system? [closed]

The advantage of storing data in the DB is taking advantage of DB security mechanisms and reducing maintanence cost (backups, …). The disadvantage of it is increasing DB load and consuming connections (which might be expensive for per-connection licensed database servers). If you are using SQL Server 2008, FILESTREAM might be a nice alternative.

By the way, for Web apps (or any other apps that might need streaming the data), it’s usually more sensible to store data outside DB.

Leave a Comment