Re: Simplifying replication - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Simplifying replication
Date
Msg-id 4CC78781.4000206@agliodbs.com
Whole thread Raw
In response to Re: Simplifying replication  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Simplifying replication  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
> If you set wal_keep_segments=0, archive_mode=on, and
> archive_command=<something>, you might run out of disk space.
> 
> If you set wal_keep_segments=-1, you might run out of disk space.
> 
> Are you any more screwed in the second case than you are in the first
> case?

It is the same to the user either way.  In either case you have to
change some settings and restart the master.

Well, for the archive case, you could conceivably mass-delete the
archive files.

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: max_wal_senders must die
Next
From: Robert Haas
Date:
Subject: Re: Simplifying replication