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 1iCTDH-0001hm-MW for pgsql-performance@arkaria.postgresql.org; Mon, 23 Sep 2019 18:37:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iCTDF-000298-F9 for pgsql-performance@arkaria.postgresql.org; Mon, 23 Sep 2019 18:37:29 +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 1iCTDF-00028v-3c for pgsql-performance@lists.postgresql.org; Mon, 23 Sep 2019 18:37:29 +0000 Received: from mail4975.hm1479.locaweb.com.br ([201.76.49.75]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1iCTDA-0004va-93 for pgsql-performance@lists.postgresql.org; Mon, 23 Sep 2019 18:37:26 +0000 Received: from mcbain0017.correio.biz (201.76.49.40) by mail4970.hm1479.locaweb.com.br id hh48co16a4ct for ; Mon, 23 Sep 2019 15:36:55 -0300 (envelope-from ) Received: from proxy.email-ssl.com.br (bartf0023.email.locaweb.com.br [10.31.120.55]) by mcbain0017.correio.biz (Postfix) with ESMTP id BB1577C02EE for ; Mon, 23 Sep 2019 15:37:23 -0300 (-03) x-locaweb-id: qyHzKK_R8aWhjwoIerpCUhsi5PfCUymhK53qXIAegdcRogeYX3-XTadcSpgGGxitWQf3rKGbFuqvLmn5XdJ_XeDnSC7FYZn7HbLXpGF-9IgCFmgQGgrxCDEo15F9LB44fPoAjrcVmMN4cmbz6325IWuv-iw5ElBO_6hWmbmosqMDT9na-T2jhTYsB9VDE9XyGdnUEJLlqLt9v_20RdNLBNFKM-wOUUDLDvOuiqI9U5Q= NmM3NTY5NzM3MjZmNjI2NTcyNzQ2ZjQwNzM2OTczNjM2ZjYyNzI2MTJlNjM2ZjZkMmU2Mjcy X-LocaWeb-COR: locaweb_2009_x-mail X-AuthUser: luisroberto@siscobra.com.br Received: from [192.168.0.42] (unknown [189.45.198.123]) (Authenticated sender: luisroberto@siscobra.com.br) by proxy.email-ssl.com.br (Postfix) with ESMTPSA id 293A99A00CE for ; Mon, 23 Sep 2019 15:37:17 -0300 (-03) To: "pgsql-performance@lists.postgresql.org" From: =?UTF-8?Q?Lu=c3=ads_Roberto_Weck?= Subject: Slow query on V12. Message-ID: Date: Mon, 23 Sep 2019 15:42:05 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------D94964D013FCAD2DC5A42A3E" Content-Language: pt-BR List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------D94964D013FCAD2DC5A42A3E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi! Recently I've been looking for bloat in my databases and found a query to show which tables are more bloated and by how much. This is the explain plan on v12.3: https://explain.depesz.com/s/8dW8C And this is with v11: https://explain.depesz.com/s/diXY Both databases have approx. the same size and have the same schema, but on v12 I the query takes much longer to run. **** --------------D94964D013FCAD2DC5A42A3E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hi!

Recently I've been looking for bloat in my databases and found a query to show which tables are more bloated and by how much.

This is the explain plan on v12.3: https://explain.depesz.com/s/8dW8C
And this is with v11: https://explain.depesz.com/s/diXY

Both databases have approx. the same size and have the same schema, but on v12 I the query takes much longer to run.


--------------D94964D013FCAD2DC5A42A3E--