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 1i1IKr-0005Xl-3u for pgsql-general@arkaria.postgresql.org; Fri, 23 Aug 2019 22:47:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i1IKp-0008Mr-Pf for pgsql-general@arkaria.postgresql.org; Fri, 23 Aug 2019 22:47:07 +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 1i1IKp-0008Kb-CS for pgsql-general@lists.postgresql.org; Fri, 23 Aug 2019 22:47:07 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1i1IKm-0004Pt-RX for pgsql-general@postgresql.org; Fri, 23 Aug 2019 22:47:06 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 6AB2A1693F932 for ; Fri, 23 Aug 2019 15:47:04 -0700 (MST) Date: Fri, 23 Aug 2019 15:47:04 -0700 (MST) From: PegoraroF10 To: pgsql-general@postgresql.org Message-ID: <1566600424403-0.post@n3.nabble.com> In-Reply-To: <0eca5ab6-82cf-9768-6f09-0cb9998a1fdf@aklaver.com> References: <1565879436637-0.post@n3.nabble.com> <1565896167022-0.post@n3.nabble.com> <88609b1c-1653-6d4c-c1b4-883e109f5b93@aklaver.com> <1565963536657-0.post@n3.nabble.com> <19659.1565966519@sss.pgh.pa.us> <1565968275886-0.post@n3.nabble.com> <1566596875387-0.post@n3.nabble.com> <0eca5ab6-82cf-9768-6f09-0cb9998a1fdf@aklaver.com> Subject: Re: slow queries on system tables MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This week we added just 5 new customers. Every schema has 100 tables, 300 indices, 400 triggers. I cannot imagine our script doing 75000 updates just for adding those schemas. -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html