Re: Group Commits Vs WAL Writes

From: Atri Sharma <atri(dot)jiit(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Group Commits Vs WAL Writes
Date: 2013-06-27 16:54:34
Message-ID: CAOeZVidycMg891PwyKDEo_+8SEQwct_guCPzFCBA7AKh_NgQ_A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Well, it does take longer to fsync a larger byte range to disk than a
> smaller byte range, in some cases. But it's generally more efficient
> to write one larger range than many smaller ranges, so you come out
> ahead on the whole.

Right, that does make sense.

So, the overhead of writing a lot of WAL buffers is mitigated because
one large write is better than lots of smaller rights?

Regards,

Atri

--
Regards,

Atri
l'apprenant

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-06-27 16:56:08 Re: extensible external toast tuple support
Previous Message Atri Sharma 2013-06-27 16:51:43 Re: Group Commits Vs WAL Writes