Re: [GENERAL] Postgres 9.6.1 big slowdown by upgrading 8.4.22 - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] Postgres 9.6.1 big slowdown by upgrading 8.4.22
Date
Msg-id 13465.1483843057@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Postgres 9.6.1 big slowdown by upgrading 8.4.22  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-general
Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
> No. now() calls GetCurrentTransactionStartTimestamp(), so it does not
> call gettimeofday() and so the clock source overhead is pretty much
> irrelevant. Moreover it's marked as 'stable' which makes repeated calls
> unnecessary.

Yeah.  My own thought, in view of the large version jump involved, is that
there's been some change in the planning of semi-joins that isn't working
well here.  But since the OP hasn't provided EXPLAIN output for the
problem case, table schemas, or indeed any of the details suggested in
https://wiki.postgresql.org/wiki/Slow_Query_Questions
it's hard to provide any concrete answers.

            regards, tom lane


pgsql-general by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: [GENERAL] Postgres 9.6.1 big slowdown by upgrading 8.4.22
Next
From: Shrikant Bhende
Date:
Subject: [GENERAL] Catalog table which stores database level information