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