From: Ulrich Wisser <ulrich.wisser@relevanttraffic.se>
To: pgsql-general@postgresql.org
Subject: How to know which queries are to be optimised?
Date: Wed, 04 Aug 2004 14:00:39 +0200
Message-ID: <4110CFE7.9000202@relevanttraffic.se> (raw)
Hello,
my web application grows slower and slower over time. After some
profiling I came to the conclusion that my SQL queries are the biggest
time spenders (25 seconds). Obviously I need to optimise my queries and
maybe introduce some new indexes.
The problem is, that my application uses dynamic queries. I therefor can
not determine what are the most common queries.
I have used the postgresql logging ption before. Is there a tool to
analyze the logfile for the most common and/or most time consuming queries?
TIA
Ulrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: ulrich.wisser@relevanttraffic.se, pgsql-general@postgresql.org
Subject: Re: How to know which queries are to be optimised?
In-Reply-To: <4110CFE7.9000202@relevanttraffic.se>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox