From: Vijaykumar Jain <vjain@opentable.com>
To: pgsql-general@postgresql.org >> PG-General Mailing List <pgsql-general@postgresql.org>
Subject: wal_level logical for streaming replication
Date: Wed, 28 Aug 2019 21:44:24 +0530
Message-ID: <CAE7uO5j6sMck0c-a-4DzLriY-q-fo_ASXUanDgnOUdBZn92O2w@mail.gmail.com> (raw)
Hello Team,
wal_level = logical
wal_level = replica
As per docs,
wal_level determines how much information is written to the WAL. The
default value is replica, which writes enough data to support WAL archiving
and replication, including running read-only queries on a standby server.
minimal removes all logging except the information required to recover from
a crash or immediate shutdown. Finally, logical adds information necessary
to support logical decoding. Each level includes the information logged at
all lower levels. This parameter can only be set at server start.
I have had a combination where I had to upgrade a server using logical
replication and when it was done I had replicas serving read queries of the
server with wal level logical.
All fine.
I have two dumb queries .
If I change wal_level back to replica, will it corrupt wal? coz it will
then be having diff information ( r format of data ?)
What is the base reason as to why ddls are not sent via logical replication
but the hot standby has ddl changes reflected absolutely fine ?
and there is one large limitation on large object support for logical
replication?
Where can I see the limitation on size or is it just certain data types ?
I used this to generate dummy data of in a table of all data types it only
1000 rows and it replicated fine.
I could easily stress more on this, but I did not want to do discovery and
spread rumours without known references.
Appreciate your help as always.
Thanks,
Vijay
--
Regards,
Vijay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: vjain@opentable.com
Subject: Re: wal_level logical for streaming replication
In-Reply-To: <CAE7uO5j6sMck0c-a-4DzLriY-q-fo_ASXUanDgnOUdBZn92O2w@mail.gmail.com>
References: <CAE7uO5j6sMck0c-a-4DzLriY-q-fo_ASXUanDgnOUdBZn92O2w@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox