pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Finlay Thompson <finlay@dragonfly.co.nz>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6275: Horrible performance regression
Date: Fri, 28 Oct 2011 00:53:13 -0400
Message-ID: <13998.1319777593@sss.pgh.pa.us> (raw)
In-Reply-To: <201110280242.p9S2gdRI054867@wwwmaster.postgresql.org>
References: <201110280242.p9S2gdRI054867@wwwmaster.postgresql.org>

"Finlay Thompson" <finlay@dragonfly.co.nz> writes:
> After an upgrade from 8.4.8 to 8.4.9 performance of load script went from ~
> 3 hours to not finishing after 24 hours.

> Context: We have a continuous build script, that loads, grooms, matches data
> every few hours. The script has been run over 100 times in the last few
> weeks, and has steadily been taking around 3 hours. It is really a group of
> scripts, something like 15000 lines of sql, and some python scripts to run
> it together.

> After upgrading the postgresql*-8.4 packages on ubuntu, to version 8.4.9,
> the script suddenly stopped working, and consuming all the ram (16GB) on the
> computer (i7).

Well, the most likely theory seems to be that one of the planner changes
in 8.4.9 is resulting in a much less optimal plan choice for one or more
queries, but it's impossible to diagnose it on the basis of this much
information.

> btw: The database uses plpython and postgis.

Hmm, did you change postgis versions at the same time?  If so, which
upgrade caused the problem, postgres or postgis?

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <13998.1319777593@sss.pgh.pa.us>
Permalink:  ../13998.1319777593@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13998.1319777593@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, finlay@dragonfly.co.nz
  Subject: Re: BUG #6275: Horrible performance regression
  In-Reply-To: <13998.1319777593@sss.pgh.pa.us>
  References: <201110280242.p9S2gdRI054867@wwwmaster.postgresql.org> <13998.1319777593@sss.pgh.pa.us>

* 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