Does Storing Images in a SQL DB affect performance in a big way?

  • Been pondering the idea of putting 43 - 56K Pdf documents into a SQL DB but everything I've read only goes as far as to explain how the data is stored or manipulated.

  • In my experience I have not found any performance issues with regards to storing Images in a Database as oppossed to storing them in a directory on a Server!

    It just means that yor Database will become a lot bigger!


    Kindest Regards,

  • Thanks - seems that we will be going the way of images stored in Database

  • Just a question.  Why wouldn't you just store the path to the Image file in the database?  The database isn't an optimal place to store this type of information.

     

  • Agreed but the security advantages associated with the storing the images in the DB are the main motivator here. Also, the last project I worked on where images were stored in the filesystem presented extra admin headaches in that we ahd to manage OS account permissions to the folder. If everything's in the DB, the OS tasks are eliminated entirely.

  • There are pros and cons for each approach. I do also store BLOBs in a db. Mostly ranging from 26kb up to 10MB. No problem this far, but the db isn't accessed frequently and the BLOBs NEVER change at all. Maybe this one http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/sql/reskit/sql2000/part3/c1161.asp will give some additional insight.

     

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply