Re: Performance problems with 9.2.15

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Johan Fredriksson <eskil(at)kth(dot)se>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Performance problems with 9.2.15
Date: 2016-05-27 13:46:24
Message-ID: 32524.1464356784@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Johan Fredriksson <eskil(at)kth(dot)se> writes:
> I am just about to upgrade from PostgreSQL 8.4.20 to 9.2.15, but I'v run
> into some huge performance issues.

The rowcount estimates from 9.2 seem greatly different from the 8.4 plan.
Did you remember to ANALYZE all the tables after migrating? Maybe there
were some table-specific statistics targets that you forgot to transfer
over? In any case, the 9.2 plan looks like garbage-in-garbage-out to
me :-( ... without estimates at least a little closer to reality, the
planner is unlikely to do anything very sane.

(BTW, I wonder why you are moving only to 9.2 and not something more
recent.)

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Johan Fredriksson 2016-05-27 14:13:09 Re: Performance problems with 9.2.15
Previous Message Johan Fredriksson 2016-05-27 12:10:30 Performance problems with 9.2.15