[viewvc-users] Re: svndbadmin rebuild

"C. Michael Pilato" <[email protected]> Wed, 15 Feb 2012 14:09:15 -0500
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
[Note:  Your mail was sent to issue@, which is not the correct destination.
 In the future, please use our users@ list.]

On 02/15/2012 09:55 AM, Millsap, James wrote:
> Is there any way to estimate how much scratch space this will need?  I am
> building the check-in db for the first time with a large svn repo.  It
> filled up the location where viewvc is installed.  If that is not possible
> is there a way to redirect where it builds its dump file?  I would just like
> to avoid wasting a bunch of space in /usr/local after this is complete.

'svndbadmin' populates a MySQL database ... there shouldn't be any "dump
file" to speak of.

The data stored includes a row for every unique directory in the
repository's history, a row for every unique base file name in the
repository's history, a row for each unique author names, plus rows for each
revision of every changed file that ties much of these other bits of data
together via their primary keys.

No file contents are copied into the database, but most of the metadata in
the repository is, as you can see, mirrored in the database.  Unfortunately,
I have *no idea* how one might estimate the total storage cost of that metadata.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2923013

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk88AtsACgkQokEGqRcG/W5ldQCgrqtzIZfj2jl7/LGzvRUNKY18
uEAAn0LlJzkcQ9oIjLgN/GZdRA5iDlNL
=Jj6h
-----END PGP SIGNATURE-----