Re: Too frequent message of pgbench -i? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Too frequent message of pgbench -i?
Date
Msg-id CA+TgmoZxiP0vQa+uE2h2kH9+xi3ehhTwZojjv3SGUSLgNrz5Dw@mail.gmail.com
Whole thread Raw
In response to Too frequent message of pgbench -i?  (Tatsuo Ishii <ishii@postgresql.org>)
Responses Re: Too frequent message of pgbench -i?  (Tatsuo Ishii <ishii@postgresql.org>)
List pgsql-hackers
On Wed, Jun 20, 2012 at 4:04 AM, Tatsuo Ishii <ishii@postgresql.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.

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

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Nasty, propagating POLA violation in COPY CSV HEADER
Next
From: "Kevin Grittner"
Date:
Subject: Re: proposal and patch : support INSERT INTO...RETURNING with partitioned table using rule