SVN log poor performance because of the "big" revisions

We have experienced a very poor performance of the svn log command on the new repository that had only a few revisions.

It took more than a minute(!) to get history that had only one revision - the initial import.

While blaming the server configuration and network security, we didn't find anything unusual that could affect the svn performance so much.


The reason was much simpler - initial import of the full project tree had more than 32,000 files, and it turned out to be too much for one revision.

Breaking the initial import into several commits solved the problem completely.

If you have a big project to import, instead of running

svn import myproject file:///opt/opencm/svnroot/trunk/myproject -m "Initial import"


write a short script to import smaller parts, like:

cd myproject

svn import agent file:///opt/opencm/svnroot/trunk/myproject/agent -m "Initial import"

svn import server file:///opt/opencm/svnroot/trunk/myproject/server -m "Initial import"

cd utils

svn import xxx file:///opt/opencm/svnroot/trunk/myproject/utils/xxx -m "Initial import"

svn import yyy file:///opt/opencm/svnroot/trunk/myproject/utils/yyy -m "Initial import"







DevOps Architect

DevOps Group