我可以使用 Berkeley DB 或 FSFS,我应该使用哪一个?我还将在我的 Windows XP 机器上使用 TortoiseSVN 上的存储库
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.
除非您有特殊原因使用 BDB,否则请使用 FSFS。
根据我的经验,BDB 有时会损坏,然后需要修复……不过,我从来没有遇到过 FSFS 损坏的情况。
另外,请查看此链接: http ://svnbook.red-bean.com/nightly/en/svn.reposadmin.html
FSFS 通常被认为是最稳定的后端。
FSFS 也被 subversion 很好地定义了,所以每个客户端都可以使用它。在升级 berkley 库后访问 BDB 时我遇到了很多问题,所以我会保持清醒。
在任何情况下:设置您的服务器,使其使用 apache 导出 subversion 数据库,这将使用的后端抽象化,因此您的客户端将永远不需要直接访问文件