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 1i0LrK-0001x8-Kl for pgsql-general@arkaria.postgresql.org; Wed, 21 Aug 2019 08:20:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i0LrJ-0006kS-6W for pgsql-general@arkaria.postgresql.org; Wed, 21 Aug 2019 08:20:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i0LrI-0006kL-Pq for pgsql-general@lists.postgresql.org; Wed, 21 Aug 2019 08:20:44 +0000 Received: from mail-eopbgr1390132.outbound.protection.outlook.com ([40.107.139.132] helo=IND01-BO1-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i0LrF-00072H-GO for pgsql-general@lists.postgresql.org; Wed, 21 Aug 2019 08:20:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Uea3RZXq2CIaUtIxXBKFXEz2dgXjd5wAQdC/eYG2jp5+H2bKH5yixEX17xZOaQSAC1T2VUTrCpF2GeklRr3lC+qc9tEUbPMRAKV4FXYTZcu5xoeA0yhp1ebpRT8zwwAkCtfkrtFUZmv9ipK+KSwcXdlZo09RkEimGzTYqzpKS3PKPee++Wfhp5zz+LasanX7DPm9W5mxVKyTVM62GqmBfga1bmS9JGJwRJ+CnRd5sm0VYGN+0t/PapI6zkhDbWGviTaAYIVn1Dag7rLyOS2RJZsgFDHj49md3uQeno5+FLAOgazFES0izsFAcUd7yJ1uKR+jr5XIKWxyBbXhVyCwxg== 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=B3mMLRvavIO5CLxLOtbt8YxlMliqgS4XoAM1PoChLJU=; b=mwdRW4Nlj5SLxY+0ePzQxDP4XpBzOKvn3k3OInpp8OMx6dWS+k5Itrq2L2oDNo5XPCpa26zTRk9Nl53b/0uDU2SaE2EBNurc93rWeGNLP/wjF2sEBKAVG+D94Ifnzmb3cdGiq3P2EtUe4vywt5sE4/II2gnRonEJmu77iXeE+A2g4jUZYn6lurAXfNuh139bwCZesv5bRV4gWEi6dDhuAhqNTKY6452gFO69tAVPjMjL5XU5HOG0ZTP0omPY6gu1TxqKY4McAuGXTIFMdzOmORKwJi1e66EzqnvmO5G3/Li8DiUOe9f5EUnNlRaSw/uXvvyQ9WC6l4gdrhwQh1b6BQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 203.143.187.86) smtp.rcpttodomain=lists.postgresql.org smtp.mailfrom=techmahindra.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=techmahindra.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=techmahindra.onmicrosoft.com; s=selector2-techmahindra-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B3mMLRvavIO5CLxLOtbt8YxlMliqgS4XoAM1PoChLJU=; b=M53xyto4uOoduwDpo5cA91D0XG4rMIGT6JnIrCEHiS9gW8ajaqTagt/ISVDa762hOAr0Lye1JNs3sj2Si0DxLaDv0dydtxXNG6RZ5pDSyycwFuotoOGOzGai1UJpBXyLXBXn0PGD1E/klESfPQc63RwgZKrHLmHPHg/dZc1pshM= Received: from BM1PR01CA0086.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::26) by MAXPR01MB3840.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:66::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.18; Wed, 21 Aug 2019 08:18:31 +0000 Received: from BO1IND01FT008.eop-IND01.prod.protection.outlook.com (2a01:111:f400:7ea5::206) by BM1PR01CA0086.outlook.office365.com (2603:1096:b00:1::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2178.16 via Frontend Transport; Wed, 21 Aug 2019 08:18:30 +0000 Authentication-Results: spf=pass (sender IP is 203.143.187.86) smtp.mailfrom=TechMahindra.com; lists.postgresql.org; dkim=none (message not signed) header.d=none;lists.postgresql.org; dmarc=pass action=none header.from=TechMahindra.com; Received-SPF: Pass (protection.outlook.com: domain of TechMahindra.com designates 203.143.187.86 as permitted sender) receiver=protection.outlook.com; client-ip=203.143.187.86; helo=MyEmail.TechMahindra.com; Received: from MyEmail.TechMahindra.com (203.143.187.86) by BO1IND01FT008.mail.protection.outlook.com (10.152.202.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2178.16 via Frontend Transport; Wed, 21 Aug 2019 08:18:28 +0000 Received: from UKEXCHMBX001.TechMahindra.com (10.6.16.20) by PUNEXCHMBX002.TechMahindra.com (10.10.169.2) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 21 Aug 2019 13:48:26 +0530 Received: from UKEXCHMBX003.TechMahindra.com (10.6.16.29) by UKEXCHMBX001.TechMahindra.com (10.6.16.20) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 21 Aug 2019 09:18:25 +0100 Received: from UKEXCHMBX003.TechMahindra.com ([fe80::78f3:87c1:c766:fb74]) by UKEXCHMBX003.TechMahindra.com ([fe80::78f3:87c1:c766:fb74%20]) with mapi id 15.00.1395.000; Wed, 21 Aug 2019 09:18:24 +0100 From: Karl Martin Skoldebrand To: "Peter J. Holzer" , "pgsql-general@lists.postgresql.org" Subject: SV: Databases and servers Thread-Topic: Databases and servers Thread-Index: AQHVV0GsNytupAGTtUuCUHrBJYNOGacEdLiAgADOGko= Date: Wed, 21 Aug 2019 08:18:23 +0000 Message-ID: <1566375661635.30946@TechMahindra.com> References: <1566297353973.84310@TechMahindra.com>,<20190820205821.GA20575@hjp.at> In-Reply-To: <20190820205821.GA20575@hjp.at> Accept-Language: sv-SE, en-GB, en-US Content-Language: sv-SE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.6.248.54] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:203.143.187.86;IPV:CAL;SCL:-1;CTRY:IN;EFV:NLI;SFV:NSPM;SFS:(10019020)(4636009)(376002)(396003)(39860400002)(136003)(346002)(2980300002)(189003)(199004)(76176011)(106002)(53936002)(7696005)(356004)(316002)(110136005)(426003)(11346002)(486006)(126002)(476003)(8746002)(2616005)(8936002)(14444005)(81166006)(81156014)(336012)(19273905006)(86362001)(6116002)(2906002)(117636001)(8676002)(446003)(3846002)(186003)(26005)(2501003)(47776003)(102836004)(53546011)(26826003)(70206006)(70586007)(66574012)(97876018)(19625735003)(76130400001)(966005)(7736002)(14454004)(305945005)(6306002)(5660300002)(36756003)(50466002)(7116003)(478600001)(53416004)(23756003)(85282002)(562404015)(130980200001)(563064011);DIR:OUT;SFP:1102;SCL:1;SRVR:MAXPR01MB3840;H:MyEmail.TechMahindra.com;FPR:;SPF:Pass;LANG:en;PTR:InfoDomainNonexistent;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ff9b1733-0a51-4a3a-c94e-08d726102555 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(4709080)(1401327)(2017052603328)(7193020);SRVR:MAXPR01MB3840; X-MS-TrafficTypeDiagnostic: MAXPR01MB3840: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-Forefront-PRVS: 0136C1DDA4 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: QOvDg9fzGCowmBv32e+OQCRYjY6jL+3Enjxf/4dUFNSnRGSq6eVr9e51tlMJmK0aiB9tESwitWkVC93rgL2EOTSwhTzJLmjMIxeEYzLDSeluZw5g4w4K3CSemY+DHwyysNiJoGkqkdBUiC8BK2HItcygdRD10jCv90t/Bc9ZoocCghjpB7JA1F/8CfVbwJMcz+wgkn1yANABaWLHmmyLMqIIpQ8nb+/DspsqlwwVgB6sg11XlVUIsS8ytmuz0Dgh0Vp0XDz1oYOUQDwB06c6Yu/t+yspLhJBjndddyLzucalUmUZsM6Lx02FdnyHn/9DCEub9fr8CMDE9SBNOKfb/5xxKKX6k/RBLlAeWs4r8aCrJQebghnlaKbBP0nGpvJLjW2Fk0m1yT3aOwvrrkxSI9hfgLEFBnDZTS8ytdwYZHU= X-OriginatorOrg: techmahindra.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2019 08:18:28.1754 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ff9b1733-0a51-4a3a-c94e-08d726102555 X-MS-Exchange-CrossTenant-Id: edf442f5-b994-4c86-a131-b42b03a16c95 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=edf442f5-b994-4c86-a131-b42b03a16c95;Ip=[203.143.187.86];Helo=[MyEmail.TechMahindra.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MAXPR01MB3840 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ________________________________________ Fr=E5n: Peter J. Holzer Skickat: den 20 augusti 2019 22:58 Till: pgsql-general@lists.postgresql.org =C4mne: Re: Databases and servers On 2019-08-20 10:33:17 +0000, Karl Martin Skoldebrand wrote: > I just discovered that a client has done this: > > They have two web applications A1 and A2. They have seperate hostnames/UR= Ls. > Both have a production and a test database A1p and A1t/ A2p and A2t. > > What they've done is have both A1p and A2p on the same actual databaser s= erver > and A1t and A2t on the same server. > > So, I'm thinking - if a bug in application A1 crashes the application and > database badly it will risk bringing down both services A1 and A2. The sa= me > risk would be evident on a successful security breach. > > I would prefer to A1p and A2p on seperate servers, maybe keeping A1t and = A2t on > the same. (This is what seems to be happening when the database servers a= re > being repladed). On rereading this I notice that I'm not sure what that means. If you propose replacing the two servers with three (two production, one test) or even four (two production and two test), I agree. =3D=3D=3D I was proposing replacing the two servers with three (or four). Running pro= duction on two seperate servers and possibly the tests on one (or possibly = two servers). /M. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Di= sclaimer: This message and the information contained herein is proprietary = and confidential and subject to the Tech Mahindra policy statement, you may= review the policy at http://www.techmahindra.com/Disclaimer.html externall= y http://tim.techmahindra.com/tim/disclaimer.html internally within TechMah= indra. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D