RE: speeding up planning with partitions

Поиск
Список
Период
Сортировка
От Tsunakawa, Takayuki
Тема RE: speeding up planning with partitions
Дата
Msg-id 0A3221C70F24FB45833433255569204D1FB6CFCA@G01JPEXMBYT05
обсуждение исходный текст
Ответ на RE: speeding up planning with partitions  ("Imai, Yoshikazu" <imai.yoshikazu@jp.fujitsu.com>)
Ответы RE: speeding up planning with partitions  ("Imai, Yoshikazu" <imai.yoshikazu@jp.fujitsu.com>)
Список pgsql-hackers
Imai-san,

If the time for EXECUTE differs cleary before and after the creation of the generic plan, why don't you try to count
thefunction calls for each EXECUTE?  Although I haven't tried it, but you can probably do it with SystemTap, like
this:

probe process("your_postgres_path").function("*").call {
    /* accumulate the call count in an associative array */
}

Then, sort the functions by their call counts.  You may find some notable difference between the 5th and 7th EXECUTE.


Regards
Takayuki Tsunakawa


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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: jsonpath
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: A few new options for vacuumdb