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

From Gregory Stark
Subject Re: [HACKERS] WAL logging freezing
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: [HACKERS] WAL logging freezing  (Tom Lane <[email protected]>)
Responses Re: [HACKERS] WAL logging freezing
List pgsql-patches
"Tom Lane" <[email protected]> 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