You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Danny Sung <ds...@lantronix.com> on 2006/08/29 16:59:32 UTC

Maximum repository size and reiserfs question

I'm looking into converting our CVS repository to Subversion.  But I was
wondering, since subversion stores the repository in a single Berkeley
DB file, whether there is any size limitation to a repository.  Our
current CVS repository is about 1 TB.  I know subversion will be much
more space efficient, but at these sizes, I'm a little concerned.  I
couldn't find any reference in the FAQ or Book on this subject.
 
Also, I was wondering if anyone's used an SVN repository on ReiserFS.
Are there any special issues or concerns with that?  Is Reiser stable
these days?
 
Thanks,
Danny
 
**********************************************************************
This e-mail is the property of Lantronix. It is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise protected from disclosure. Distribution or copying of this e-mail, or the information contained herein, to anyone other than the intended recipient is prohibited.


Re: Maximum repository size and reiserfs question

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 29, 2006, at 18:59, Danny Sung wrote:

> I'm looking into converting our CVS repository to Subversion.  But  
> I was
> wondering, since subversion stores the repository in a single Berkeley
> DB file, whether there is any size limitation to a repository.  Our
> current CVS repository is about 1 TB.  I know subversion will be much
> more space efficient, but at these sizes, I'm a little concerned.  I
> couldn't find any reference in the FAQ or Book on this subject.

That's with the BerkeleyDB (BDB) repository backend. The other choice  
is the FSFS backend, which is the default as of Subversion 1.2.0.  
FSFS stores each revision as a separate file.


> Also, I was wondering if anyone's used an SVN repository on ReiserFS.
> Are there any special issues or concerns with that?  Is Reiser stable
> these days?

AFAIK, we used ReiserFS on our development server at my previous job,  
where we hosted an FSFS-based Subversion repository. No problems so  
far (~18 months).


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Maximum repository size and reiserfs question

Posted by Tuncer Ayaz <tu...@gmail.com>.
On 8/29/06, Danny Sung <ds...@lantronix.com> wrote:
>
>
> I'm looking into converting our CVS repository to Subversion.  But I was
> wondering, since subversion stores the repository in a single Berkeley DB
> file, whether there is any size limitation to a repository.  Our current CVS
> repository is about 1 TB.  I know subversion will be much more space
> efficient, but at these sizes, I'm a little concerned.  I couldn't find any
> reference in the FAQ or Book on this subject.

Since Subversion 1.2 or 1.3 FSFS is the default backend, so Berkeley DB is
not used by default, except if you specify the BDB backend when creating
the repository.

If you convert your existing CVS repository via cvs2svn you might not hit any
of the limits at all, assuming you don't have revisions in CVS which involve
a >2GiB commit. Just in case you want to make sure that no limit gets in your
way be sure to use Subversion 1.3.2 or newer linked against APR 1.2.x. If
you use mod_dav_svn this implies Apache 2.2. The APR sources bundled with
the Subversion tarball are APR(-Util) 0.9.x and don't support -DLARGEFILE
and this is the reason for the APR 1.2.x requirement.

> Also, I was wondering if anyone's used an SVN repository on ReiserFS. Are
> there any special issues or concerns with that?  Is Reiser stable these
> days?

I'm using ext3 with -O sparse_super, dir_index and the default block-size is
ok. With a linked against APR 1.2.x svnserve I had no problem to import a
>5GiB source tree in one step as one changeset. This did of course not work
with svnserve linked against APR 0.9.x due to missing large file support.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Maximum repository size and reiserfs question

Posted by Tony Butt <to...@cea.com.au>.
Danny Sung wrote:
> I'm looking into converting our CVS repository to Subversion.  But I 
> was wondering, since subversion stores the repository in a single 
> Berkeley DB file, whether there is any size limitation to a 
> repository.  Our current CVS repository is about 1 TB.  I know 
> subversion will be much more space efficient, but at these sizes, I'm 
> a little concerned.  I couldn't find any reference in the FAQ or Book 
> on this subject.
>  
> Also, I was wondering if anyone's used an SVN repository on ReiserFS.  
> Are there any special issues or concerns with that?  Is Reiser stable 
> these days?
>  
> Thanks,
> Danny
>  
>
> **********************************************************************
> This e-mail is the property of Lantronix. It is intended only for the 
> person or entity to which it is addressed and may contain information 
> that is privileged, confidential, or otherwise protected from 
> disclosure. Distribution or copying of this e-mail, or the information 
> contained herein, to anyone other than the intended recipient is 
> prohibited.
>
We run about a 4 GByte FSFS repository on ReiserFS 3.6 (Suse Enterprise 
Linux 9)
It has been completely stable for us since we started it up 2 years ago.

Tony Butt

Fwd: Maximum repository size and reiserfs question

Posted by Lars Tiefland <lt...@gmail.com>.
---------- Forwarded message ----------
From: Lars Tiefland <lt...@gmail.com>
Date: 29.08.2006 20:29
Subject: Re: Maximum repository size and reiserfs question
To: Danny Sung <ds...@lantronix.com>


As long as you use ReiserFS3.x you can regard it as stable, if I'm not
mistaken. I don't know about file size limits for ReiserFS, but I
recommend FSFS repositories over Berkley DB. This way you have a file
for EACH revision of the repository. I doubt, that a single revision
will be bigger than the maximum file size of your filesystem. BTW:
FSFS is now the standard repository type for newer versions of
Subversion.

2006/8/29, Danny Sung <ds...@lantronix.com>:
>
>
> I'm looking into converting our CVS repository to Subversion.  But I was
> wondering, since subversion stores the repository in a single Berkeley DB
> file, whether there is any size limitation to a repository.  Our current CVS
> repository is about 1 TB.  I know subversion will be much more space
> efficient, but at these sizes, I'm a little concerned.  I couldn't find any
> reference in the FAQ or Book on this subject.
>
> Also, I was wondering if anyone's used an SVN repository on ReiserFS.  Are
> there any special issues or concerns with that?  Is Reiser stable these
> days?
>
> Thanks,
> Danny
>
>
>
> **********************************************************************
>  This e-mail is the property of Lantronix. It is intended only for the
> person or entity to which it is addressed and may contain information that
> is privileged, confidential, or otherwise protected from disclosure.
> Distribution or copying of this e-mail, or the information contained herein,
> to anyone other than the intended recipient is prohibited.


--
Live Long And Prosper,

Lars Tiefland


-- 
Live Long And Prosper,

Lars Tiefland

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org