[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Script for creating a large repository

From: Brandon Ehle <azverkan_at_yahoo.com>
Date: 2003-01-03 21:26:35 CET

Since the issue had come up in IRC, I'm posting this script for anyone
who wants to create a repository designed to hold a large amount of data
(>1GB).

#!/bin/sh

svnadmin create $1
if [ ! $1 ]
then
  echo "Failed to create repository"
  exit 1
fi

echo "set_lk_max_locks 8000" > $1/db/DB_CONFIG
echo "set_lk_max_lockers 8000" >> $1/db/DB_CONFIG
echo "set_lk_max_objects 8000" >> $1/db/DB_CONFIG
echo "set_lg_bsize 2097152" >> $1/db/DB_CONFIG
echo "set_lg_max 16777216" >> $1/db/DB_CONFIG
rm $1/db/log*
svnadmin recover $1
chown -R apache.apache .

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 3 21:24:38 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.