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 1tq4dC-00GZNx-Ep for pgsql-general@arkaria.postgresql.org; Thu, 06 Mar 2025 06:22:54 +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 1tq4dB-0003pG-1s for pgsql-general@arkaria.postgresql.org; Thu, 06 Mar 2025 06:22:53 +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 1tq4dA-0003jD-MM for pgsql-general@lists.postgresql.org; Thu, 06 Mar 2025 06:22:52 +0000 Received: from mail-oa1-x2a.google.com ([2001:4860:4864:20::2a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tq4d8-001FJB-2y for pgsql-general@postgresql.org; Thu, 06 Mar 2025 06:22:51 +0000 Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-2c1c4e364c8so126912fac.1 for ; Wed, 05 Mar 2025 22:22:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741242170; x=1741846970; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=s3zuyIzS3wGQSP3aYTgh1pk9eQN4ledddpJ24wcijho=; b=bbFOICnfH6bJNkuDG9DboSSgkMCuu5r1aCT48rflbFiTlpnf+tiP9dtKdIqegu3BLD bvwcFUWjtQ+dF6RJqhcOTc1pQaFTVu/KiWMegDIHt/WXABDuWUqKS7BH8Piq2rJeuC+e RJdxmlVq8IqJoD1iR8+uir1XPMltvN7i5pVG0Nk6ki4yasezyDv2FDp6+w0C5DqSKUIO hlTth1TZns7Q7YyKPR4cKdlwaxg6AtazxVtxCoy+dq526GUev0RxQHBcZnTxr/q6M4a+ zxZqMsBFo6xocKm5drIpeUopDVeUzyGCBNHmtdD+tInl2Gu1amBajBNbQQ3t1mVHNi3u sK4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741242170; x=1741846970; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=s3zuyIzS3wGQSP3aYTgh1pk9eQN4ledddpJ24wcijho=; b=K66XHTEvGFj7AwRHkh/Ncwlm3W8BJUDhz8PJmgxIoiMGScEPdL0XfvE3Z8IH8zzWiJ rgIhRm5EZf0Hq7jiRVonsSGm9h1ApywvaEznpLon3NUSeBO8X8e8O58yFDBAYGsLq1mg TJxWBaD/FvOoqg1ErrNuqpQZmmGS6AsJWJ8LUCYUKBFlIY5rEWQNRVbtA7y4KNQtO7ox HZY2JRkCXJ0dS2YR2csqIOqiIk8Z+kT62ETR/LqaClede3J+YOqVSx1TaCxbUoS/6n2K kmjtMDJRt/7xr5GI+1hmaBrJMj9LHe/G4lHx+XClmJWmX/c/G3owLxuLbbl/cDA/CdTw gHhw== X-Gm-Message-State: AOJu0Yx1hIcpcsdXo4YdETQJX4gC+JRvvn8rlp5BslICZpfwSlPS3Bah YGlGK8i9XKzO1kNCv6K5jH7vOiddmTZeoOB4LqppwZsrGCEp7TLq65DH4oHaDSkRrCOSp5Bs9L+ 2WLPyuGvra5L9ngH3mrMS6dDFDAGy2rQt X-Gm-Gg: ASbGncsfPCxNGiC4JTz/8QTD/Yc+XCnqgbtWFHJWGdff2SRAvZ7LaihwqSCvpzmkbAA +vAA5bcKThVydtGOtjhkvfW9rG47Nv7B697Ppd1rTiY/6ygXdC20gcJPCIVrPpOPcmfRlvdqhYm 0o2jrVjTU8L0QjYLq8/2WwvoUhoKs+3MdNO7o0P7vm3lySQpsWK9/E/Ixj5pjb X-Google-Smtp-Source: AGHT+IHzNLvUsdjxn2rCAdi2C/CZ9om4HcblkBxDQyB33ZooVy8hOObfHwES/1TxaZ2e0rtHwYf8T+r+oBWzgo24whQ= X-Received: by 2002:a05:6870:9e03:b0:29e:4b60:d992 with SMTP id 586e51a60fabf-2c23ebad19cmr1534975fac.13.1741242169809; Wed, 05 Mar 2025 22:22:49 -0800 (PST) MIME-Version: 1.0 References: <099b49ebae94e23f19afdad3f8c9c6e702a3a2d5.camel@cybertec.at> <6d7e1022-6404-4dab-8467-8d1f6e8b63cb@aklaver.com> In-Reply-To: From: Ron Johnson Date: Thu, 6 Mar 2025 01:22:38 -0500 X-Gm-Features: AQ5f1JrYJ75pcCIFUgy1paZos39CVxEJG-PHjAGXXM1gdM5swPssRXerzAajUQA Message-ID: Subject: Re: Quesion about querying distributed databases To: pgsql-general Content-Type: multipart/alternative; boundary="000000000000ffe185062fa68866" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000ffe185062fa68866 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 5, 2025 at 9:44=E2=80=AFPM me nefcanto wrot= e: > I once worked with a monolithic SQL Server database with more than 10 > billion records and about 8 Terabytes of data. A single backup took us mo= re > than 21 days. It was a nightmare. > 25 years ago (meaning *much* slower hardware), I managed a 1TB database. Backups took about 4 hours. Could have gotten it down to two hours if I'd wanted to use more tape drives. Right now, I manage a 5TB database. Backups take 110 minutes, and that's when using one channel for all IO, writing to not the fastest NAS, and other 3+TB databases backing up to it at the same time. > Almost everybody knows that scaling up has a ceiling > And that ceiling is much, much higher than you think it is. > , but scaling out has no boundaries. > Except for complexity and fragility. I bet I could get good scaled up performance out of the amount of hardware you're using to scale out. --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --000000000000ffe185062fa68866 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Mar 5, 2025 at 9:44=E2=80=AFPM me= nefcanto <sn.1361@gmail.com>= ; wrote:
I once worked with a monolithic SQL Server databas= e with more than 10 billion records and about 8 Terabytes=C2=A0of data. A s= ingle backup took us more than 21 days. It was a nightmare.

25 years ago (meaning much slower hard= ware), I managed a 1TB database.=C2=A0 Backups took about 4 hours.=C2=A0 Co= uld have gotten it down to two hours if I'd wanted to use more tape dri= ves.

Right now, I manage a 5TB database.=C2=A0 Bac= kups take 110 minutes, and that's when using one channel for all IO, wr= iting to not the fastest NAS, and other 3+TB databases backing up to it at = the=C2=A0same time.
=C2=A0
Almost everybody knows that scaling up has a ceiling

And that ceiling is much, much higher than y= ou think it is.
=C2=A0
, but scaling out has no boundaries.
Except=C2=A0for complexity and fragility. I bet I could get goo= d scaled up performance out of the amount of hardware you're using to s= cale out.

= --
D= eath to <Redacted>, and butter sauce.
Don't boil me, I'm = still alive.
<Redacted> lobster!
=
--000000000000ffe185062fa68866--