1

我可以使用 Berkeley DB 或 FSFS,我应该使用哪一个?我还将在我的 Windows XP 机器上使用 TortoiseSVN 上的存储库

4

3 回答 3

3

FSFS is the "new better" file system for SVN. DBD was the original file system, but FSFS was devloped for a reason and is now the default file system for SVN.

FSFS is more stable, more backup friendly and has been around for a while to be considered stable and mature.
Read the link in Archimedix answer for an official comparison.

于 2011-03-16T13:53:18.987 回答
2

除非您有特殊原因使用 BDB,否则请使用 FSFS。

根据我的经验,BDB 有时会损坏,然后需要修复……不过,我从来没有遇到过 FSFS 损坏的情况。

另外,请查看此链接: http ://svnbook.red-bean.com/nightly/en/svn.reposadmin.html

于 2011-03-16T13:10:53.943 回答
2

FSFS 通常被认为是最稳定的后端。

FSFS 也被 subversion 很好地定义了,所以每个客户端都可以使用它。在升级 berkley 库后访问 BDB 时我遇到了很多问题,所以我会保持清醒。

在任何情况下:设置您的服务器,使其使用 apache 导出 subversion 数据库,这将使用的后端抽象化,因此您的客户端将永远不需要直接访问文件

于 2011-03-16T13:12:06.127 回答