From: pgsql-hackers-ow...@postgresql.org > [mailto:pgsql-hackers-ow...@postgresql.org] On Behalf Of Haribabu Kommi > calculations may cause performance problem. Is there any need of writing > this stats information to file? As this just provides the wait time > information.
Yes, saving the workload diagnosis information would be nice like Oracle AWR. I mean not the current accumulated total, but a series of snapshots taken periodically. It would enable: * Daily monitoring across database restarts. e.g. The response times of applications degraded after applying a patch. What's the difference between before and after the patch application? * Hint on troubleshooting a crash failure. e.g. Excessive memory use by PostgreSQL crashed the OS. What was the workload like just before the crash? The point of discussion may be whether PostgreSQL itself provides the feature to accumulate performance diagnosis information on persistent storage. pg_statsinfo will be able to take on it, but it wouldn't be convenient nor efficient. Regards Takayuki Tsunakawa -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers