admin管理员组文章数量:1126344
I have a database that has been in use for a number of years and up to this point we have been storing images (both a full size version and a smaller thumbnail) on the file system. In an effort to improve speed further, we recently moved the thumbnail images (which are only 200 pixels wide) to a varbinary(MAX)
column in the database. There are about 40,000 pictures.
On disk, these thumbnail images are about 500 MB. The database, however, grew by 3.5 GB after this change.
Now, the performance improvement we are seeing when retrieving the pictures is well worth the change, but I was surprised by the impact on the size of the database. Is this consistent with what others have seen? Is there an additional maintenance or cleanup step that I should be performing that I may be unaware of?
Our software performs a database backup upon start each morning, which made sense when the database was under 100 MB, but now that it's close to 3.6 GB, isn't as practical... So obviously this will need to be reworked as well.
I would appreciate any experiences or feedback anyone can provide me.
Thanks!
本文标签: sql serverDatabase grew significantly after adding thumbnails to varbinary(MAX) columnStack Overflow
版权声明:本文标题:sql server - Database grew significantly after adding thumbnails to varbinary(MAX) column? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736685788a1947656.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论