Re: increasing the default WAL segment size
Stephen Frost <sfrost@snowman.net>
Michael, * Michael Paquier (michael.paquier@gmail.com) wrote: > On Thu, Aug 25, 2016 at 10:25 PM, Bruce Momjian <bruce@momjian.us> wrote: > > On Wed, Aug 24, 2016 at 10:40:06PM -0300, Claudio Freire wrote: > >> > time instead of requiring a recompile; we probably don't save any > >> > significant number of cycles by compiling this into the server. > >> > >> FWIW, +1 > >> > >> We're already hurt by the small segments due to a similar phenomenon > >> as the ssh case: TCP slow start. Designing the archive/recovery > >> command to work around TCP slow start is quite complex, and bigger > >> segments would just be a better thing. > >> > >> Not to mention that bigger segments compress better. > > > > This would be good time to rename pg_xlog and pg_clog directories too. > > That would be an excellent timing to do so. The first CF is close by, > and such a change would be better at the beginning of the development > cycle. If we're going to be renaming things, we might wish to consider further changes, such as putting everything that's temporary & not WAL-logged into "pgsql_tmp" directories, so we don't need lists of "directories to exclude" in things like the pg_basebackup-related code. We should really have an independent thread about this though, as it's not what Robert's asking about here. Thanks! Stephen
Commits
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Make WAL segment size configurable at initdb time.
- fc49e24fa69a 11.0 landed
-
Perform only one ReadControlFile() during startup.
- 8356753c212a 11.0 landed
-
Introduce BYTES unit for GUCs.
- 6e7baa322773 11.0 landed
-
Remove useless duplicate inclusions of system header files.
- 9e3755ecb2d0 10.0 cited
-
Refactor other replication commands to use DestRemoteSimple.
- bbd8550bce14 10.0 landed
-
Add a SHOW command to the replication command language.
- d1ecd539477f 10.0 landed
-
Add a new DestReceiver for printing tuples without catalog access.
- a84069d93504 10.0 landed
-
Support fls().
- 4f658dc851a7 9.2.0 cited
-
Extend yesterday's patch making BLCKSZ and RELSEG_SIZE configurable to also
- cf9f6c8d8e9d 8.4.0 cited
-
Commit the reasonably uncontroversial parts of J.R. Nield's PITR patch, to
- c3c09be34b6b 8.0.0 cited
-
XLOG (also known as WAL -:)) Bootstrap/Startup/Shutdown.
- 47937403676d 7.1.1 cited
-
Transaction log manager core code.
- 30659d43eb73 7.1.1 cited