You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kevin Longfellow <kl...@yahoo.com> on 2010/02/02 21:15:19 UTC

excessive disk usage by revisions?

Hi,

I've been looking at a space utilization issue and am a bit confused. Just looking at the size of the revisions in the db/revs directory and only looking at the 2.2M size revs I see about 3GB+ of disk space consumed just for Feb 2:

ls -lhrt /misc_sourcectrl01/svnrepositories/qcfusion/db/revs/14? | grep "Feb  2" | grep 2.2M | wc -l
1408

I checked out one of the revs and only see 180k with du -sk of the checked out directory?  I planned to look at what they are doing until I saw this.  Why the 2.2M revision and only 180k of space on the checkout?

[root@dadbcu09 qcfusion]# svn log -v -r 142001 file:///misc_sourcectrl01/svnrepositories/qcfusion
------------------------------------------------------------------------
r142001 |  | 2010-02-02 10:08:15 -0800 (Tue, 02 Feb 2010) | 1 line
Changed paths:
   A /PROJECTS/QC_PRODUCTION_FUSION_5_FusionQA/Test_173080
   A /PROJECTS/QC_PRODUCTION_FUSION_5_FusionQA/Test_173080/Test_173080.zip
   A /PROJECTS/QC_PRODUCTION_FUSION_5_FusionQA/Test_173080/_AttachRep
   A /PROJECTS/QC_PRODUCTION_FUSION_5_FusionQA/Test_173080/_AttachRep/_DesAttach.Rcd
   A /PROJECTS/QC_PRODUCTION_FUSION_5_FusionQA/Test_173080/_AttachRep/_TestAttach.Rcd
   A /PROJECTS/QC_PRODUCTION_FUSION_5_FusionQA/Test_173080/_TestInfo
   A /PROJECTS/QC_PRODUCTION_FUSION_5_FusionQA/Test_173080/_TestInfo/_DesStep.Rcd
   A /PROJECTS/QC_PRODUCTION_FUSION_5_FusionQA/Test_173080/_TestInfo/_Params.Rcd
   A /PROJECTS/QC_PRODUCTION_FUSION_5_FusionQA/Test_173080/_TestInfo/_Test.Rcd

1.1.1:
------------------------------------------------------------------------
[root@dadbcu09 qcfusion]# svn co -r 142001 file:///misc_sourcectrl01/svnrepositories/qcfusion/PROJECTS/QC_PRODUCTION_FUSION_5_FusionQA/Test_173080
A    Test_173080/Test_173080.zip
A    Test_173080/_AttachRep
A    Test_173080/_AttachRep/_DesAttach.Rcd
A    Test_173080/_AttachRep/_TestAttach.Rcd
A    Test_173080/_TestInfo
A    Test_173080/_TestInfo/_Test.Rcd
A    Test_173080/_TestInfo/_Params.Rcd
A    Test_173080/_TestInfo/_DesStep.Rcd
Checked out revision 142001.
[root@dadbcu09 qcfusion]# du -sk Test_173080
180     Test_173080
[root@dadbcu09 qcfusion]#

Thanks for any help with this,

Kevin


      

Re: excessive disk usage by revisions?

Posted by km...@rockwellcollins.com.
Kevin Longfellow <kl...@yahoo.com> wrote on 02/02/2010 03:15:19 PM:
> I've been looking at a space utilization issue and am a bit 
> confused. Just looking at the size of the revisions in the db/revs 
> directory and only looking at the 2.2M size revs I see about 3GB+ of
> disk space consumed just for Feb 2:
> 
> ls -lhrt /misc_sourcectrl01/svnrepositories/qcfusion/db/revs/14? | 
> grep "Feb  2" | grep 2.2M | wc -l
> 1408
> 
> I checked out one of the revs and only see 180k with du -sk of the 
> checked out directory?  I planned to look at what they are doing 
> until I saw this.  Why the 2.2M revision and only 180k of space on 
> the checkout?

Do you have lots of files or subdirectories in those directories that
were modified?  (hundreds of thousands+)

Subversion does not save the deltas of directory changes and we
saw similar behavior when we had one single large directory
with a huge number of individual files...

Kevin R.