Re: Is there a meaningful benchmark?

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Is there a meaningful benchmark?
Дата
Msg-id dcc563d10903200900q732dc798sa94a8562129e7366@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Is there a meaningful benchmark?  ("Will Rutherdale (rutherw)" <rutherw@cisco.com>)
Список pgsql-general
On Fri, Mar 20, 2009 at 9:55 AM, Will Rutherdale (rutherw)
<rutherw@cisco.com> wrote:
> You have a point, as do a lot of the other folks.
>
> However, keeping the KISS principle in mind, you can create a benchmark
> that simply sets up a sample database and forks off a bunch of processes
> to do random updates for an hour, say.  Dead simple.
>
> In fact, it's so simple that I've already written the code and have it
> running against Postgres now.  A Perl DBI script runs in a loop
> updating, and later prints out the number of transactions it completed
> in the given time frame.  At the end I just tally up the numbers and I
> have the Will Rutherdale benchmark number for Postgres.  It will give me
> a simple number in units of transactions per second.

Just keep in mind that a single thread updating the database is not a
very realistic benchmark.  Databases tend to not get interesting until
there are dozens to hundreds of threads running against it at the same
time.

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

Предыдущее
От: "Will Rutherdale (rutherw)"
Дата:
Сообщение: Re: Is there a meaningful benchmark?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Is there a meaningful benchmark?