Re: Horrible CREATE DATABASE Performance in High Sierra
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Brent Dearth <brent.dearth@gmail.com>, Andres Freund <andres@anarazel.de>,
pgsql-hackers@postgresql.org
Date: 2017-11-08T15:39:51Z
Lists: pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes: > On 10/7/17 16:46, Tom Lane wrote: >> Accordingly I propose the attached patch. If anyone's interested in >> experimenting on other platforms, we might be able to refine/complicate >> the FLUSH_DISTANCE selection further, but I think this is probably good >> enough for a first cut. > What is the status of this? Is performance on High Sierra still bad? I committed the fix at 643c27e36. If Apple have done anything about the underlying problem, you couldn't tell it from their non-response to my bug report. regards, tom lane
Commits
-
Increase distance between flush requests during bulk file copies.
- c3723317d08c 10.1 landed
- 643c27e36ff3 11.0 landed
- 13a8924ecf00 9.6.6 landed