December 16, 2004 at 5:02 am
Hi,
I am seeking pros and cons, examples, and opinions whether it is a good idea
to store images in the database instead of in a directory structure.
The images in this case are tif:s, usually less than 50K, and about 100 000
per year.
I want to save the image and its meta data in the same table.
I think the pros are: dataconsistency, the ability to avoid dangling links,
consistent backups.
The drawbacks?
December 16, 2004 at 5:21 am
See, if this helps:
http://www.microsoft.com/resources/documentation/sql/2000/all/reskit/en-us/part3/c1161.mspx
Or search the fora here. This is a FAQ in almost any SQL Server community.
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 16, 2004 at 12:52 pm
I would add to that that one of the motivations for putting images on a file server is cost. Your SQL Server data might be on very expensive SAN disk whereas your file servers might utilize something a bit cheaper.
December 17, 2004 at 10:23 am
There is not an easy answer to this question. You should consider the application and data retention issues in addition to 'pure' SQL Server issues before making a decision. The same issues relate to storing any large object, be it image, report, word doc, etc in a database.
Potential advantages of storing images in a database are:
There are a number of disadvanteges from a DBA viewpoint in storing images in a database:
You need to look at the problem as a whole, and get advice from the business, before making the technical decision on how to store image data.
Original author: https://github.com/SQL-FineBuild/Common/wiki/ 1-click install and best practice configuration of SQL Server 2019, 2017 2016, 2014, 2012, 2008 R2, 2008 and 2005.
When I give food to the poor they call me a saint. When I ask why they are poor they call me a communist - Archbishop Hélder Câmara
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply