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 1j5YWo-0005Wf-83 for pgsql-general@arkaria.postgresql.org; Sat, 22 Feb 2020 17:25:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j5YWm-00041j-To for pgsql-general@arkaria.postgresql.org; Sat, 22 Feb 2020 17:25:20 +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 1j5YWm-00041c-3H for pgsql-general@lists.postgresql.org; Sat, 22 Feb 2020 17:25:20 +0000 Received: from mail-dm6nam11olkn2033.outbound.protection.outlook.com ([40.92.19.33] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j5YWe-0004x5-A3 for pgsql-general@postgresql.org; Sat, 22 Feb 2020 17:25:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D5pNZawdANLZcOF1TnoVAo+AmE/CPNzfycB2YnvSY4M9VPpu/UfEdVnCuW2Sd8ns41mZf1KfRK/m6aIMA00XgyqUe7hjlUhO0jSzEOLlCLrJOdM8t8Kh/Khjh9EwOe/0cCIeq1aAIR39VH13DsPeQ2rYAs24Dc1C1w4WSI+ODcn2jJEyhWBiPWZtieXifYnCWP1/2CwHTWpCX6uH5tM76FgL7b5/Q66O/wqi1lQ+Ht9Z+kFlBhvK/71cnmnRF1zWXeN+FNoKz5PQC+VB2sNz5DnL2mvtDa2Pb27vziam4BGs8qm6ispnIk/2vjX8QBgGLDBenuNhaJXkaFalDDiE8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zfxEtwqN4h0f9LEYsIXWrRvy2BRq1X2B+yzPu5VmfOM=; b=CpMtYaF9f6UnAooXZNaosnII3yLHQeizag9xdnGJyg0qz/UEjhaE52rrLZhDR/eJFPF5fMfB8dig3rV+FdP48eCkNgn3MsXObREsxZmncVcuktooNn4U0FYrMTQ9ezSJdHgmC5KsXatoLuPIre+Iq3LKw+El0aW5sRboxwDTnlbg/Mer6czEOcbB5Rlf/7oJG25EcpuOlfhyhm/Fsc0pt/rYiEQN51XhUGT4oTe+knFMOgwfdbHsn7d/6HifC51e3d18RkK/CRxqL2sUmHB75ayUDOMPyhryDceTqLmOptRfvvadzmztxt1NF39lkcsK4rx78fFhWH28YeXTcA91Rg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zfxEtwqN4h0f9LEYsIXWrRvy2BRq1X2B+yzPu5VmfOM=; b=JmpP9IYoNjUyPLBh+I0FqDpxxFYzfgBqeWtSZPuYiAUSSXZ63r0O4LsIlJy1r/mCV1nh4KxupKR7RCJEoWYZvbtR0JgUS9v2diH08ne/+X4lm9Xcv26mZDWqRG39lSlMXPox8GbxhSee0JpelDwoY4XQwYezVLeHt+F1LuPJHzDiYtWIlsxqGayKhW7QYAdvCwEvZLhMIEeDJdzyry8s1i9BvQXWe1lPhlQgnOEIvAJHfiUGbaTOw5jhG31o0nlP8w49amhtzR8uekpIpkTg2MH+8NRgJIfyQaiDR67AndJjCyAolw6iNjTK5NwqhijakB4cY1MI2e0rLbCA2Mf0rA== Received: from DM6NAM11FT068.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4d::36) by DM6NAM11HT020.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4d::101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.19; Sat, 22 Feb 2020 17:25:08 +0000 Received: from MN2PR01MB5327.prod.exchangelabs.com (2a01:111:e400:fc4d::38) by DM6NAM11FT068.mail.protection.outlook.com (2a01:111:e400:fc4d::323) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.19 via Frontend Transport; Sat, 22 Feb 2020 17:25:08 +0000 Received: from MN2PR01MB5327.prod.exchangelabs.com ([fe80::651e:5e33:5b2a:adee]) by MN2PR01MB5327.prod.exchangelabs.com ([fe80::651e:5e33:5b2a:adee%7]) with mapi id 15.20.2750.021; Sat, 22 Feb 2020 17:25:08 +0000 From: Edson Richter To: pgsql-general Subject: Replication: slave server has 3x size of production server? Thread-Topic: Replication: slave server has 3x size of production server? Thread-Index: AQHV6aRUnElZAlVhK0CJQqY7zlebKw== Date: Sat, 22 Feb 2020 17:25:08 +0000 Message-ID: Accept-Language: pt-BR, en-US Content-Language: pt-BR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:F41B70E8F55709AEBA8776F204D0347E59BBFA901DFCC5185BA63ED647E9EBEB;UpperCasedChecksum:43C16FF144670FB630A09796DB941C6EF9B8E78E368B154E950646994995DA86;SizeAsReceived:6713;Count:42 x-tmn: [M6gf2XKc17YWUIwYrkgC7CfeLIiw9nzR] x-ms-publictraffictype: Email x-incomingheadercount: 42 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 8647ea78-db0f-4ceb-6338-08d7b7bc2a4d x-ms-traffictypediagnostic: DM6NAM11HT020: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9kHbx2lZilER1NZJgsXTR8jwjZ4X5y0RYHDvooBnmm1WQ9ZX9xmX+3lYOoKaHXMZ4y349Bwl5xwBMKYr9bNuFgvfUo6FiHE2hakftW+2wipG15j3R0rlNVmUAYcbICOb4mX+YclZjQv6V9cPrji7roHofHTR1q1tmqIwxJud1t6etQ/CoJFnrWvueW2etopm x-ms-exchange-antispam-messagedata: bygx4fF4tuPnHm2u/jYW84ZgNgUGF3kEMD2QTfQJoPGAkUDltHGe4b8juWFr8+YI8ej/8gyABjqIiCvxTkro+BFt2FFygI9b6vAPzfvfcmoak2sZN5iMepWtcmnFl3Nn9FZECfYNPOVm4homeQlvjw== x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_MN2PR01MB53275B5A45E7D752514934CECFEE0MN2PR01MB5327prod_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 8647ea78-db0f-4ceb-6338-08d7b7bc2a4d X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Feb 2020 17:25:08.6264 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6NAM11HT020 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_MN2PR01MB53275B5A45E7D752514934CECFEE0MN2PR01MB5327prod_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I've a database cluster created at 9.6.10 linux x64 server rhel. I made pro= gressive upgrades, first upgrading slave and then upgrading master. Actually both are running 9.6.17. Current production server has 196Gb in size. Nevertheless, the replicated (slave) server has 598 Gb in size. Replication server has 3x size of production server, is that normal? Shall I drop the slave server and re-create it? How to avoid this situation= in future? Thanks, Edson --_000_MN2PR01MB53275B5A45E7D752514934CECFEE0MN2PR01MB5327prod_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!

I've a database cluster created at 9.6.10 linux x64 server rhel. I made pro= gressive upgrades, first upgrading slave and then upgrading master.
Actually both are running 9.6.17.
Current production server has 196Gb in size.
Nevertheless, the replicated (slave) server has 598 Gb in size.
Replication server has 3x size of production server, is that normal?

Shall I drop the slave server and re-create it? How to avoid this situation= in future?

Thanks,

Edson


--_000_MN2PR01MB53275B5A45E7D752514934CECFEE0MN2PR01MB5327prod_--