Re: PATCH: pgbench - merging transaction logs
От | Robert Haas |
---|---|
Тема | Re: PATCH: pgbench - merging transaction logs |
Дата | |
Msg-id | CA+TgmoZ8eFnFeg14bhWYstRdODLHa+f+zDtPjAweOgmPkLcUww@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: PATCH: pgbench - merging transaction logs (Fabien COELHO <coelho@cri.ensmp.fr>) |
Ответы |
Re: PATCH: pgbench - merging transaction logs
Re: PATCH: pgbench - merging transaction logs |
Список | pgsql-hackers |
On Tue, Mar 17, 2015 at 11:27 AM, Fabien COELHO <coelho@cri.ensmp.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
В списке pgsql-hackers по дате отправления: