home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre1.z / postgre1 / bench / wholebench.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1992-08-27  |  346 b   |  14 lines

  1. #!/bin/sh
  2.  
  3. # $Header: /private/postgres/bench/RCS/wholebench.sh,v 1.1 1991/12/12 12:14:31 mer Exp $
  4.  
  5. if [ -d $POSTGRESHOME/data/base/bench ]
  6. then
  7.     echo Destroying old bench database ...
  8.     echo destroydb bench | $POSTGRESHOME/bin/postgres -Q template1
  9. fi
  10.  
  11. $POSTGRESHOME/bench/create.sh
  12. echo Running the benchmark....
  13. $POSTGRESHOME/bench/runwisc.sh
  14.