Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gRodN-0008PR-Hx for pgsql-performance@arkaria.postgresql.org; Wed, 28 Nov 2018 01:27:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gRodL-0006UQ-Ux for pgsql-performance@arkaria.postgresql.org; Wed, 28 Nov 2018 01:27:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gRodL-0006Tx-Jv for pgsql-performance@lists.postgresql.org; Wed, 28 Nov 2018 01:27:19 +0000 Received: from mail-it1-x129.google.com ([2607:f8b0:4864:20::129]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gRodI-0005Op-TU for pgsql-performance@lists.postgresql.org; Wed, 28 Nov 2018 01:27:18 +0000 Received: by mail-it1-x129.google.com with SMTP id p197so1781097itp.0 for ; Tue, 27 Nov 2018 17:27:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3I3HaJFS7Zk84rvc+idk8QwvbR/XSm17B5upDv7oDfM=; b=Hxx2bOQOPfC78K0DlFRWmxvyAc0jay3t0gJC+wRJHwIWU2Y5VG3UOD4qIveHd6dC3y wUKTWXwba0fBy8qvw5hu/JjB2X3c7Un7iAYj8aN+61yZkw+OK9fz2s4XHuyB+4nL0FTa Gr3MOPn6IvRF5p0FSGm7I4JhZqe6FbSzeIH2yYOVV8tz3GW5vmlDLYe5a1kkPzvdi0Z1 +SGcEur/de/uUaLkxlWIgTwM792hhi2H6Tdtczl49T+QzprFnUdrwQ8omNd7xU1td0Ii eacxLhNE89uykWt2K5Cw+4sHI3xFyBG42wFMmzkZDmGPfEfsBqH5TojKVE9CUPQ/tP/2 dAmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3I3HaJFS7Zk84rvc+idk8QwvbR/XSm17B5upDv7oDfM=; b=bL6ZbqO/YPTIZ+q3mnrRWepTerytF6C5teXxyp1vUXEhqZCRo1w8MeJW/UOtzNiveo JhaVYlS25iPn9TDEGydgQ1fhMyi8D9T54ZIKksq0czcVdgXW1AMtqjXKd1EXAHc9TeeZ sfKX4mc1B7KfyPv43KHc7RQj5M2FojLbiJ+DJ5QFi039bGAO8/LE0sAaI5MJI1zl5ZY6 Q9CFuNN+PA6u5BmfH7U2D4SghI8fT1vibr064z5RQENfcl7pUcPR+AQPh0aJK8XvI3hm CQW4dI627fPmPd9D1JlYcdsYFQos1YtwGL40MYjqGhxAEeguSg586efN5lCbVadjXD9+ S5LQ== X-Gm-Message-State: AGRZ1gKcdL01ya84ODejkgtCDOpGR5T1noelGpk5rJCKWjkyHTQvzyqi A0R/xlJz2xNk4SXkSg0xQ06AFQ== X-Google-Smtp-Source: AFSGD/VOEFJWbdVwk4ngiy1kfV1JuomS8Q9OLZoZmjPgA+ByZQDip5PkqAY8NyOFfMhiBkss/MnmaQ== X-Received: by 2002:a02:4f88:: with SMTP id r8mr31448198jad.69.1543368435818; Tue, 27 Nov 2018 17:27:15 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id g3-v6sm439801itg.33.2018.11.27.17.27.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Nov 2018 17:27:14 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id A6BC0802421; Tue, 27 Nov 2018 19:27:13 -0600 (CST) Date: Tue, 27 Nov 2018 19:27:13 -0600 From: Justin Pryzby To: Sanyo Moura Cc: jeff.janes@gmail.com, pgsql-performance@lists.postgresql.org Subject: Re: Query with high planning time at version 11.1 compared versions 10.5 and 11.0 Message-ID: <20181128012713.GF30707@telsasoft.com> References: <20181128004402.GC30707@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181128004402.GC30707@telsasoft.com> User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, Nov 27, 2018 at 06:44:02PM -0600, Justin Pryzby wrote: > On Tue, Nov 27, 2018 at 9:17 AM Sanyo Moura wrote: > >>> I'm running performance tests for my application at version 11.1 and > >>> encountered queries with high planning time compared to the same planning, > >>> running at versions 10.5 and 11.0. > > I was able to reproduce this behavior. I take that back, in part.. My query (with One-Time Filter: false) has high planning time under 11.0, also: | Result (cost=0.00..0.00 rows=0 width=24) | One-Time Filter: false |Time: 48335.098 ms (00:48.335) Justin