Estimation of Plan quality

Поиск
Список
Период
Сортировка
От vamsi krishna
Тема Estimation of Plan quality
Дата
Msg-id AANLkTinO5VSbM=7Y-=mZw-z5AMLvHynOCYiJZS9SfD29@mail.gmail.com
обсуждение исходный текст
Ответы Re: [BUGS] Estimation of Plan quality  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Dear all
 
Can someone tell me how to estimate the quality of my plan. For example if the ideal query plan generated by Dynamic Programming has a plan quality of 1.0, and suppose I generate my query plan with some greedy method or something, it will be worse (not as optimal as) than ideal plan by,  say, 1.5 or 2.0 times , how can I know this factor?
 
Should it be estimated from the execution time?
 
In the plan generated by PostgreSQL when I give explain query, I see Plan cost at the top of the plan with some exponential value. What does it indicate? Is it the estimated execution time? or Is it the search space that has been considered during plan execution?
 
Thanks
Vamsi

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Performance Farm Release
Следующее
От: Dave Page
Дата:
Сообщение: Re: huia and moa versus old PG branches