Re: EXPLAIN (plan off, rewrite off) for benchmarking

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: EXPLAIN (plan off, rewrite off) for benchmarking
Дата
Msg-id 20032.1321724117@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: EXPLAIN (plan off, rewrite off) for benchmarking  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On Saturday, November 19, 2011 04:52:10 PM Tom Lane wrote:
>> If you don't like CREATE RULE, try having your test program send just
>> Parse messages, and not Bind/Execute. 

> That sounds like a plan. Except that I would prefer to use pgbench.

Well, how about plan C: write a small C function that consists of a loop
around calling just the part of the parser you want to test?  I've done
that in the past when I wanted fine-grained profiles, and it works a
whole lot better than anything involving per-query messages from the
client side.
        regards, tom lane


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: RFC: list API / memory allocations
Следующее
От: Kohei KaiGai
Дата:
Сообщение: Re: pgsql_fdw, FDW for PostgreSQL server