Patch for testing query modes on pgbench

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема Patch for testing query modes on pgbench
Дата
Msg-id 20071017152035.86C8.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
обсуждение исходный текст
Ответы Re: Patch for testing query modes on pgbench  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-patches
Here is a patch for testing query modes on pgbench. It is discussed on
http://archives.postgresql.org/pgsql-hackers/2007-10/msg00755.php

I think this is useful to measure performance of protocols and
prepared statements. I hope the extended protocol will be improved
as fast as the simple protocol. It is 10-20% slower now.
(for 8.4 item)

The querymode option is added:
    -M querymode
        Choose the query mode from the follows:
            simple: using simple query protocol.
            extended: using extended protocol.
            prepared: using extended protocol with prepared statements.
        default is simple.

Usage:
$ pgbench -M [simple|extended|prepared]

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center


Вложения

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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: [RFC] extended txid docs
Следующее
От: "Marko Kreen"
Дата:
Сообщение: Re: [RFC] extended txid docs