Re: a wrong index choose when statistics is out of date
| От | Andy Fan |
|---|---|
| Тема | Re: a wrong index choose when statistics is out of date |
| Дата | |
| Msg-id | 87edcl9hlu.fsf@163.com обсуждение исходный текст |
| Ответ на | Re: a wrong index choose when statistics is out of date (David Rowley <dgrowleyml@gmail.com>) |
| Ответы |
Re: a wrong index choose when statistics is out of date
|
| Список | pgsql-hackers |
David Rowley <dgrowleyml@gmail.com> writes: > On Thu, 7 Mar 2024 at 23:40, Andy Fan <zhihuifan1213@163.com> wrote: >> >> David Rowley <dgrowleyml@gmail.com> writes: >> > If you don't want the planner to use the statistics for the column why >> > not just do the following? >> >> Acutally I didn't want the planner to ignore the statistics totally, I >> want the planner to treat the "Const" which probably miss optimizer part >> average, which is just like what we did for generic plan for the blow >> query. > > I'm with Andrei on this one and agree with his "And it is just luck > that you've got the right answer". Any example to support this conclusion? and what's the new problem after this? -- Best Regards Andy Fan
В списке pgsql-hackers по дате отправления: