Re: Random plan selection in DBT-3 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Random plan selection in DBT-3
Date
Msg-id 2583.1199676402@sss.pgh.pa.us
Whole thread Raw
In response to Re: Random plan selection in DBT-3  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-hackers
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> There might be regularity in the plan selection. When I connect to postgres
> newly, I see plans { A, B, A, A ... }. Then disconnect, re-connect and send
> the same EXPLAINs, the same pattern was reproduced.

Hmph ... maybe some effect associated with loading up the backend's
internal caches?  I can't imagine what though.

Please see if you can extract a more self-contained test case.
        regards, tom lane


pgsql-hackers by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Re: Random plan selection in DBT-3
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Bug: Unreferenced temp tables disables vacuum to update xid