Better HN
topnewbestaskshowjobs
Log inSign up

rjuju

4 karma · joined Sep 10, 2014 (12y ago) · 4 submissions

Submissions

comment 11y ago · link · parent

The PoWA project (https://dalibo.github.io/powa/) + pg_qualstats extension is doing most of this work.

The pg_qualstats extension will gather statistics on WHERE clauses (number of execution, selectivity...) on the fly, and the powa UI can show you which are the most expensive queries, and suggest index creation based on your real workload. It's then your choice to create the indexes.

hypopg should be added soon to compare query EXPLAIN with and without the hypothetical indexes.

comment 12y ago · link · parent

This has been fixed. Thanks for the report !

comment 12y ago · link · parent

I agree that the documentation still need a lot of work. However, it doesn't say nor suggest to setup any crontab as root. As the only requirement is to have a stored procedure called regularly, you can use local postgres crontab for example, or any other place else. I will clarify this point on documentation as soon as possible.

comment 12y ago · link · parent

For all PGSQL graphs, the signification of each graph and label is (only :/) documented in the check_pgactivity "--help" option, as it's the direct source of these graphs. Sadly, we didn't have time yet to write a proper documentation on the wiki page, or on the UI. We'll add a better documentation as soon as possible.

For the SYSTM graphs, they correspond to standard nagios system checks.