#!/bin/sh
# $Header: /cvsroot/pgsql/src/test/bench/Attic/runwisc.sh,v 1.3 1999/04/16 06:31:13 ishii Exp $
# 
# Note that in our published benchmark numbers, we executed the command in the
# following fashion:
#
# time $POSTGRES -texecutor -tplanner -f hashjoin -Q bench
#
if [ ! -d $1 ]; then
        echo " you must specify a valid data directory "
        exit
fi

if [ -d ./obj ]; then
	cd ./obj
fi

echo =============== vacuuming benchmark database... =================
echo "vacuum" | postgres -D${1} -Q bench > /dev/null

echo =============== running benchmark... =================
time postgres -D${1} -B 256 -texecutor -tplanner -Q bench < bench.sql

#!/bin/sh
# $Header: /cvsroot/pgsql/src/test/bench/Attic/runwisc.sh,v 1.4 1999/05/23 18:53:30 momjian Exp $
# 
# Note that in our published benchmark numbers, we executed the command in the
# following fashion:
#
# time $POSTGRES -texecutor -tplanner -f hashjoin -Q bench
#
if [ ! -d $1 ]; then
        echo " you must specify a valid data directory "
        exit
fi

if [ -d ./obj ]; then
	cd ./obj
fi

echo =============== vacuuming benchmark database... =================
echo "vacuum" | postgres -D${1} -Q bench > /dev/null

echo =============== running benchmark... =================
time postgres -D${1} -texecutor -tplanner -Q bench < bench.sql

Remove -B from wisconsin test.
Remove -B from wisconsin test.
