Last updated on 3/3/08 by robert.lor@sun.com

1) Install PostgreSQL 8.2 on Solaris Express
   http://www.sun.com/software/solaris/solaris-express/get.jsp.
   The GUI tool works with Solaris 10 10/07 or later.

   a) For information on compiling PostgreSQL with DTrace enabled,
      see http://www.postgresql.org/docs/8.2/static/dynamic-trace.html or
      http://blogs.sun.com/robertlor/entry/user_level_dtrace_probes_in

   b) For information on using PostgreSQL on Solaris, see
      http://www.sun.com/software/solaris/howtoguides/postgresqlhowto.jsp

2) Setup the workload. If you just want to test the tool, you can use pgbench
   to generate the workload.

3) Install the GUI tool

   # pkgadd -d osolchime-i386-1.4-postgres.pkg
   or
   # pkgadd -d osolchime-sparc-1.4-postgres.pkg

4) Run the demo

   a) In one window, run the workload (you need to run this first before
      starting the GUI tool)

   b) In another window, as root, run the GUI tool

      # /opt/OSOL0chime/bin/chime &

   c) There are 4 demos you can select from:

      1) PostgreSQL LWLock Acquires
      2) PostgreSQL LWLock Waits
      3) PostgreSQL Transaction Counts
      4) PostgreSQL Transaction Time

      Select any one of the above and click Run

   Instead of using the GUI, you can run the demo using the DTrace scripts in
   the dtrace_scripts directory.


If you have any questions, please send email to dtrace-general@pgfoundry.org.
