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 1tq29f-00FwCm-Hq for pgsql-general@arkaria.postgresql.org; Thu, 06 Mar 2025 03:44:15 +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 1tq29e-00E3ac-7L for pgsql-general@arkaria.postgresql.org; Thu, 06 Mar 2025 03:44:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tq29d-00E3Yf-O9 for pgsql-general@lists.postgresql.org; Thu, 06 Mar 2025 03:44:13 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tq29Y-001E3R-2b for pgsql-general@lists.postgresql.org; Thu, 06 Mar 2025 03:44:13 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-2238e884f72so2435375ad.3 for ; Wed, 05 Mar 2025 19:44:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741232648; x=1741837448; darn=lists.postgresql.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=W2icnyZx4VRWzpN/jFaK8nIR1wha1eyrpCbaN7P9fXE=; b=V2xYIC7NNvxTeD1Xfl2/OivnHBIwTl0xBA6SjqQr3LQjLSbhZvA5qicvPmwSpSGmKh Fcc04j7AxRxkEEvDaNU+q2hhJ8Nd3AbibFEZX+4Tl7j5OlXiSUQ7DsXsVJcMZ99Ahmvi 1TxdY9XCUUS0DWnkgRwUolmmpEheITM5oLwqPxhiwBgVO/P/GJanGmULAS9ndV1VhiRF rZolmrYff3TAi8PgXKvsvxTxQbnO26kEJoSwLystXt9yhf/mf9lh9mapkOCAQVk4xRwK qqds5sZ3Ky0dZPD06p7OftiRI7dNDZRsu5Gtu8YkATpAe5pCmofPfFX2b6WYWRZ9Ujsw o3cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741232648; x=1741837448; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W2icnyZx4VRWzpN/jFaK8nIR1wha1eyrpCbaN7P9fXE=; b=lFQYpiLiAMtPbZxFGr21z8RSBy4q/Z667hLHHe/m9ae92OPZYSRuOCkqlgA2Y9iuod Bsix73b65qd7p5iGH9cv1xRHh2pXnKkYfEMXE2k5F0Ktp1DBoseEYqUZhnfWDdlTus6S +imT7pn/SS1sihsEPCHGKPf3vN21gh80aF5OOjH7i65XmNYPGZa41LFl/epaPodD/iig z+hLFKO6sbHqGvA1XrJ7E58mQl0romHh0eBA7GIqve5qGmyWK9PuzkiGpzzXqAUrmwVl f1sa01G3QqsivqN0JtHIyk0Y4HCv2JNg0XZmK6xywkNKYWgeHg1hkgFKbzX7fss9IsSX 7m4A== X-Forwarded-Encrypted: i=1; AJvYcCXaGd9wY+gyyznH9C0tvC/XtMgznDVSNZBSpHYkrorKFc7pIUhTgnWtNY2YrQ+EaRCdwglpNwvUQY8ssViH@lists.postgresql.org X-Gm-Message-State: AOJu0YxmIuVbuVApKGYYBsqRUQtQ6teTnWv4PIO2JRu+91aNH7siSE4K BDFur9DFq2d4HTluiRL7LJzzSahCQSarrlJpFgiYokZ4gSMlUbMq X-Gm-Gg: ASbGncsWM8UrzopIk7MmKPRZ6lqfFrOAvbLAYeFzgUCrFCoE/dvecnkMiFS4VGdUr8K sArHrTdCqjt8N2mj272bNN6cjXvq1rVArcOFoQfOfubMWJ7WwbhVX1B+iVwhxRQk/pAYwvmQFb2 zay7daqwWsgEq1n++f5d/E0E+HRsYtHiwzyMAu2ZDj3755FxAie9bu25FR+pI7MJLKNrLAD7yWP LwRoKSVleyxbfGdRJVmuyob8Roz7hYEH9rbdLflQCZDbDnuat9XiDudq28fVteCYn+UqvmwDR4P zNyIcVQXbGm6HxRucYavEsAOYu1ja1IYvfpUWE5ADLj9WAUEpe45hYBZxFET/msAkDRY3m5i9Q= = X-Google-Smtp-Source: AGHT+IES/GKib98XnjSlh6E2cyqeJUMNYKn/2ziC9eXWwQ9+Mfo45TKdE271haBxUrmTad11L4qJxg== X-Received: by 2002:a17:903:32c7:b0:223:4b8d:32f1 with SMTP id d9443c01a7336-223f1c69702mr91490515ad.1.1741232648000; Wed, 05 Mar 2025 19:44:08 -0800 (PST) Received: from smtpclient.apple ([2601:681:4c01:7310:7d47:2a01:9f51:4c4c]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73698206a8csm251481b3a.19.2025.03.05.19.44.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Mar 2025 19:44:07 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-9E9F1DF2-0FEC-4EC4-A070-649DB635DACA Content-Transfer-Encoding: 7bit From: Rob Sargent Mime-Version: 1.0 (1.0) Subject: Re: Quesion about querying distributed databases Date: Wed, 5 Mar 2025 20:43:56 -0700 Message-Id: <025C57B4-F1C3-4533-86FD-D7C85EDCF143@gmail.com> References: Cc: me nefcanto , Adrian Klaver , Laurenz Albe , "pgsql-generallists.postgresql.org" In-Reply-To: To: Igor Korot X-Mailer: iPhone Mail (22D72) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail-9E9F1DF2-0FEC-4EC4-A070-649DB635DACA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On Mar 5, 2025, at 8:03=E2=80=AFPM, Igor Korot jnit worked great for SQL S= erver. If you're small, we host them all on one server. If you get bigger, w= e can put heavy databases on separate machines. >>=20 >> However, I don't have experience working with other types of database sca= ling. I have used table partitioning, but I have never used sharding. >>=20 >> Anyway, that's why I asked you guys. However, encouraging me to go back t= o monolith without giving solutions on how to scale, is not helping. To be h= onest, I'm somehow disappointed by how the most advanced open source databas= e does not support cross-database querying just like how SQL Server does. Bu= t if it doesn't, it doesn't. Our team should either drop it as a choice or f= ind a way (by asking the experts who built it or use it) how to design based= on its features. That's why I'm asking. >>=20 Cross-database on MSSQL is identical to cross schema on postgres. If you tru= ly need cross server support (versus say beefier hardware) how did you come t= o choose postgres? The numbers you present are impressive but not unheard o= f on this list.=20 --Apple-Mail-9E9F1DF2-0FEC-4EC4-A070-649DB635DACA Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

On Mar 5, 2025, at 8:0= 3=E2=80=AFPM, Igor Korot jn= it worked great for SQL Server. If you're small, we host them all on one ser= ver. If you get bigger, we can put heavy databases on separate machines.

However, I don't have experience wo= rking with other types of database scaling. I have used table partitioning, b= ut I have never used sharding.

Anyway, that's why I asked you guys. However= , encouraging me to go back to monolith without giving solutions on how to s= cale, is not helping. To be honest, I'm somehow disappointed by how the most= advanced open source database does not support cross-database querying just= like how SQL Server does. But if it doesn't, it doesn't. Our team should ei= ther drop it as a choice or find a way (by asking the experts who built it o= r use it) how to design based on its features. That's why I'm asking.
<= div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif">

Cro= ss-database on MSSQL is identical to cross schema on postgres. If you truly n= eed cross server support (versus say beefier hardware) how did you come to c= hoose postgres?  The numbers you present are impressive but not unheard= of on this list. 

= --Apple-Mail-9E9F1DF2-0FEC-4EC4-A070-649DB635DACA--