Comparison of two storage methods in SVN (BDB vs. FSFS)

Source: Internet
Author: User
Tags svn

The Subversion repository (repository), which is located on the server side, is where data is managed and stored uniformly. In this article, we take Linux as an example to introduce the basic methods of configuring and managing the Subversion repository on the server side.

To create a repository, first determine which data storage method to use. In Subversion, repository data is stored in two ways, one for storing data in a Berkeley DB database, and the other for storing it in a custom format using plain files, called FSFS.

Two storage methods have advantages and disadvantages, readers can refer to http://svnbook.org/above the document to understand the detailed comparison and differences, here, we only refer to the above documents in the simple table, give a concise comparison.

features Berkeley DB FSFS
Sensitivity to operational interruptions System crashes or permissions issues can cause the database to "jam" and require regular recovery. Not sensitive
Can read-only load No Can
Storage Platform agnostic No Can
Accessible from the network file system No Can
Version Library size Slightly larger Slightly smaller
Extensibility: Number of revision trees Unlimited Some local file systems have problems processing a single directory that contains thousands of entries.
Extensibility: Directories with large files More slowly More slowly
The speed of checking out the latest code More quickly OK
The speed of a lot of commits Slower, but the time is allocated throughout the commit operation Faster, but the last longer delay may cause client operations to time out
Group access rights processing is sensitive to the user's umask settings and is best accessed by only one user. Insensitive to Umask settings
Function Maturity Time 2001 2004

Determines the specific type of data storage, as long as the command to execute the command in order svnadmin to create a Subversion repository, the command is as follows:

/etc/svn//etc/svn/--fs-type fsfs/etc/svn/repos

via:http://www.ibm.com/developerworks/cn/java/j-lo-apache-subversion/

Comparison of two storage methods in SVN (BDB vs. FSFS)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.