From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #14378: when drop schema, standby will do many more than primary, and very slow, it's a bug?
Date: Tue, 18 Oct 2016 11:25:01 -0700
Message-ID: <cd5ed826-2dcf-9bb6-ef5c-3aa8a578e40c@hogranch.com> (raw)
In-Reply-To: <20161018075733.1413.84748@wrigleys.postgresql.org>
References: <20161018075733.1413.84748@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 10/18/2016 12:57 AM, digoal@126.com wrote:
> when i use postgresql 9.6.0 for primary-standby, i drop a schema on primary,
> but it's apply very slow on standby.
>
> the wal send very fast, but apply very slow, i think the syscall more than
> it on primary?
your table has 100 associated sequences, and 100 associated indexes,
along with 100 expression constraints?, and you're creating 500 of
these? thats quite a lot of metadata.
--
john r pierce, recycling bits in santa cruz
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: pierce@hogranch.com
Subject: Re: BUG #14378: when drop schema, standby will do many more than primary, and very slow, it's a bug?
In-Reply-To: <cd5ed826-2dcf-9bb6-ef5c-3aa8a578e40c@hogranch.com>
References: <20161018075733.1413.84748@wrigleys.postgresql.org> <cd5ed826-2dcf-9bb6-ef5c-3aa8a578e40c@hogranch.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