Re: [HACKERS] How to change order sort of table in HashJoin
В списке pgsql-general по дате отправления:
| От | Man |
|---|---|
| Тема | Re: [HACKERS] How to change order sort of table in HashJoin |
| Дата | |
| Msg-id | c52861b0-0c72-c2ed-9704-eea7d5664bfc@gmail.com обсуждение |
| Ответ на | Re: [HACKERS] How to change order sort of table in HashJoin (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
Thanks for reply, sir. On 11/21/2016 1:39 AM, Tom Lane wrote: > Man <man.trieu@gmail.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. I dumped the two tables in pg9.4 and restored to pg9.6, sir. I also set default_statistics_target to 1000 and ANALYZE d two tables in both installations. And so that were result. Anyway i know that order can not change by tuning parameters because it depend on storing data, thanks. > regards, tom lane Thanks and best regards,
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера