I've got a query that is running slower on 8.3 than on 8.1 (with
equivalent server config),
because the join ordering is not the same, at least that's my guess... ;-)
In 8.1.4, table A had 122880 pages, B 112690 pages and C 80600 pages.
Now in 8.3.3, table A has only 77560 pages, B 69580 but C remains at
In 8.1 the tables were joined in that way (using explain analyse):
C join A join B
now in 8.3:
B join A join C
Beside that, the plan is very similar, but the indexes used are not the
Could the number of disk pages of a table influence the
order in which it is joined, even when it is scanned with an index?
I'm pretty sure it is because of the reduced table sizes,
since the server configuration is the same.
pgsql-performance by date
|Next:||From: Gregory Williamson||Date: 2008-07-16 21:59:42|
|Subject: Re: Difference between 8.1 & 8.3|
|Previous:||From: Stephen Conley||Date: 2008-07-15 21:26:52|
|Subject: Re: requested shared memory size overflows size_t|