减少 MS SQL 数据库备份文件大小的方法
这个问题可能会让人微笑,真的,今天的硬盘空间就像泥土一样便宜。 但尽管如此,由于互联网连接速度极慢(世界大部分地区仍然如此),从不同分支机构传输备份可能会让人感到非常痛苦。
那么,您对如何将数据库文件大小减小到最小有什么想法吗? 绝对欢迎任何想法。
This question might make one smile, really, HDD space is as cheap as dirt today. But nevertheless, with extremely slow internet connections (which is still the case in the major part of the world) transferring backups from different branches might be real pain in the back.
So, do you have any ideas on how to decrease database file size to a bare minimum? Absolutely any ideas are welcome.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您只谈论备份,那么有一些 SQL 备份解决方案可以提供备份压缩。 SQL Server 2008 还内置了备份压缩功能。
请参阅:Red Gate 的 SQL Backup Pro
或这里是各种产品: http://www.mssqltips.com/products.asp?catid=15< /a>
如果您正在谈论实际减少数据库本身的大小 - 选择正确的(=最小)数据类型,使用维护计划来压缩和回收数据库空间,不要过度索引(这总是占用大量空间)等。
马克
If you're only talking about the backups, there's a few SQL Backup solutions out there that offer backup compression. SQL Server 2008 also has backup compression built-in.
See: Red Gate's SQL Backup Pro
or here is a list of various products: http://www.mssqltips.com/products.asp?catid=15
If you're talking about actually reducing the size of the database per se - pick the right (= minimal) data types, use maintenance plans to compress and reclaim space from the database, don't over-index (that always uses lots of space) etc.
Marc
你尝试过压缩吗? 数据库文件往往可以很好地压缩,因为它们通常主要是文本。
Have you tried compression? Database files tend to compress up really well since they are usually mostly text.