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 1hqMbC-0006TH-TK for pgsql-general@arkaria.postgresql.org; Wed, 24 Jul 2019 19:06:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hqMaD-0005XH-LW for pgsql-general@arkaria.postgresql.org; Wed, 24 Jul 2019 19:05:49 +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 1hqMaB-0005V0-QI for pgsql-general@lists.postgresql.org; Wed, 24 Jul 2019 19:05:49 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hqMa8-0002fJ-7L for pgsql-general@postgresql.org; Wed, 24 Jul 2019 19:05:46 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5308421B81; Wed, 24 Jul 2019 15:05:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 24 Jul 2019 15:05:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=k py1+uD3wtaLUFN/EHy2MBoomQIvcNi3XKF/DCvKR+A=; b=JgA/Pog04klX2NYYQ VDSenkOCw1Gjy3Dam0B3Yt/rH95eXp1Xq96oWjsimoG3WItAZlybyksM8MJu2yI4 dG0f5BtV+4KLuYSAK1IdKGHLuatOxMdjW/mBL+c7R/Q+qDTSF7SK0+ISi82BJVkf /Al07JNrY5kNPi3NyQeRXuJ/2hkx7ETPbPWqyV9AGQFZ5YmQNueLvBhOPwjEruiq 4dRiQARllO+cBT1Y1ffOuYaqv0MvAvQcSYzTFe070lRJQA2+H1+J11DlDs4k6Ozq O/YO2Y286yrklmyABqRl/mVlM0OSTLBlEdXnecAiKaUy015h1y53hlcdXGLZBw9M nXGfw== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=kpy1+uD3wtaLUFN/EHy2MBoomQIvcNi3XKF/DCvKR +A=; b=BlJrgfV6A4inesKgc4INBJ+DkYn9c9hPbq7VwXtCDKiIqwtGrGQjQQ5YN jfqkaCCdk+7PlW0BiQmotZdF1Uw9Q2ZrVEWZZR3a3WFKOL1NRwHxbvqncBvKwlP2 QOifBu0fjtvdef7cDkEJKu5wAC6zPHYBkDRrgFRPxOPctgI+PG+i3IPmMwtXUHUt jm8LCInyqJ9GPZxgI/9kTGl2s8cemJbSttYJTk4PEPPqmQZpOUVc6T5B7DYYkgDJ 3fvMRsoCTWeLOe5aN5v72LfPgbTK9dQXDHuxFS4seZ67ByJ1V/xVyPB+H9xpspJ2 F2/53RaO5b0G+mfmATfCYaJuXNGPQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrkedtgdduvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuffhomhgrihhnpehpohhsthhgrhgvsh hqlhdqrghrtghhihhvvgdrohhrghenucfkphepjedurddvuddvrdduhedtrddvtddvnecu rfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvg hrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 708A68005B; Wed, 24 Jul 2019 15:05:42 -0400 (EDT) Subject: Re: Too slow to create new schema and their tables, functions, triggers. To: PegoraroF10 , pgsql-general@postgresql.org References: <1563909633976-0.post@n3.nabble.com> <1563993228524-0.post@n3.nabble.com> From: Adrian Klaver Message-ID: <18481dfb-af39-b6a2-7b27-88563cab7134@aklaver.com> Date: Wed, 24 Jul 2019 12:05:41 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <1563993228524-0.post@n3.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/24/19 11:33 AM, PegoraroF10 wrote: > I did not have vacuumed or reindexed my database for last 30 days and that > was my problem. Autovacuum should be dealing with this. Do you have it throttled in some manner? > It works fine if I do a reindex database before adding that new schema. > Well, I´ll try just reindexing system before adding a new schema to see if > it works. > > > > > > -- > Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html > > > -- Adrian Klaver adrian.klaver@aklaver.com