Re: wal segment size

2025-12-17 Thread Laurenz Albe
On Wed, 2025-12-17 at 12:21 -0500, Greg Sabino Mullane wrote: > On Wed, Dec 17, 2025 at 11:10 AM Colin 't Hart wrote: > > Thanks Laurenz, that confirms what I was assuming. Archiving is via > > pgbackrest > > to a backup server, over SSH. Approx 750ms to archive each segment is crazy > > -- > >

Re: wal segment size

2025-12-17 Thread Ron Johnson
crazy -- I'll check compression parameters too. > > Any reason not to bump it up to 1GB? Or is that overkill? > > /Colin > > On Wed, 17 Dec 2025 at 16:25, Laurenz Albe > wrote: > >> On Wed, 2025-12-17 at 16:13 +0100, Colin 't Hart wrote: >> > I see very little

Re: wal segment size

2025-12-17 Thread Greg Sabino Mullane
On Wed, Dec 17, 2025 at 11:10 AM Colin 't Hart wrote: > Thanks Laurenz, that confirms what I was assuming. Archiving is via > pgbackrest to a backup server, over SSH. Approx 750ms to archive each > segment is crazy -- I'll check compression parameters too. > Switch to archive-async = on. When do

Re: wal segment size

2025-12-17 Thread Adrian Klaver
wrote: > I see very little advice on tuning WAL segment size. > > One of my clients has a few datawarehouses at around 8 - 16 TB > > On one of the nodes there are approx 15000 WAL segments of 16MB each, totalling > approx 230GB. The archiver is archiv

Re: wal segment size

2025-12-17 Thread Colin 't Hart
16:25, Laurenz Albe wrote: > On Wed, 2025-12-17 at 16:13 +0100, Colin 't Hart wrote: > > I see very little advice on tuning WAL segment size. > > > > One of my clients has a few datawarehouses at around 8 - 16 TB > > > > On one of the nodes there are approx 1

Re: wal segment size

2025-12-17 Thread Ron Johnson
On Wed, Dec 17, 2025 at 10:13 AM Colin 't Hart wrote: > Hi, > > I see very little advice on tuning WAL segment size. > > One of my clients has a few datawarehouses at around 8 - 16 TB > > On one of the nodes there are approx 15000 WAL segments of 16MB each, > totalli

Re: wal segment size

2025-12-17 Thread Laurenz Albe
On Wed, 2025-12-17 at 16:13 +0100, Colin 't Hart wrote: > I see very little advice on tuning WAL segment size. > > One of my clients has a few datawarehouses at around 8 - 16 TB > > On one of the nodes there are approx 15000 WAL segments of 16MB each, > totalling > app

wal segment size

2025-12-17 Thread Colin 't Hart
Hi, I see very little advice on tuning WAL segment size. One of my clients has a few datawarehouses at around 8 - 16 TB On one of the nodes there are approx 15000 WAL segments of 16MB each, totalling approx 230GB. The archiver is archiving approx one per second, so approx 4 hours to clear

Changing wal segment size on existing database cluster

2020-05-27 Thread James Lucas
Hi all, I have a high traffic database, where I'm interested in changing the wal segment size to a larger value. I haven't found much documentation about how to change the segment size of an existing database. The obvious, safe solution would be to create a new database cluster and d