Re: Too frequent message of pgbench -i?

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: robertmhaas(at)gmail(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Too frequent message of pgbench -i?
Date: 2012-06-21 07:44:28
Message-ID: 20120621.164428.299318813594555878.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-06-21 08:08:13 Re: Pruning the TODO list
Previous Message Florian Pflug 2012-06-21 07:37:49 Re: sortsupport for text