Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uwM6j-000ZnV-Ke for pgsql-general@arkaria.postgresql.org; Wed, 10 Sep 2025 14:47:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uwM5i-001jCQ-W3 for pgsql-general@arkaria.postgresql.org; Wed, 10 Sep 2025 14:46:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uwM5h-001jCI-VX for pgsql-general@lists.postgresql.org; Wed, 10 Sep 2025 14:46:35 +0000 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uwM5f-001gHx-32 for pgsql-general@postgresql.org; Wed, 10 Sep 2025 14:46:33 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id 9E06D14003AB; Wed, 10 Sep 2025 10:46:30 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Wed, 10 Sep 2025 10:46:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1757515590; x=1757601990; bh=8Lt9OoBbkynnNWzCOZYHpceIUK4hE8gec4PNm1oQPoM=; b= qnsGKGiWG9EAXtO7WPEVkzrYucBJvjlHACFHQYcQyoiFTqh46FZPqGjabQCgujLQ 9/f0Ne8ZX2BCVa3NcxVFXMAawL3NlUXgLYwOSIy+JWKzuoAV8ypmVDL9q15HdU7Z 51HWwXiloePlXaIsFWAYMlUTqzY/32242snbf+DEyYYd3dkNTwH/nD1VMqeKrwXD M84S3FUw31ZkI7QiFTx1H0PXPktCA1aOD+9lr50j7NJTrIDsN8Ox+oaMC7L8iA9L 0vjVL/3u2ddjjNhTALV1VP+djhK3TtPg48EfOvpaN44b+331dLImmMOp7Qb/ThFN CNh4sT4JlNKORLRFln9PfA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1757515590; x= 1757601990; bh=8Lt9OoBbkynnNWzCOZYHpceIUK4hE8gec4PNm1oQPoM=; b=g hILIU+js1tj7GLGo8oNKH46QJQThpi9Vt56GamgvfBGnTTUTOnHiczcKPUGNnVMx CzfEcasuMVBCv2Kro7pWqDoA3aE3dfPgS08ZU8rjwA8IbgnJCs55PU3IutA1kd+d SCOoCdaFuhNr3V2cLo6BGGcdxKlbgwico2GvXjxCttMcxEbnHlCOX0NNMtIax5wa pUYpNEwCqHRRMsRFPl68Ecb2Zg30RHspetnJMBfNzCLJQb/EuJlJ75+xPsSFpaD1 bZjhT87MhKOgjwHT9KIgrgYTpwGD1A0bnRjpGpW4hLgA8L7IB20InFd2iwbc6bNs ee0olLuSPTIDoAcS8IM4g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvfeehiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheptegurhhirghn ucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqe enucggtffrrghtthgvrhhnpedvueegheehueetgfdtvddujeevvdefkeejkeekuefhkeev leeuieehhfekjefhleenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhpghgsrggtkh hrvghsthdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprh gtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegvlhhlvghnrghl lhhhrghtrghtlhgrnhesghhmrghilhdrtghomhdprhgtphhtthhopeiiiiiiiiiirdhgrh grfhesghhmrghilhdrtghomhdprhgtphhtthhopehmmhhonhgtuhhrvgesghhmrghilhdr tghomhdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehpohhsthhgrhgvshhqlh drohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 10 Sep 2025 10:46:29 -0400 (EDT) Message-ID: Date: Wed, 10 Sep 2025 07:46:29 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: MVCC and all that... To: Ellen Allhatatlan , Justin Cc: Merlin Moncure , pgsql-general References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 9/10/25 00:41, Ellen Allhatatlan wrote: > Hi, and thanks for your input, > >> The author brings up threaded vs multi-process. That's an old old old old old conversation that has been shown there is no clear better way. > > This is where things become interesting. Firebird actually has 3 > process/threading models - and they manage to maintain these with a > team that is *_much_* smaller than the PostgreSQL one - FB is a minnow > compared to PG! Though I would like to know what happened in mid 2010?: https://github.com/FirebirdSQL/firebird/graphs/contributors > >> Backup argument is cherry picking and not discussing pgBackrest and other solutions or the use of tablespaces to isolate databases in a cluster at the disk layer or disk snapshots. > > OK again. I'm just wondering if the single file per database isn't a > fundamental architectural flaw in itself? AIUI, you could have > mulitple files (back in 32-bit land) "chained" - but (again AIUI) the > same table could be spread over x files - all "intermingled"... weird. > What are you referring to above? At any rate from the article: "pg_basebackup always dumps the entire cluster, when restoring one database, your entire PostgreSQL cluster will be restored, which will contain only one database. The files of all your other databases will be zero size." AFAIK there is no option to restore one database with pg_basebackup. I think the author is referring to pgBackRest: https://pgbackrest.org/user-guide.html#restore/option-db-include " The test1 database, despite successful recovery, is not accessible. This is because the entire database was restored as sparse, zeroed files." -- Adrian Klaver adrian.klaver@aklaver.com