From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
Cc: | Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: PATCH: pgbench - merging transaction logs |
Date: | 2015-03-17 15:50:28 |
Message-ID: | CA+TgmoZ8eFnFeg14bhWYstRdODLHa+f+zDtPjAweOgmPkLcUww@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Mar 17, 2015 at 11:27 AM, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> wrote:
> The fprintf we are talking about occurs at most once per pgbench
> transaction, possibly much less when aggregation is activated, and this
> transaction involves networks exchanges and possibly disk writes on the
> server.
random() was occurring four times per transaction rather than once,
but OTOH I think fprintf() is probably a much heavier-weight
operation. The way to know if there's a real problem here is to test
it, but I'd be pretty surprised if there isn't.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2015-03-17 15:52:48 | Re: [PATCH] Add transforms feature |
Previous Message | Tom Lane | 2015-03-17 15:32:24 | Re: Custom/Foreign-Join-APIs (Re: [v9.5] Custom Plan API) |