Re: [GENERAL] How to know which queries are to be optimised? - Mailing list pgsql-performance

From Richard Huxton
Subject Re: [GENERAL] How to know which queries are to be optimised?
Date
Msg-id 411B5184.6090106@archonet.com
Whole thread Raw
In response to Re: [GENERAL] How to know which queries are to be optimised?  (Ulrich Wisser <ulrich.wisser@relevanttraffic.se>)
Responses Re: [GENERAL] How to know which queries are to be optimised?
List pgsql-performance
Ulrich Wisser wrote:
>> You can log queries that run for at least a specified amount of time.
>> This will be useful in finding what the long running queries are.
>> You can then use explain analyse to see why they are long running.
>
> But is there a tool that could compile a summary out of the log? The log
> grows awefully big after a short time.

You might want to look at the "Practical Query Analyser" - haven't used
it myself yet, but it seems a sensible idea.

http://pqa.projects.postgresql.org/

--
   Richard Huxton
   Archonet Ltd

pgsql-performance by date:

Previous
From: Ulrich Wisser
Date:
Subject: Re: [GENERAL] How to know which queries are to be optimised?
Next
From: "Merlin Moncure"
Date:
Subject: Re: Hardware upgrade for a high-traffic database