Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ztzdm-0004d2-TE for pgsql-admin@arkaria.postgresql.org; Wed, 04 Nov 2015 15:06:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Ztzdm-0004kZ-9O for pgsql-admin@arkaria.postgresql.org; Wed, 04 Nov 2015 15:06:22 +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) (envelope-from ) id 1Ztzc8-0002qL-Js for pgsql-admin@postgresql.org; Wed, 04 Nov 2015 15:04:40 +0000 Received: from mail4.neteven.com ([5.135.111.119]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Ztzc6-0003eG-1Y for pgsql-admin@postgresql.org; Wed, 04 Nov 2015 15:04:40 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail4.neteven.com (Postfix) with ESMTP id 37ECC1E1180 for ; Wed, 4 Nov 2015 16:04:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail4.neteven.com Received: from mail4.neteven.com ([127.0.0.1]) by localhost (mail4.neteven.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OkiVSWK8osQd for ; Wed, 4 Nov 2015 16:04:35 +0100 (CET) Message-ID: <563A1E83.8010208@neteven.com> Date: Wed, 04 Nov 2015 16:04:35 +0100 From: Thomas SIMON User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: "pgsql-admin@postgresql.org" Subject: Slow queries in hot standby Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Hi there, I have very long queries (exports ; ~2h) that I need to play in my production cluster. I have set up master/slave replication in hot standby. I would like to plan this queries on the sIave, so I'm looking for the best way to execute this (play with max_standby_archive_delay and max_standby_streaming_delay ?) What are the possible side effects with this kind of very long queries on a slave ? Thanks, -- Thomas -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin