Re: estemated number of rows and optimiser effeciency

Поиск
Список
Период
Сортировка
От salah jubeh
Тема Re: estemated number of rows and optimiser effeciency
Дата
Msg-id 1348671086.95919.YahooMailNeo@web122205.mail.ne1.yahoo.com
обсуждение исходный текст
Ответ на Re: estemated number of rows and optimiser effeciency  ("David Johnston" <polobo@yahoo.com>)
Список pgsql-general
Hello David,

Thanks for the quick response, I will follow up with the performance  group after preparing some case scenarios.

Regards


From: David Johnston <polobo@yahoo.com>
To: 'salah jubeh' <s_jubeh@yahoo.com>; 'pgsql' <pgsql-general@postgresql.org>
Sent: Wednesday, September 26, 2012 4:41 PM
Subject: RE: [GENERAL] estemated number of rows and optimiser effeciency

>>  I am wondering, why the historical data (real result of the query) does
not affect the execution plan. For example, If I ran the query 10 times I
always get around 6500 instead of 5.5 million in the top most execution plan
node.

The likely accurate, if cheeky, answer is simply that no one has taken the
time to implement what at face value would seem to be an extremely complex
behavior.


As to the rest you should probably gather up some additional details and
post this over on performance.  There is likely a middle ground between your
idea and the status quo but that ground cannot be evaluated unless examples
of possibly misbehaving queries are provided.

David J.




В списке pgsql-general по дате отправления:

Предыдущее
От: "David Johnston"
Дата:
Сообщение: Re: estemated number of rows and optimiser effeciency
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Server doesn't accept connection