[Subversion] 檔案庫的儲存格式比較

Subversion自從2004起,檔案庫的格式除了BerkeleyDB之外,也能用作業系統的檔案系統做為其儲存格式(稱為FSFS),二者的比較彙總如下:

Repository Data-Store Comparison

Feature

Berkeley DB

FSFS

Sensitivity to interruptions

very; crashes and permission problems can leave the database “wedged”, requiring journaled recovery procedures.

quite insensitive.

Usable from a read-only mount

no

yes

Platform-independent storage

no

yes

Usable over network filesystems

no

yes

Repository size

slightly larger

slightly smaller

Scalability: number of revision trees

database; no problems

some older native filesystems don't scale well with thousands of entries in a single directory.

Scalability: directories with many files

slower

faster

Speed: checking out latest code

faster

slower

Speed: large commits

slower, but work is spread throughout commit

faster, but finalization delay may cause client timeouts

Group permissions handling

sensitive to user umask problems; best if accessed by only one user.

works around umask problems

Code maturity

in use since 2001

in use since 2004

##

您可能也會有興趣的類似文章

簡睿

服務於軟體業的資訊老兵。興趣廣泛,學習力佳,樂於分享所知所學。

您可能也會喜歡…

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *