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 1fT8uL-0008Gq-UQ for pgsql-general@arkaria.postgresql.org; Wed, 13 Jun 2018 16:46:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fT8uK-0001aj-Gf for pgsql-general@arkaria.postgresql.org; Wed, 13 Jun 2018 16:46:04 +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 1fT8uI-0001aY-Fi for pgsql-general@lists.postgresql.org; Wed, 13 Jun 2018 16:46:04 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fT8uE-0006vR-PJ for pgsql-general@postgresql.org; Wed, 13 Jun 2018 16:46:01 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 72F9F21DB5; Wed, 13 Jun 2018 12:45:57 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 13 Jun 2018 12:45:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=qBG9xfN01A9V5ixPuCZwn2GVY3DcD O3/B5bOY+iGORg=; b=BCv67G18gTOae/WFzaBGpwZ+Ju+AVKBFazqFg4GXgQJ3s /nrv80MAQJGUwR92hkS9njSBl+41y7BGk8/bL4zsQ/DzRDLELfzXYot8YVdqQHYp Douh+rH1X4CAGuc6mhLqCAU1sKKnz+spKZbbBr9d/qrN6iRvjQjIfe2A/k+S3a4g SovS5S336DQEd6iXE67McSz2HgQRLd1czMcbTsBDHFv7CEmM3B7iJpccLI3rzpaK g/w1skeuoX3GtSaWwgHcVRXec9AbjTHm2zX9ZfftQJ3pMf4CZFRX3eFHpXRiGQ84 q2OZ7RcQHAkD0YDirL065vENN1QIGTPdqwzCHhdCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=qBG9xf N01A9V5ixPuCZwn2GVY3DcDO3/B5bOY+iGORg=; b=nDfJKwAcwUaquYlsOBsNG5 AR4ivTmS7I47TkRb+AguV0Mz0vsH11Y/Gki9hBgpiGRHVKYPLm2/qOA7SQtLq00h l+VhZMdm7e/LCXD2CNbKuqfUiqSwl9fFxPuXPXyS6GZttdzUKeJyyBK+KfCQ5AYc ZPpcK5YXpDHgOWkLuMZolmZfHYbOvpBKYjjcl4hfnxmV1NXSa6Oq6rN4Jy8aLwtJ TCSbEdOX1DGwg+ZBO1q76lZHlPUZlX84X02VzDFS1vXfs8FZD07BgWc8NYeANYMo k6H4VaNPBJDXIf9vV9J/e9qDk23/LiSXPim2oOK5/gSKEnW1S5vg71RvTtqvdonQ == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from ranger.suse (unknown [74.94.73.222]) by mail.messagingengine.com (Postfix) with ESMTPA id B077A1026A; Wed, 13 Jun 2018 12:45:56 -0400 (EDT) Subject: Re: Issues on 9.5 to 9.6 Upgrade. To: bend@linux4ms.net, Postgres General References: <20180613094412.2b8d81ae03f6297615f26284cd7372ff.e2bc0faad8.wbe@email18.godaddy.com> From: Adrian Klaver Message-ID: Date: Wed, 13 Jun 2018 09:45:55 -0700 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: <20180613094412.2b8d81ae03f6297615f26284cd7372ff.e2bc0faad8.wbe@email18.godaddy.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 06/13/2018 09:44 AM, bend@linux4ms.net wrote: > Analyze the DB exactly how? https://www.postgresql.org/docs/10/static/sql-analyze.html > > I did run a reindexdb after migration to no affect. > > Yeah the PLANS are a big difference .... > > Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS, > 39212 > "Never attribute to malice, that which can be adequately explained by > stupidity" > - Hanlon's Razor > > > -------- Original Message -------- > Subject: Re: Issues on 9.5 to 9.6 Upgrade. > From: Don Seiler > > Date: Wed, June 13, 2018 11:24 am > To: bend@linux4ms.net > Cc: Postgres General > > > On Wed, Jun 13, 2018 at 11:16 AM, > wrote: > > > Can anyoen explain WHY there is such a big difference? Is it the > SQL statement or a bug in the pgdump ? > > > Did you analyze the database after upgrading? Or at least the tables > in question? Those are very different plans. > > -- > Don Seiler > www.seiler.us > -- Adrian Klaver adrian.klaver@aklaver.com