pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: Haribabu Kommi <kommi.haribabu@gmail.com>
Cc: Vitaliy Gomenyuk <vgomenyuk@callfire.com>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Cc: Aleksandr Saraseka <asaraseka@callfire.com>
Subject: Re: BUG #14635: Query is executed slower on hot standby slave database then on master database
Date: Mon, 29 May 2017 16:07:09 -0400
Message-ID: <28812.1496088429@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMkU=1yreEo+tMYq-8vjKxKES1+uNT5-9n6G9DfFpDteARUC_Q@mail.gmail.com>
References: <20170428133818.24368.33533@wrigleys.postgresql.org>
	<CAJrrPGcjNZO5UkexVfjF_CCBVrPtoY-iVvEYhP1n97z0ARWLoQ@mail.gmail.com>
	<CAB3vJC=jtteQppCcRqvPW1DhthO3sWQO4GKpr7FYjk2-Y_SL5A@mail.gmail.com>
	<25801.1493820359@sss.pgh.pa.us>
	<CAJrrPGfi6mxwZ5hBE-+9qGf8NC=n6ta1MwXJxvv2o=nqzD3TMA@mail.gmail.com>
	<20170512173055.GD6721@momjian.us>
	<CAJrrPGfxb77YKYpJcL7Op1NMVtqdX+zRFDyFZDmhpX1vHjx1rw@mail.gmail.com>
	<CAD21AoA=gf7KXdzwBP3Q5-kZfUfDTXQ=B8MvXjUthP3b--yjSA@mail.gmail.com>
	<CAB3vJCnPMX2+Eg+TPjA2Tu6ernL_4F6n7s7SOeuQh4QK1R-jXQ@mail.gmail.com>
	<CAMkU=1zoRF8obz=tQcNguQTNPmgZ1T_Uc6-D-E9nPxM6Amf-tw@mail.gmail.com>
	<CAB3vJCkBSR+CJA+TpygwEeMe0PKgF-G4FEVVYiOVJ5mfz5TGow@mail.gmail.com>
	<CAJrrPGeQ-oQdEHUHyB9xYaF0Da5YOPYbsGcH5hN2RaSkmFscfA@mail.gmail.com>
	<CAMkU=1yreEo+tMYq-8vjKxKES1+uNT5-9n6G9DfFpDteARUC_Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Jeff Janes <jeff.janes@gmail.com> 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



view thread (19+ messages)

Message-ID: <28812.1496088429@sss.pgh.pa.us>
Permalink:  ../28812.1496088429@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28812.1496088429@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jeff.janes@gmail.com, kommi.haribabu@gmail.com, vgomenyuk@callfire.com, sawada.mshk@gmail.com, bruce@momjian.us, asaraseka@callfire.com
  Subject: Re: BUG #14635: Query is executed slower on hot standby slave database then on master database
  In-Reply-To: <28812.1496088429@sss.pgh.pa.us>
  References: <20170428133818.24368.33533@wrigleys.postgresql.org> <CAJrrPGcjNZO5UkexVfjF_CCBVrPtoY-iVvEYhP1n97z0ARWLoQ@mail.gmail.com> <CAB3vJC=jtteQppCcRqvPW1DhthO3sWQO4GKpr7FYjk2-Y_SL5A@mail.gmail.com> <25801.1493820359@sss.pgh.pa.us> <CAJrrPGfi6mxwZ5hBE-+9qGf8NC=n6ta1MwXJxvv2o=nqzD3TMA@mail.gmail.com> <20170512173055.GD6721@momjian.us> <CAJrrPGfxb77YKYpJcL7Op1NMVtqdX+zRFDyFZDmhpX1vHjx1rw@mail.gmail.com> <CAD21AoA=gf7KXdzwBP3Q5-kZfUfDTXQ=B8MvXjUthP3b--yjSA@mail.gmail.com> <CAB3vJCnPMX2+Eg+TPjA2Tu6ernL_4F6n7s7SOeuQh4QK1R-jXQ@mail.gmail.com> <CAMkU=1zoRF8obz=tQcNguQTNPmgZ1T_Uc6-D-E9nPxM6Amf-tw@mail.gmail.com> <CAB3vJCkBSR+CJA+TpygwEeMe0PKgF-G4FEVVYiOVJ5mfz5TGow@mail.gmail.com> <CAJrrPGeQ-oQdEHUHyB9xYaF0Da5YOPYbsGcH5hN2RaSkmFscfA@mail.gmail.com> <CAMkU=1yreEo+tMYq-8vjKxKES1+uNT5-9n6G9DfFpDteARUC_Q@mail.gmail.com> <28812.1496088429@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox