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

Re: Subversion's use of Berkeley DB [#11511]

From: Keith Bostic <bostic_at_abyssinian.sleepycat.com>
Date: 2004-12-08 23:25:44 CET

> From: Justin Erenkrantz <justin@erenkrantz.com>
>
>> Regardless, 256KB is too small for any server application. If
>> you make it even 1MB, things will likely be happier.
>
> Okay, I just upped svn.apache.org's cache size to 256MB - we'll see how this
> fares via db_stat and tweak accordingly. (The total size of our BDB
> repository is ~5GB and constantly growing as we convert more projects.)

Sounds great -- please let me know the results
when you run your next set of statistics.

>>> Can we change the cache size by just tweaking DB_CONFIG and restarting the
>>> processes? Or, do we need to rebuild the database? (The docs I can find
>>> aren't very helpful on this.)
>>
>> You can change the cache size by tweaking DB_CONFIG and
>> restarting the processes.
>
> After modifying DB_CONFIG, I also had to run 'svnadmin recover' to apply the
> change - since I think the environment changed. I'm not sure if this is a
> quirk with BDB or Subversion.

Yes -- you have to re-create the database environment to change
the size of the underlying shared regions.

Regards,
--keith

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Keith Bostic bostic@sleepycat.com
Sleepycat Software Inc. keithbosticim (ymsgid)
118 Tower Rd. +1-781-259-3139
Lincoln, MA 01773 http://www.sleepycat.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 8 23:27:17 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.