From: | Mads(dot)Tandrup(at)schneider-electric(dot)com |
---|---|
To: | jeff(dot)janes(at)gmail(dot)com |
Cc: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, pgsql-general-owner(at)postgresql(dot)org |
Subject: | Re: Streaming replication with sync slave, but disconnects due to missing WAL segments |
Date: | 2013-06-07 11:13:08 |
Message-ID: | OF09655C54.F119A8E9-ONC1257B83.003D8878-C1257B83.003DA156@apcc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Jeff.
Thanks for the clarification.
I'll adjust wal_keep_segments for the expected biggest table in the backup.
Best regards,
Mads
From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: "Mads(dot)Tandrup(at)schneider-electric(dot)com"
<Mads(dot)Tandrup(at)schneider-electric(dot)com>,
Cc: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>,
"pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Date: 06-06-2013 18:33
Subject: Re: [GENERAL] Streaming replication with sync slave, but
disconnects due to missing WAL segments
Sent by: pgsql-general-owner(at)postgresql(dot)org
On Wed, Jun 5, 2013 at 11:26 PM, <Mads(dot)Tandrup(at)schneider-electric(dot)com>
wrote:
Hi
Thanks for your reply. Do you know of any options that I could give
pg_dump/psql to avoid creating one big transaction? I'm using the
plain text format for pg_dump.
For the plain text format, it is already not one big transaction, unless
you specify to -1 to the psql. However, the load of any individual table
will still be a single transaction, so for a very large table it will still
be a very long transaction.
Using pg_dump for --inserts could get around this, but it would probably be
better to fix the fundamental problem by increasing wal_keep_segments or
something of that nature.
Cheers,
Jeff
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________
From | Date | Subject | |
---|---|---|---|
Next Message | Beena Emerson | 2013-06-07 11:53:18 | excute function before DROP EXTENSION |
Previous Message | François Beausoleil | 2013-06-07 11:03:32 | Re: User postgres unable to revoke privileges? |