Re: Some minor changes to pgbench

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Some minor changes to pgbench
Дата
Msg-id 15340.1156312354@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Some minor changes to pgbench  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Some minor changes to pgbench  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-patches
"Joshua D. Drake" <jd@commandprompt.com> writes:
> * The schema now uses foreign keys to more accurately reflect a finacial DDL

Addition of foreign key checking will certainly impact performance
significantly.

> * The history table now has a primary key that uses a serial

Ditto.

> * The respective balance columns have been increased to int8 to deal
> with larger values

Ditto.

> * Initalization will be done in a new schema/namespace, pgbench will
> exit if this schema/namespace exists

OK, maybe that doesn't matter.

> * The new DDL should allow both Mammoth Replicator and Slony to be
> tested using pgbench (at least basic replication)

Erm ... exactly why couldn't you do that before?

pgbench doesn't have all that many things to recommend it, but what
it does have is that it's been a stable testbed across quite a few
PG releases.  Arbitrarily whacking around the tested functionality
will destroy that continuity.  I fell into this trap before myself
... I have a local copy of pgbench that produces TPS numbers quite
a lot better than the standard pgbench, against exactly the same
server.  What's wrong with that picture?

            regards, tom lane

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Some minor changes to pgbench
Следующее
От: Böszörményi Zoltán
Дата:
Сообщение: Re: [HACKERS] COPY view