How can I find
Disk usage or size of my entire Subversion repository
Disk usage or size only for a particular branch on my repo. Eg ( https://mysvn/svn/myrepo/myfolder)
OS: Windows 2008 server
I have RDP access to the server.
How can I find
Disk usage or size of my entire Subversion repository
Disk usage or size only for a particular branch on my repo. Eg ( https://mysvn/svn/myrepo/myfolder)
OS: Windows 2008 server
I have RDP access to the server.
You should be able to find out the size of the repositories by checking their size on disk on the server. For example, if your repositories are stored under C:\Repositories
, check the overall size of this directory or check the size of individual repository C:\Repositories\MyRepository
.
Disk usage or size of my entire Subversion repository
Just check the size of the repositories on disk.
In case you use VisualSVN Server, try the Measure-SvnRepository cmdlet. It will produce the following output:
Name Revisions Size SizeOnDisk
---- --------- ---- ----------
MyRepo 498 3,340 KB 4,529 KB
MyRepo2 479 21,313 KB 22,571 KB
MyRepo3 201 1,032 KB 2,226 KB
MyRepo5 2 71 KB 90 KB
You can also check the SVN repo size in the VisualSVN Server Manager console:
Disk usage or size only for a particular branch on my repo. Eg ( https://mysvn/svn/myrepo/myfolder)
Normally, a new branch in the repository should take minimum of space (several kilobytes). A branch or tag in SVN is a cheap copy. When you create a branch or tag, Subversion doesn't actually duplicate any data. Therefore, the repository should not grow in size (unless you are going to commit new large content to it).
Instead of counting the "branch size", check the size of revisions on disk, e.g. under C:\Repositories\MyRepository
. You can also view and examine the repository storage statistics with the svnfsfs stats tool. Here is an example:
svnfsfs stats C:\Repositories\MyRepository