[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: question about svn

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-07-19 15:54:57 CEST

=?ks_c_5601-1987?B?IsDMu/O/sSI=?= <sangyobe@naver.com> writes:

> I know this email can bother you and you might delete this email...
> But I have no idea where I can ask my question.

users@subversion.tigris.org is the canonical question-posing place for
Subversion questions. I'm Cc:ing my response there.

> How big the "strings" file can glow ?

It can grow as big as can be supported by your operating system and
Berkeley DB. And that's pretty big (much bigger than yours).

> In my project, the "strings" file size stuck at "255705088" bytes.
> thank you..

A given Berkeley DB table might appear to be "stuck" at a given size
because those table files are fragmented internally. That is, inside
your 255M file there might be a whole range of bytes that Berkeley has
marked as "unused". So, until those unused ranges are used up, stuff
added to that file will get dumped into the unused ranges, and the
file will not physically grow.

You can use Berkeley DB's db_stat utility to get this kind of
information about your tables (how much of them is really in use, and
how much is "free").

   $ db_stat -d /usr/local/svn/subversion/db/strings
   53162 Btree magic number.
   9 Btree version number.
   Flags: duplicates, little-endian
   2 Minimum keys per-page.
   4096 Underlying database page size.
   3 Number of levels in the tree.
   71268 Number of unique keys in the tree.
   179875 Number of data items in the tree.
   91 Number of tree internal pages.
   184168 Number of bytes free in tree internal pages (51% ff).
   10255 Number of tree leaf pages.
   22M Number of bytes free in tree leaf pages (46% ff).
   188 Number of tree duplicate pages.
   553596 Number of bytes free in tree duplicate pages (28% ff).
   18585 Number of tree overflow pages.
   10M Number of bytes free in tree overflow pages (86% ff).
   1422 Number of pages on the free list.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 19 15:55:59 2004

This is an archived mail posted to the Subversion Users mailing list.