Re: Random plan selection in DBT-3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Random plan selection in DBT-3
Date: 2008-01-07 03:26:42
Message-ID: 2583.1199676402@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2008-01-07 05:59:54 Re: Bug: Unreferenced temp tables disables vacuum to update xid
Previous Message ITAGAKI Takahiro 2008-01-07 03:06:49 Re: Random plan selection in DBT-3