|
Version Control with Subversion - Repository Maintenance - Berkeley DB Utilities
Berkeley DB Utilities
If you're using a Berkeley DB repository, then all of
your versioned filesystem's structure and data live in a set
of database tables within the db
subdirectory of your repository. This subdirectory is a
regular Berkeley DB environment directory, and can therefore
be used in conjunction with any of the Berkeley database
tools (you can see the documentation for these tools at
SleepyCat's website,
https://www.sleepycat.com/).
For day-to-day Subversion use, these tools are
unnecessary. Most of the functionality typically needed for
Subversion repositories has been duplicated in the
svnadmin
tool. For example,
svnadmin list-unused-dblogs
and
svnadmin list-dblogs
perform a
subset of what is provided by the Berkeley
db_archive
command, and
svnadmin
recover
reflects the common use cases of the
db_recover
utility.
There are still a few Berkeley DB utilities that you
might find useful. The
db_dump
and
db_load
programs write and read,
respectively, a custom file format which describes the keys
and values in a Berkeley DB database. Since Berkeley
databases are not portable across machine architectures,
this format is a useful way to transfer those databases from
machine to machine, irrespective of architecture or
operating system. Also, the
db_stat
utility can provide useful information about the status of
your Berkeley DB environment, including detailed statistics
about the locking and storage subsystems.
[an error occurred while processing this directive]
|
|