Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fRjEv-0000uM-2U for pgsql-general@arkaria.postgresql.org; Sat, 09 Jun 2018 19:09:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fRjEt-00040a-4J for pgsql-general@arkaria.postgresql.org; Sat, 09 Jun 2018 19:09:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fRjEs-00040R-Jg for pgsql-general@lists.postgresql.org; Sat, 09 Jun 2018 19:09:26 +0000 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fRjEp-000295-Tv for pgsql-general@lists.postgresql.org; Sat, 09 Jun 2018 19:09:25 +0000 Received: by mail-lf0-x243.google.com with SMTP id v135-v6so24809830lfa.9 for ; Sat, 09 Jun 2018 12:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=LKTQ3pjyaS+Hh/3sWtsiFp1sJUhUwj8uN7JsIEHflIo=; b=BpaY1edREZUfbFoA0ykRX3SrnENK4nbXjoFXL+K34Lqe4J0CKOmHvhX8A3l7D9UO0V 9OV9JMVobw3Ktlm9DolqajdaxcIRIwjzLsgSNI70B1Bu3rkzlnhyCvlXcW91KsPL9LwH R8BRZTnEzonDshHSRHIELJ1/GOX7w6kqI9taaFBb7TVlCy879vIUqgHHRGno6kt/v6db DyDfk4lhf1yQN1rnQXOh6IIxs79Z9AImXj7OPNtu0iqkEJCeRqMo8aOWPhEYMWJfNRke mBfbJ3QvukBweb10qxSzOT+odDB0TJdK6muzjb42RMLziQWMIue0hnT1bvxSwknz9qWt mvSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=LKTQ3pjyaS+Hh/3sWtsiFp1sJUhUwj8uN7JsIEHflIo=; b=k6kHOJ5vhU/hDbO121EPas+jGxFA8ZDCYqxqJhHhX2i/PSZ8HngqCBmfqjafiPo1wv YH+A9tUqp2fgOkzF33sgnP8oHyWVi+G+Sg38RveJxopWBHy+UP1zswssXuRfZzsyGTny E+VPh8ae7C0OROqV+kln0/jIvWaVhvgwUlXdNEDXVui2lc6pFW2x9cryc2P/drSG7mp6 Lvu051AEG3wv15xHfL04jpynNfPCoqX8TrYTWVoDt6ng62FYf8RRKmxuOnH679V7zTLh M3ViPxCfPkdViZKSlQVAA9ObmAN9oC8kjZJhXBEq5l5g7EsbHCenTRBP+gvXxTitLA+i 32hg== X-Gm-Message-State: APt69E3TE77SahiobAX9usdQRztmk/UY9JDuIXy4eZna1S+f+KpGFXWg niy4w4K7s4rJ5/x/rxXVFy7tIkBB X-Google-Smtp-Source: ADUXVKIbua6gn6CmNQEGmmhmD2wzmPwzlg1tN/bHL3uLLFwaiWvYMOuayI1Bn4tFCtZUfUUzJITbaA== X-Received: by 2002:a2e:2161:: with SMTP id h94-v6mr8055404ljh.58.1528571360561; Sat, 09 Jun 2018 12:09:20 -0700 (PDT) Received: from [10.3.1.85] ([185.62.200.137]) by smtp.gmail.com with ESMTPSA id o25-v6sm4356502lfg.41.2018.06.09.12.09.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Jun 2018 12:09:19 -0700 (PDT) Subject: Re: Slow planning time for simple query From: Maksim Milyutin To: pgsql-general@lists.postgresql.org References: <36adf760-680b-7a4a-e019-64f4eaaf6ff7@gmail.com> Message-ID: <6206e1a2-02b6-1b42-e415-ce635a3f2caf@gmail.com> Date: Sat, 9 Jun 2018 22:06:04 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <36adf760-680b-7a4a-e019-64f4eaaf6ff7@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 09.06.2018 21:49, Maksim Milyutin wrote: > On hot standby I faced with the similar problem. Sorry, the problem in question is described here https://www.postgresql.org/message-id/22136.1528312205%40sss.pgh.pa.us -- Regards, Maksim Milyutin