Re: Too frequent message of pgbench -i?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Too frequent message of pgbench -i?
Date: 2012-06-22 13:06:50
Message-ID: CA+TgmobxvJbTr=0KRwk-DpjeALmPZw5XcxNMo17_YvcqPoq7_w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jun 21, 2012 at 3:44 AM, Tatsuo Ishii <ishii(at)postgresql(dot)org> wrote:
>> On Wed, Jun 20, 2012 at 4:04 AM, Tatsuo Ishii <ishii(at)postgresql(dot)org> wrote:
>>> Currently pgbench -i prints following message every 10k tuples created.
>>>
>>>                        fprintf(stderr, "%d tuples done.\n", j);
>>>
>>> I think it's long time ago when the frequency of message seemed to be
>>> appropriate because computer is getting so fast these days and every
>>> 10k message seems to be too often for me. Can we change the frequency
>>> from 10k to 100k?
>>
>> +1 for doing it that way.  I have an old patch lying around for that.
>> It's one line, which seems to be about as much work as the problem
>> justifies.
>
> +1. Your patch looks good.

Thanks, committed.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-06-22 13:15:33 Re: Pruning the TODO list
Previous Message Robert Haas 2012-06-22 13:02:53 Re: [PATCH] Add some more documentation for array indexes/operators