| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Man <man(dot)trieu(at)gmail(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: How to change order sort of table in HashJoin |
| Date: | 2016-11-20 16:39:39 |
| Message-ID: | 18388.1479659979@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers |
Man <man(dot)trieu(at)gmail(dot)com> writes:
> Additional information.
> In 9.6 the second table (lesser tuple) was choosen (the same testdata).
> There are something (cost estimation?) different in previous versions.
I'd bet on different statistics in the two installations (either you
forgot to ANALYZE, or the random sample came up quite a bit different).
And I'm a little suspicious that these tests weren't all done with the
same work_mem setting.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Janes | 2016-11-20 19:18:05 | Re: Strict min and max aggregate functions |
| Previous Message | Adrian Klaver | 2016-11-20 16:03:57 | Re: R: Autovacuum and frequent pg_bulkload |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andreas Seltenreich | 2016-11-20 17:13:42 | [sqlsmith] Failed assertion in parallel worker in ExecInitSubPlan |
| Previous Message | Magnus Hagander | 2016-11-20 16:34:21 | Re: Mail thread references in commits |