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 1uUnhV-008jhG-SV for pgsql-admin@arkaria.postgresql.org; Thu, 26 Jun 2025 14:35:42 +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 1uUnhT-00DWUZ-RP for pgsql-admin@arkaria.postgresql.org; Thu, 26 Jun 2025 14:35:40 +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 1uUnhT-00DWUQ-Fa for pgsql-admin@lists.postgresql.org; Thu, 26 Jun 2025 14:35:40 +0000 Received: from mail2.pscs.co.uk ([178.159.10.131] helo=mail.pscs.co.uk) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uUnhR-0047FN-0z for pgsql-admin@lists.postgresql.org; Thu, 26 Jun 2025 14:35:38 +0000 Authentication-Results: mail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=pscs Received: from lmail.pscs.co.uk ([192.168.120.1]) by mail.pscs.co.uk ([192.168.120.185] running VPOP3) with ESMTPSA (TLSv1.3 TLS_AES_256_GCM_SHA384) for ; Thu, 26 Jun 2025 15:35:33 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pscs.co.uk; q=dns/txt; s=lmail; h=Message-ID:Date:MIME-Version:Subject:To:References:From:In-Reply-To :Content-Type:Content-Transfer-Encoding:Cc:Reply-to:Sender; t=1750948224; x=1751553024; bh=topM9DOevWoKOAnKKfKtFN6skCIzfliXlSpCcQjWqIk=; b=HPdR1pD8H/PLAi3Qsm247CnOGofmjGapZ5ukkBO/mTXaMYAhsU4gN19ROzfMf1nq7TuTQfJZ MKhx9h2FmQn9BJnXGDSs6XcB6/ysidlOv8js2leDdWCm/5CSnDgQNSCWpkSGNe4KTCM0/vmulQ LgdY6Q5dhiadkod3ZtwGAL+4c= Authentication-Results: lmail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=paul Received: from [192.168.57.71] ([217.155.111.120] (217-155-111-120.dsl.in-addr.zen.co.uk)) by lmail.pscs.co.uk ([192.168.120.70] running VPOP3) with ESMTPSA (TLSv1.3 TLS_AES_256_GCM_SHA384) for ; Thu, 26 Jun 2025 15:30:23 +0100 Message-ID: Date: Thu, 26 Jun 2025 15:30:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Guidance Needed: Scaling PostgreSQL for 12 TB Data Growth - New Feature Implementation To: pgsql-admin@lists.postgresql.org References: Content-Language: en-GB From: Paul Smith* In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: paul X-Server: VPOP3 Enterprise V8.7 - Registered X-Organisation: Paul Smith Computer Services X-VPOP3Tester: 12 345 X-Authenticated-Sender: pscs List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 26/06/2025 14:43, Motog Plus wrote: > OLTP: This is our primary transactional workload and has replication > setup, pgpool - II > Reporting/DW: This is for reporting purposes. > > The growth figures I initially shared (8-9 TB) were a more > conservative estimate for OLTP. > > However, after a more focused rough estimate for our OLTP workload > alone, we anticipate it could reach 35-40 TB of data over the next 5-7 > years. > > > Specifically for our OLTP databases (which I listed in my initial email): > > Database C could reach 30-32 TB, with the acc schema within it > potentially growing to 13-15 TB. The database size is irrelevant (once it's significantly bigger than the available RAM) A Raspberry Pi could easily handle a 30TB database with 50 transactions an hour A 64 core Xeon with 64GB RAM couldn't handle a 500GB database with 50,000 random insert/update transactions a second. How many transactions per