planner's cost functions

Поиск
Список
Период
Сортировка
От dafNi zaf
Тема planner's cost functions
Дата
Msg-id CAAega+6zVDCYsu5r3Ab8EnqftAb0uwnGTzCNeum+ULKXXSZmXA@mail.gmail.com
обсуждение исходный текст
Список pgsql-students
Hello everybody!

   I'm trying to understand the the query planner's cost estimator.
I was not able to find anywhere the functions that estimate the cost
of each operation that the optimizer produces (via EXPLAIN ANALYZE).

I only found this from for the sequencial scan:
SEQ SCAN = ( cpu_tuple_cost *  rows ) +  ( number of pages * seq_page_cost )

and I am wondering where could I find the rest formulas for the rest operations
(e.g. HashAggregate, Nested Loop, Hash Join, Index Scan, Sort, etc)

I have spent more than three days looking for these but I couldn't find anything.
At least not from the official documentation or other relavant publications

Thank you in advance!
dafNi

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

Предыдущее
От: german andres arzayus millan
Дата:
Сообщение: Fwd: 3/26/2013 5:51:40 PM
Следующее
От: Govind kumar sah
Дата:
Сообщение: downloading of project source code