home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre1.z / postgre1 / bench / WISC-README < prev   
Encoding:
Text File  |  1992-08-27  |  989 b   |  29 lines

  1. The Postgres Wisconsin Benchmark
  2.  
  3. In this directory are the queries and raw data files used to populate the
  4. Postgres version of the Wisconsin benchmark.  In order to run the benchmark,
  5. you'll initially need to execute the script
  6.  
  7. ./create.sh
  8.  
  9. which will populate the "bench" database, create the indices, and vacuum the
  10. database.  This will take from 10 minutes or so on a Sparc II/DECstation 5000
  11. class machine to an hour on a Sun 3.
  12.  
  13. Once create.sh completes, you can execute the benchmark by running the
  14. script
  15.  
  16. ./runwisc.sh
  17.  
  18. into an output file.  This output file may be quite large (300K or so)
  19. so make sure you have sufficient disk space.  Once the benchmark run has
  20. completed, query execution times can be obtained by running the 
  21.  
  22. ./perquery
  23.  
  24. script on the output file.  It will generate a nicely formatted, numbered
  25. set of output with times for each query indicated.  (Note that each query
  26. is run twice.)
  27.  
  28.   !!! WARNING!  DO NOT RUN THESE SCRIPTS IF THE POSTMASTER IS RUNNING !!!
  29.