Re: EXPLAIN (plan off, rewrite off) for benchmarking
| От | Tom Lane |
|---|---|
| Тема | Re: EXPLAIN (plan off, rewrite off) for benchmarking |
| Дата | |
| Msg-id | 17288.1321717930@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: EXPLAIN (plan off, rewrite off) for benchmarking (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: EXPLAIN (plan off, rewrite off) for benchmarking
|
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> Explain is just a vehicle here, I admit that. But on what else should I bolt
> it?
If you don't like CREATE RULE, try having your test program send just
Parse messages, and not Bind/Execute. I still dislike the idea of
exposing a fundamentally-broken-and-useless variant of EXPLAIN in order
to have a test harness for a variant of performance testing that hardly
anyone cares about. (There is no real-world case where the performance
of the parser matters in isolation.) If we do that, it will be a
feature that we have to support forever, and possibly fix bugs in ---
what if the system crashes because the rewriter wasn't invoked, for
example?
regards, tom lane
В списке pgsql-hackers по дате отправления: