On 16. okt. 2006, at 00.15, Quanah Gibson-Mount wrote:

--On Sunday, October 15, 2006 7:52 PM +0200 Frode Nordahl <[EMAIL PROTECTED]> wrote:

Yes, this would be possible, but as the slapadd step may take
severalhours I cannot rely on this. I have tested it with slapadd - q and itstill takes too long. There just is alot of data that must go inthere
:-)

Well, how much RAM do you have on the system? What is the size of your *.bdb files? To have optimal slapadd -q performance, the size of your BDB cache defined in the DB_CONFIG file should be the sum of all your *.bdb files.

For example on my database:

du -c -h *.bdb

3.3G    total


cat DB_CONFIG
set_cachesize 4 0 1
set_lg_regionmax 262144
set_lg_bsize 2097152
set_lg_dir /var/log/bdb
set_lk_max_locks 3000
set_lk_max_objects 1500
set_lk_max_lockers 1500
set_flags DB_LOG_AUTOREMOVE
set_tas_spins 1

Thank you for your comments. I will revisit slapadd -q and see if I can make it go fast enough and escape my wish for binary copies across platforms.

--
Frode Nordahl



Reply via email to