storing uploaded photos and documents - filesystem vs database blob

前端 未结 6 2060
鱼传尺愫
鱼传尺愫 2020-12-06 06:31

My specific situation

Property management web site where users can upload photos and lease documents. For every apartment unit, there might be 4 ph

6条回答
  •  有刺的猬
    2020-12-06 06:50

    Comment to the Sheepy's answer.

    In common storing files in SQL is better when file size less than 256 kilobytes, and worth when it greater 1 megabyte. So between 256-1024 kilobytes it depends on several factors. Read this to learn more about reasons to use SQL or file systems.

提交回复
热议问题