Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ipYer-0004qW-BS for pgsql-admin@arkaria.postgresql.org; Thu, 09 Jan 2020 14:19:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ipYeq-0005Kb-6J for pgsql-admin@arkaria.postgresql.org; Thu, 09 Jan 2020 14:19:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ipYep-0005KU-SH for pgsql-admin@lists.postgresql.org; Thu, 09 Jan 2020 14:19:31 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ipYem-0001J9-Fw for pgsql-admin@postgresql.org; Thu, 09 Jan 2020 14:19:31 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 0F99A1A0C516D for ; Thu, 9 Jan 2020 07:19:26 -0700 (MST) Date: Thu, 9 Jan 2020 07:19:26 -0700 (MST) From: bvo To: pgsql-admin@postgresql.org Message-ID: <1578579566061-0.post@n3.nabble.com> Subject: misbehavior slave MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I run a master and standby setup with Postgresql 11.2 The systems are identical from a hardware and software setup. Testing created new database and user including put a few records in the table. I can read from both master and slave. Until I found out all the work on primary couldn't read on slave and according to the PG Log that the slave lost connection from primary and tried to restore and rebuilt it yesterday. After the slave is backup online, I can see the role/testing table (on postgres database), new database (pscidr) and its tables/view. Continuing to create the triggers/procedures/partitioned tables and mocking data, after that I can see all in primary but didn't see the rest of objects from slave. Is the slave supposed to copied all from the primary for that occur? How can make it replicate from primary? When is an appropriate time to replicate over? And are there any other things I need to check and configure it? v/r, -- -- Sent from: https://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html