Re: Query performance - normal on 9.0.4, slow from 9.0.5 onwards

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: miguel(dot)silva(at)tactis(dot)pt
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Query performance - normal on 9.0.4, slow from 9.0.5 onwards
Date: 2011-12-30 17:40:19
Message-ID: 19327.1325266819@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Miguel Silva <miguel(dot)silva(at)tactis(dot)pt> writes:
> But with postgresql version 9.0.5 (in version 9.0.4 all was fine), we
> noticed the program was taking longer to start. In fact, in some clients
> that had older hardware, it could take around 20 minutes when it usually
> takes only a few seconds. To make a long story short, the problem was
> traced and narrowed down to a single auto generated query. Here it is:

> "SELECT [ snip ]"

> ... Here are the explain analyzes.

> enable_material ON: http://explain.depesz.com/s/wen
> enable_material OFF: http://explain.depesz.com/s/Zaa

It doesn't really accomplish anything to post anonymized explain output
when you've already shown us the actual query, does it? Especially when
said query involves only the system catalogs and by no stretch of the
imagination could be thought to contain anything proprietary?

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Miguel Silva 2011-12-30 17:50:08 Re: Query performance - normal on 9.0.4, slow from 9.0.5 onwards
Previous Message Miguel Silva 2011-12-30 16:39:04 Query performance - normal on 9.0.4, slow from 9.0.5 onwards