aboutsummaryrefslogtreecommitdiff
path: root/src/test/bench/runwisc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/bench/runwisc.sh')
-rwxr-xr-xsrc/test/bench/runwisc.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/bench/runwisc.sh b/src/test/bench/runwisc.sh
new file mode 100755
index 00000000000..0d5afa389e0
--- /dev/null
+++ b/src/test/bench/runwisc.sh
@@ -0,0 +1,17 @@
+#!/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