Store Files in SQL Server or keep them on the File Server?

前端 未结 7 685
我在风中等你
我在风中等你 2020-12-29 13:49

Currently we have thousands of Microsoft Word files, Excel files, PDF\'s, images etc stored in folders/sub folders. These are generated by an application on a regular basis

7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-29 14:06

    rule of thumb for doc size is:

    size < 256 kb: store in db
    265 kb < size < 1 MB: test for your load
    size > 1 Mb: store on file system
    

    EDIT: this rule of thumb also applies for FILESTREAM storage in SQL Server 2008

提交回复
热议问题