But that will just st in a huge tet sticks all data in text filess. I need a tool that will take that data and give me meaningful reports. I want to be able to get reports on queries ove rthe last 2 weeks. Which ones were slow etc.. I dont want to have to read through 2 weeks worth of logs :-)
-----Original Message----- From: Lonni J Friedman [mailto:[EMAIL PROTECTED] Sent: Thu 12/23/2004 8:11 AM To: Jason Tesser Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] monitoring tools 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] LlamaLand http://netllama.linux-sxs.org ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])