Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jgEN4-0001ve-3Y for pgsql-general@arkaria.postgresql.org; Tue, 02 Jun 2020 21:22:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jgEN3-00044t-0A for pgsql-general@arkaria.postgresql.org; Tue, 02 Jun 2020 21:22:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jgEN2-00044l-O1 for pgsql-general@lists.postgresql.org; Tue, 02 Jun 2020 21:22:52 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jgEN0-00045p-JQ for pgsql-general@lists.postgresql.org; Tue, 02 Jun 2020 21:22:51 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id B91EE5F79E; Tue, 2 Jun 2020 17:22:49 -0400 (EDT) Date: Tue, 2 Jun 2020 17:22:49 -0400 From: Stephen Frost To: Adam Brusselback Cc: Ravi Krishna , Ron , pgsql-general Subject: Re: Oracle vs. PostgreSQL - a comment Message-ID: <20200602212249.GD6680@tamriel.snowman.net> References: <20200601095835.GA1996@hjp.at> <974ab21a-013c-8dbc-18f5-575f1e356647@postgrespro.ru> <20200602183038.GY6680@tamriel.snowman.net> <20200602203004.GA6680@tamriel.snowman.net> <3636F2F8-3D41-4377-9B61-905D269657FD@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="G2kvLHdEX2DcGdqq" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --G2kvLHdEX2DcGdqq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Adam Brusselback (adambrusselback@gmail.com) wrote: > > How good will that be in performance. >=20 > In my experience, not great. It's definitely better than not having it at > all, but it does not make for quick queries and caused serious > connection overhead when a query referenced that foreign table. I've since > moved to logical replication to improve the situation there. How much of the issue there has been setup/connection time..? That's something I've wondered about maybe finding a way to improve on. Also depends on if you're using the "run explain first before running the query" approach with the FDW or if you're actually running analyze on the foreign tables. Thanks, Stephen --G2kvLHdEX2DcGdqq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJe1sMpAAoJEO1sijiDR2RVsMAQAJlTuCJsFscZxtnRhYFeJctC KGtziLUhQJ3unS3K7vwGZgjMR8lQ2ZhE0rSRizsxD07WfW1RRn84i8ZdQsCfgLR8 2So90MtMZAy90Jg7SyqP7A5nA2byjwHNIrjVxtXWKVoyW223SwgjVxQNe5mnmdLN Z5ugdR8S+lpPekoMm3xo68aFpn2EFkESIJnqc1RXV4CtYWjcOfTFX81SCI8oKwQC w0NlYzObexN1hTwKLcebOuUlNImmPFkR1pFn0090PXY1aXr3DP16M46Jlxa+CLwH yptHulH03VUIAavojmwaSGCqOEEJ/RUhWbBj3Scklj8s48VBKFwMw95eYoRkkbVp vW2AdUVW2hwxM9fTqrZvOcqNuF4Hme0hbI2BjynsloW6rZWhHV6qSFRyz3DVBbMJ b7fPjj4nKTvfywBBUPwKPmDepq8W5OnsuHTOIVn+g6GgR+GeRYFz5Fh0he6uradf 6DLQlx+EQtlCLVukXLe3n5XsBLdwrcGVx/ojKUPPirupdJ8hHO76QAztXVu9LSxZ 2ecat6gba97ExQy9F/Elnt+CF05h5LjeW6Bi5qNsc0GMbpF0viCmQRqsBGjBTWC8 HIlaxgdH7GCMUezPU3dDzWUnc4wITlnffd54U4Zr5hNmrTET7Dugs3/QFPbBX/vb dBnxppQ2N2AEJ1uFa5LR =5nkk -----END PGP SIGNATURE----- --G2kvLHdEX2DcGdqq--