| From: | Lonni J Friedman <netllama(at)gmail(dot)com> |
|---|---|
| To: | Jason Tesser <JTesser(at)nbbc(dot)edu> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: monitoring tools |
| Date: | 2004-12-23 14:11:33 |
| Message-ID: | 7c1574a90412230611210e5aff@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Sure, in postgresql.conf uncomment log_min_duration_statement and set
it to whatever value you want to log. This, of course, assumes that
you're already logging for the DB.
On Thu, 23 Dec 2004 07:27:22 -0600, Jason Tesser <JTesser(at)nbbc(dot)edu> wrote:
> I am looking for a tool in postgres to monitor present and past activity. Foe example in SQLServer there is a tool that reports on all queries run in the past say 2 weeks and tells you how long they took etc.. I know I can use explain in postgres but I want to be able to track my queries in a real enviroment while the apps are using them. Is there a tool that can help me?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama(at)gmail(dot)com
LlamaLand http://netllama.linux-sxs.org
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jason Tesser | 2004-12-23 14:14:41 | Re: monitoring tools |
| Previous Message | Jason Tesser | 2004-12-23 13:27:22 | monitoring tools |