Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XWUBL-0007eD-Vh for pgsql-bugs@arkaria.postgresql.org; Tue, 23 Sep 2014 17:47:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XWUBL-0000aZ-01 for pgsql-bugs@arkaria.postgresql.org; Tue, 23 Sep 2014 17:47:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XWUBI-0000aQ-UB for pgsql-bugs@postgresql.org; Tue, 23 Sep 2014 17:47:17 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XWUBF-0006d4-PI for pgsql-bugs@postgresql.org; Tue, 23 Sep 2014 17:47:15 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XWUBC-0004vg-D4 for pgsql-bugs@postgresql.org; Tue, 23 Sep 2014 10:47:11 -0700 Date: Tue, 23 Sep 2014 10:47:09 -0700 (PDT) From: piuschan To: pgsql-bugs@postgresql.org Message-ID: <1411494429599-5820171.post@n5.nabble.com> In-Reply-To: <1411492718058-5820168.post@n5.nabble.com> References: <1402622597307-5807143.post@n5.nabble.com> <1411492718058-5820168.post@n5.nabble.com> Subject: Re: automatic vacuum on pg_statistic pg_toast area blocks all queries in hot standby MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) 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 Hi, Thanks for your feedback. Someone finally replies to this thread. I am not quite clear of your solution, so I need more info from you. First of all, we do not enable hot_standby_feedback on SLAVE DB. postgres=# show hot_standby_feedback; hot_standby_feedback ---------------------- off (1 row) Secondly, where do you run "select txid_current() into res1" and "select txid_current() into res2" ? Even if you set MASTER vacuum_defer_cleanup_age to certain value, autovacuum still can kick in anytime and may conflict query on the target table. So setting vacuum_defer_cleanup_age to a value can really reduce the chance of such situation? Thanks a lot, Pius -- View this message in context: http://postgresql.1045698.n5.nabble.com/automatic-vacuum-on-pg-statistic-pg-toast-area-blocks-all-queries-in-hot-standby-tp5807143p5820171.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs