Demos
Here are three examples of the output:
pgsnap is a PostgreSQL tool that mimics orasnap performance report tool for Oracle.
It's written in PHP but one uses it on the command line. Many HTML files, aka reports, are written on a folder. You only need a web browser to read the complete report.
Here are three examples of the output:
To install pgsnap, you can untar the pgsnap tarball anywhere you want.
You'll need the CLI release of PHP. For example, on Debian/Ubuntu, you should have:
apt-get install php5-pgsql php5-cli
Flash graphics with Open Flash Chart
You can have flash graphics for databases' size, tablespaces's size and
tables's size. To activate the graphs, you need to download Open Flash Chart
PHP library from its website.
Then, you have to extract four files: open_flash_chart_object.php,
open-flash-chart.php, open-flash-chart.swf, and swfobject.js. pgsnap needs
to find these files in the external directory.
./pgsnap [OPTIONS]... [DBNAME]
-a
,--all
-d DBNAME
-o outputdir
-S
,--without-sysobjects
--delete-if-exists
--help
--version
-h HOSTNAME
-p PORT
-U NAME
-W