Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFQwj-0001YL-N4 for pgsql-bugs@arkaria.postgresql.org; Mon, 29 May 2017 20:07:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dFQwj-0007la-2A for pgsql-bugs@arkaria.postgresql.org; Mon, 29 May 2017 20:07:21 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFQwi-0007lJ-LL for pgsql-bugs@postgresql.org; Mon, 29 May 2017 20:07:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFQwf-0005sp-BQ for pgsql-bugs@postgresql.org; Mon, 29 May 2017 20:07:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v4TK79Xh028813; Mon, 29 May 2017 16:07:09 -0400 From: Tom Lane To: Jeff Janes cc: Haribabu Kommi , Vitaliy Gomenyuk , Masahiko Sawada , Bruce Momjian , "pgsql-bugs@postgresql.org" , Aleksandr Saraseka Subject: Re: BUG #14635: Query is executed slower on hot standby slave database then on master database In-reply-to: References: <20170428133818.24368.33533@wrigleys.postgresql.org> <25801.1493820359@sss.pgh.pa.us> <20170512173055.GD6721@momjian.us> Comments: In-reply-to Jeff Janes message dated "Mon, 29 May 2017 12:31:07 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28811.1496088429.1@sss.pgh.pa.us> Date: Mon, 29 May 2017 16:07:09 -0400 Message-ID: <28812.1496088429@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Jeff Janes writes: > But why can't the same mechanisms used on tables work on indexes, which is > to wait out or conflict out any too-old transactions on the standby? Is > there a fundamental reason for that, or just that no one got around to > implementing it? I think it's probably do-able, but not exactly trivial. The existing behavior was an expedient solution when we were first getting hot standby to work at all. Seems like it may be time to go back and improve it. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs