Large Text and Images In SQL

后端 未结 7 2195
栀梦
栀梦 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 19:41

    Something else to consider is how often these large chunks of text and images will be changing. Changes to data are what cause fragmentation. Fragmentation can occur both in your data files and your database structure. A file system is much more suited to handle fragmentation than a database. The more often a file changes, the quicker the system will fragment.

提交回复
热议问题