runwisc.sh
来自「PostgreSQL7.4.6 for Linux」· Shell 代码 · 共 23 行
SH
23 行
#!/bin/sh# $Header: /cvsroot/pgsql/src/test/bench/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 " exitfiif [ -d ./obj ]; then cd ./objfiecho =============== vacuuming benchmark database... =================echo "vacuum" | postgres -D${1} -Q bench > /dev/nullecho =============== running benchmark... =================time postgres -D${1} -texecutor -tplanner -Q bench < bench.sql
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?