pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Albert László-Róbert <albertlaszlorobert@gmail.com>
To: Guillaume Smet <guillaume.smet@gmail.com>
Cc: Tom Duffey <tduffey@techbydesign.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Slow query after upgrades
Date: Fri, 14 Dec 2007 13:39:21 +0200
Message-ID: <1197632361.6335.52.camel@albertlr-rss> (raw)
In-Reply-To: <1d4e0c10712140115v6860c52en7165ef58ddc93510@mail.gmail.com>
References: <3EB52707-C945-43D6-9B3F-15F3B228D6F6@techbydesign.com>
	<1197622516.6335.23.camel@albertlr-rss>
	<1d4e0c10712140115v6860c52en7165ef58ddc93510@mail.gmail.com>


On Fri, 2007-12-14 at 10:15 +0100, Guillaume Smet wrote:
> Albert,
> 
> On Dec 14, 2007 9:55 AM, Albert László-Róbert
> <albertlaszlorobert@gmail.com> wrote:
> > the performance before were arount 1-2 minutes ... and after the upgrade
> > it was about 30-40 minutes and more ... but because our application is
> > running throw the internet using the CORBA technology in most of the
> > cases the database throws an org.postgresql.util.PSQLException(: An I/O
> > error occured while sending to the backend.) exception.
> 
> Did you analyze your database after upgrade?

yes

> 
> Can you enable log_min_duration_statement to see which queries are
> slower than before? You can use pgFouine to obtain an analysis of the
> log file.
> 
> --
> Guillaume

We would try that if we hadn't to concentrate on solving the problem for
the most resource-demanding queries which currently are not working at
all.

We presume, though, that problem is around optimizing queries with large
result sub-selects joined with other ones.

-- 
László-Róbert, Albert
mobile: +40-(0)-742-874-854
office: +40-(0)-365-410-540
e-mail: albertlaszlorobert@gmail.com




view thread (22+ messages)  latest in thread

Message-ID: <1197632361.6335.52.camel@albertlr-rss>
Permalink:  ../1197632361.6335.52.camel@albertlr-rss/
Also on:    postgresql.org/message-id/1197632361.6335.52.camel@albertlr-rss

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: albertlaszlorobert@gmail.com, guillaume.smet@gmail.com, tduffey@techbydesign.com
  Subject: Re: Slow query after upgrades
  In-Reply-To: <1197632361.6335.52.camel@albertlr-rss>
  References: <3EB52707-C945-43D6-9B3F-15F3B228D6F6@techbydesign.com> <1197622516.6335.23.camel@albertlr-rss> <1d4e0c10712140115v6860c52en7165ef58ddc93510@mail.gmail.com> <1197632361.6335.52.camel@albertlr-rss>

* 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