1 The Postgres Wisconsin Benchmark
3 The short form of the directions below:
5 ensure postmaster is stopped
6 export PGDATA=/wherever
11 In this directory are the queries and raw data files used to populate the
12 Postgres version of the Wisconsin benchmark. In order to run the benchmark,
13 you'll initially need to execute the script
17 which will populate the "bench" database, create the indices, and vacuum the
18 database. This will take from 10 minutes or so on a Sparc II/DECstation 5000
19 class machine to an hour on a Sun 3.
21 Once create.sh completes, you can execute the benchmark by running the
26 into an output file. This output file may be quite large (300K or so)
27 so make sure you have sufficient disk space. Once the benchmark run has
28 completed, query execution times can be obtained by running the
32 script on the output file. It will generate a nicely formatted, numbered
33 set of output with times for each query indicated. (Note that each query
36 !!! WARNING! DO NOT RUN THESE SCRIPTS IF THE POSTMASTER IS RUNNING !!!