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

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?

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



view thread (22+ messages)  latest in thread

Message-ID: <1d4e0c10712140115v6860c52en7165ef58ddc93510@mail.gmail.com>
Permalink:  ../1d4e0c10712140115v6860c52en7165ef58ddc93510@mail.gmail.com/
Also on:    postgresql.org/message-id/1d4e0c10712140115v6860c52en7165ef58ddc93510@mail.gmail.com

 · 

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: guillaume.smet@gmail.com, albertlaszlorobert@gmail.com, tduffey@techbydesign.com
  Subject: Re: Slow query after upgrades
  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>

* 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