Re: [HACKERS] WAL logging freezing - Mailing list pgsql-patches

From Gregory Stark
Subject Re: [HACKERS] WAL logging freezing
Date
Msg-id 877iygz2ns.fsf@enterprisedb.com
Whole thread Raw
In response to Re: [HACKERS] WAL logging freezing  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] WAL logging freezing
List pgsql-patches
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> The added WAL volume should be pretty minimal, because only tuples that have
> gone untouched for a long time incur extra work.

That seems like a weak point in the logic. It seems like it would make VACUUM
which is already an i/o hog even more so. Perhaps something clever can be done
with vacuum_cost_delay and commit_siblings.

Something like inserting the delay between WAL logging and syncing the log and
writing to the heap. So if another transaction commits in the meantime we can
skip the extra fsync and continue.


--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

pgsql-patches by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: --single-transaction doc clarification
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] WAL logging freezing