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 1hqy34-0001Vk-4M for pgsql-general@arkaria.postgresql.org; Fri, 26 Jul 2019 11:06: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 1hqy31-0003UL-MY for pgsql-general@arkaria.postgresql.org; Fri, 26 Jul 2019 11:06:03 +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 1hqy31-0003JH-3G for pgsql-general@lists.postgresql.org; Fri, 26 Jul 2019 11:06:03 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1hqy2y-0007Hy-2d for pgsql-general@postgresql.org; Fri, 26 Jul 2019 11:06:01 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 88D9F15C9CA1F for ; Fri, 26 Jul 2019 04:05:58 -0700 (MST) Date: Fri, 26 Jul 2019 04:05:58 -0700 (MST) From: PegoraroF10 To: pgsql-general@postgresql.org Message-ID: <1564139158524-0.post@n3.nabble.com> In-Reply-To: References: <1563909633976-0.post@n3.nabble.com> <1563993228524-0.post@n3.nabble.com> <18481dfb-af39-b6a2-7b27-88563cab7134@aklaver.com> <1564092985717-0.post@n3.nabble.com> <47c2bef2-a283-7849-2545-c1cb0dd5140e@aklaver.com> <1564095689955-0.post@n3.nabble.com> Subject: Re: Too slow to create new schema and their tables, functions, triggers. 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 Running that sql: name setting autovacuum on autovacuum_analyze_scale_factor 0.1 autovacuum_analyze_threshold 50 autovacuum_freeze_max_age 200000000 autovacuum_max_workers 3 autovacuum_multixact_freeze_max_age 400000000 autovacuum_naptime 60 autovacuum_vacuum_cost_delay 20 autovacuum_vacuum_cost_limit -1 autovacuum_vacuum_scale_factor 0.2 autovacuum_vacuum_threshold 50 autovacuum_work_mem -1 -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html