Execution Plan Cost

Поиск
Список
Период
Сортировка
От Luis Vargas
Тема Execution Plan Cost
Дата
Msg-id Prayer.1.2.0pre.0805081811580.32631@hermes-1.csi.cam.ac.uk
обсуждение исходный текст
Ответы Re: Execution Plan Cost  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
At the backend, I'm measuring the cost of executing (via SPI_execute_plan) 
the read-only plan of a simple query with no reference to tables. E.g. 
simpleplan(int) AS SELECT $1 > 5

Executing this plan via SPI_execute takes around 70% more time than 
directly executing the relevant operator function (int4gt) and using 
DatumGetBool. Can anyone give me any insight into what operations account 
for the extra execution time?

Thanks,

Luis Vargas


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Proposed patch - psql wraps at window width
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Execution Plan Cost