Subversion 在存储大量二进制文件方面有多好? [英] How good is Subversion at storing lots of binary files?

查看:24
本文介绍了Subversion 在存储大量二进制文件方面有多好?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个地方来放置几 GB 的文档(主要是 .doc.xls).我的团队已经设置了一个 Subversion 服务器来管理我们创建的文档,所以如果可能的话,我更愿意使用它.Subversion 将如何处理所有这些额外的东西?大部分是遗留信息,只有一个版本,但有可能会更新一些文档.

I'm looking for a place to put a few GB of documents (mostly .doc and .xls). My team already has a Subversion server set up for managing the documents we create, so I'd prefer to use that if possible. How well will Subversion handle all this extra stuff? Most of it is legacy information and will only ever have one version, but it is possible that a few documents could be updated.

有人警告我 SVN 并不是特别适合大量大二进制文件.我对尝试查看它是否有效持谨慎态度,因为即使我稍后删除它们,它们也将始终存在于存储库历史记录中.

I've been warned that SVN isn't particularly lots-of-big-binary-files-friendly. I'm wary of trying it to see whether it works since they'll always be in the repository history even if I later delete them.

有其他选择吗?我们需要能够评论和/或标记文档,但我们可以使用类似 Delicious 的服务,并结合 SVN(或类似的)中文档的 URL.

Any alternatives? We'll need the ability to comment on and/or tag documents, but we can use a Delicious-like service combined with the URLs for the documents in SVN (or similar).

稍后我不太担心二进制文件的差异,因为如上所述,它们不会有太大变化.如果他们这样做了,我会有点麻烦 - 这并不比 SharePoint 差.

Later I'm not so worried about diffs on the binaries since, as stated above, they won't change much. I'm OK with a slight hassle if they do -- it's no worse than SharePoint.

推荐答案

大量二进制文件与大量二进制文件之间存在差异.

There's a difference between lots of big binary files, and a big number of binary files.

根据我的经验,SVN 可以处理数百兆字节的单个二进制文件.我见过的唯一问题开始出现在大约 1 GB 左右的单个文件中.操作失败,原因不明,可能是SVN无法处理网络相关问题.

In my experience SVN is fine with individual binary files of several hundred megabytes. The only problems I've seen begin to occur with individual files of around a gigabyte or so. Operations fail for mysterious and unknown reasons, possibly SVN failing to handle network related problems.

我不知道任何与二进制文件数量相关的 SVN 问题,除了它们缺乏合并能力以及二进制文件通常不能有效地存储为增量(SVN 可以使用增量)的事实.

I am not aware of any SVN problems related to the number of binary files, beyond their lack of merge-ability and the fact that binary files often can't be efficiently stored as deltas (SVN can use deltas).

所以;

  • 1000 个 1MB 文件 = 很好.
  • 100 个 10MB 文件 = 很好
  • 10 个 100MB 文件 = 很好
  • 1 个 >1000MB 的文件 = 不是一个好主意.

我希望您的文档大小适合其中之一:)

I would hope the size of your documents fits into one of the fine categories :)

这篇关于Subversion 在存储大量二进制文件方面有多好?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆