Not a bad idea, though I think DB-specific (and app-independent) solutions are pretty awesome already.
For Postgres: http://pgfouine.projects.postgresql.org/ Sample: http://pgfouine.projects.postgresql.org/reports/sample_defau...
For Postgres: http://pgfouine.projects.postgresql.org/ Sample: http://pgfouine.projects.postgresql.org/reports/sample_defau...