mirror of
https://github.com/postgres/postgres.git
synced 2025-12-09 02:08:45 +03:00
18 lines
548 B
Bash
Executable File
18 lines
548 B
Bash
Executable File
#!/bin/sh
|
|
# $Header: /cvsroot/pgsql/src/test/bench/Attic/runwisc.sh,v 1.1.1.1 1996/07/09 06:22:23 scrappy 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 ./obj ]; then
|
|
cd ./obj
|
|
fi
|
|
|
|
echo =============== vacuuming benchmark database... =================
|
|
echo "vacuum" | postgres -Q bench > /dev/null
|
|
|
|
echo =============== running benchmark... =================
|
|
time postgres -texecutor -tplanner -Q bench < bench.sql
|