Large Text and Images In SQL

后端 未结 7 2344
栀梦
栀梦 2021-02-08 19:02

Is it a good idea to store large amounts of text (eg html pages) inside your SQL database? Or is it a better idea to store it as html files in the filesystem?

The same g

7条回答
  •  没有蜡笔的小新
    2021-02-08 20:00

    I think you could argue either side, but I come down on the side of large amount of text is OK (and thus becomes searchable), but images should be stored as separate files with links in the database. I have never come up with any compelling reason to store images in the database, even though its possible.

提交回复
热议问题