Store images in db or in file system.

which is better, storing images in database or storing it in the file system (saving only the path of the images in the database).

Answer this question

Store images in db or in file system.

  • Peter Torr - MSFT

    Hi,

    that is (and I don’t hope that you started it right now) a religious war. I think files have to be stored on the file system (unless WINFS is launched). If you want to fulltext index them and search them though the database then you’d better store them in the database and keep use ofthe FT functionlities in SQL Server. Are the file small or big, how many files are you expecting, how do you want to extract them from the database. perhaps you build something like a generic interface which passes back a stream and which can be exchanged with either a fileconnector or a database connector.

    HTH, jens Suessmeyer.

    ---
    http://www.sqlserver2005.de
    ---


  • Store images in db or in file system.