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 1gvK8H-0001Ey-Gt for pgsql-general@arkaria.postgresql.org; Sun, 17 Feb 2019 10:57:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gvK8F-0000r2-Uw for pgsql-general@arkaria.postgresql.org; Sun, 17 Feb 2019 10:57:11 +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 1gvK8F-0000qt-K9 for pgsql-general@lists.postgresql.org; Sun, 17 Feb 2019 10:57:11 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvK8D-000625-6u for pgsql-general@lists.postgresql.org; Sun, 17 Feb 2019 10:57:10 +0000 Received: by mail-wr1-x443.google.com with SMTP id r5so1709702wrg.9 for ; Sun, 17 Feb 2019 02:57:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=FvZrmBS5ollT5UJ0j4ATrqwxjbihxI3jH/FfdUdjsz0=; b=Swky+0PwhwE1g1HDBlKaSQRSUrlGlSydfW/97G6karNlWOdBJIhmkHGprVzxC2cOKi z5nOWbWLx7tmAsPbRHgNjtlW8h0P28VbYaQyLGPtmU1MBcEqruAgsoMmD/PVc7XiQZOA 411ZL0eyRSJcptSjBagIOjbuTtPveKVg58gFjE9RU4cmoLl35kifKINCuhxLAK9lCISS t8nNVKj98n1dEEcGTritVHZL6lOXGb1M4LYd3N6LvfKvPNgR3W6vA6Ic84SL20oTQSLu nV9jDTEZ4YLiTxVhmp4PXex+GuYEcyK7UgQ/iZrI8yf07rz29IvclfrnAqevOyXd5iTw aCZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FvZrmBS5ollT5UJ0j4ATrqwxjbihxI3jH/FfdUdjsz0=; b=mFw8RLjUQc0DxiYly0IsxLGRFnMBY5tX+G1SVclEt39aLxqTz8dLlLk4RNhgQgA29p hA5S1W1zHwodFB64tm9FhGO4M+zXBagS6r6U+YOTVm7QW5fUBVlX1g0VRQOPfedoeMDB 2g7ByH/OOSKQYQZNqfGfDcrfNvLvwe8A2Q3S3RLWmAbNa/WQ3ks4BMUZsbvFTQZXfShO 6B+kQe0Ep/VCkvxibrsaxJfwE9bJUexE1g++JedPvbk28CH+yBedjP5wE7LRRkV2IpvL 4P+UPGxQ0OIKw9OVVf4TvDCij1I4JklqJgdIfrtmvrOp0Zry+hBpYjQAXtOZCu/+i07i 0YxA== X-Gm-Message-State: AHQUAuYoot6eUy9DgtuLyhHXXF6N55JtE/zajugnkXNmoV984d+sB0OS uu/OSDZP+6nanUfoSPsrhNmbBjQU X-Google-Smtp-Source: AHgI3IaCVxh4z0Pp32I6p/BGTo/xlbSIsu/l0HK+i8a7rN5llvSXl06iwdRwv31Efhis+C/QiEe9BQ== X-Received: by 2002:adf:fc49:: with SMTP id e9mr13844549wrs.2.1550401026829; Sun, 17 Feb 2019 02:57:06 -0800 (PST) Received: from localhost.localdomain (ppp089210000085.access.hol.gr. [89.210.0.85]) by smtp.gmail.com with ESMTPSA id h184sm29138325wmf.0.2019.02.17.02.57.05 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Feb 2019 02:57:05 -0800 (PST) From: auxsvr To: pgsql-general@lists.postgresql.org Subject: Re: FDW, too long to run explain Date: Sun, 17 Feb 2019 12:57:04 +0200 Message-ID: <2645594.rQcIfVvf4p@localhost.localdomain> In-Reply-To: <2255510.6AvA7gdLTz@localhost.localdomain> References: <2255510.6AvA7gdLTz@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Related to this question: Postgresql cursors are in most cases I've tried extremely slow. The cause is as described in my previous answer, in my experience. Is there any plan or way to improve this situation? For example, for FDW one would expect the plan on the remote side to be similar, if not identical, to the one locally, with the exception of the setup cost. -- Regards, Peter