On 6/16/2011 7:05 PM, Bruno Antunes wrote:

Do you know any faster way to load the dump file or to filter out
some projects/revisions so I can speed up the process?


Are you CPU-bound? Or are you limited by disk speed? If you're limited
by disk access times, make sure that the source file that you're loading
from is on a different disk then the destination repository. Even if you
toss the 45GB dump file onto a USB2 external disk, you'll see a speed
increase.

And if you have a choice of file systems for the repository to be stored
on, make sure that it's something which can deal with a few hundred
thousand tiny files.  On Linux, I'd suggest going with ext4 over ext3.
While db/revs in a FSFS repository can have its revisions packed to
reduce the file count, the db/revprops folder still consists of 1 tiny
file for every revision in the project in a FSFS repository.

Reply via email to