Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kha2m-0003gM-Gg for pgsql-general@arkaria.postgresql.org; Tue, 24 Nov 2020 15:15:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kha2l-0001bW-Fz for pgsql-general@arkaria.postgresql.org; Tue, 24 Nov 2020 15:15:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kha2k-0001bP-E7 for pgsql-general@lists.postgresql.org; Tue, 24 Nov 2020 15:15:47 +0000 Received: from [64.147.123.19] (helo=wout3-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kha2h-0002Iy-Vk for pgsql-general@postgresql.org; Tue, 24 Nov 2020 15:15:45 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 74707FBE; Tue, 24 Nov 2020 10:15:32 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 24 Nov 2020 10:15:32 -0500 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=fm1; bh=f 8IYQw0yYk4BA6lHMERvwYhPMl3u752Y/9S7n0FLIEg=; b=R4IXnEJGCsjNKaNuI DzjtpMjqITOhflbp0EwvkkdBAe0uH8Mxu2/9Ybo4scPcOiQkLKDus0cvp8RfXqcg 6pENboXSHE397bYJ9bTGO7ehgeU6w6cLoRuElLNPjwyWZIbNtV1FcUFBO4eyftFY ApRNCgo3HKI34SW68eOMfwyd2UEmnMawkQZoAFlBIGXUAudbEDBYPtsQeGbukoj6 UlMo6I9N+Cp+R9zTBudR1LAi4Lhrb36Z/8kOP2aDLaCNUP3TX6zSUr32tUuPrsb3 NLKiZVEJRHvDb2SUVY87P67D5xD6xsYaC1Oa9GEbUjP72n2nI5O1fKtO7OFvYgQf KxJ3w== 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=fm1; bh=f8IYQw0yYk4BA6lHMERvwYhPMl3u752Y/9S7n0FLI Eg=; b=ofkTzPU5oP+jqWLVWNe2Pf571vnl68JqlKw8Jl62K6azGwhVW9MBHRwt7 jSYyEZGhQWVFiOJuuC1utpu6dvAFRESEd8Iu3wNYsqafnC9U7MhVqqUVC50zcFy9 /zDGbijYWE4kGWEwbT9Jp7o22N7KBoC9lMeb3Mm8XcFu9IBNmn2Pdf7TBvWAVzYJ EX/rgEID1S1nf61Zwnz6xdrth4V+pLxNtpkWhZ63CJirGV2uS2U4pMC2yIERFVdI clE3JmyeK1wg42MExUbFONcoy4pYdATCei5zyWq22vuLLgmX+KwzWS+wt63yQxLs bU5/NJG9ykBNSGNqUZ2VojjvL9uXg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegkedgjeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeevveefveefueegffekkefhgeeiueffgfetueejvdfg hfeujeejhfekjeelgedtgeenucfkphepjeehrddujedvrdduledrudefleenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.4] (75-172-19-139.tukw.qwest.net [75.172.19.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 62D333280060; Tue, 24 Nov 2020 10:15:31 -0500 (EST) Subject: Re: Performance hit if I create multiple DBs on same instance To: David Gauthier , Postgres General References: From: Adrian Klaver Message-ID: <798cfe15-c32d-9aa6-9108-ef54f06c5156@aklaver.com> Date: Tue, 24 Nov 2020 07:15:30 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.19 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/24/20 6:36 AM, David Gauthier wrote: > Hi: > > 11.3 on linux > > I've come up with a plan to archive data from my main DB which involves > creating other DBs on the same server.  But even though there will be > zero activity on the archive DBs in terms of insert/update/delete, and > almost no activity in terms of select, I'm still worried that the mere > existence of these other DBs will steal resources away from the instance > and degrade performance in my main DB. So my question is whether or not > that worry is valid or not. The primary resource I see they taking is storage. If you have adequate space so that the primary and archive databases can grow into it then I don't see a problem on that score. There will also be some additional overhead for the automatic VACUUM and ANALYZE operations. Since the archive databases are quiescent that will be on the order of monitoring not really processing. > > Thanks in Advance for any help ! -- Adrian Klaver adrian.klaver@aklaver.com