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.96) (envelope-from ) id 1vPzQ4-004mh7-2F for pgsql-admin@arkaria.postgresql.org; Mon, 01 Dec 2025 08:38:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vPzQ3-001Mq6-12 for pgsql-admin@arkaria.postgresql.org; Mon, 01 Dec 2025 08:38:03 +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.96) (envelope-from ) id 1vPzQ2-001Mpy-32 for pgsql-admin@lists.postgresql.org; Mon, 01 Dec 2025 08:38:03 +0000 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vPzQ1-002Tnk-0u for pgsql-admin@lists.postgresql.org; Mon, 01 Dec 2025 08:38:02 +0000 Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-37b95f87d64so34451331fa.2 for ; Mon, 01 Dec 2025 00:38:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764578280; x=1765183080; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=viFVpiM1NZBMK2oTa3ElR7eng7BLh5/89aeiQVQ4oz4=; b=H3tL9Yp3z8d755BJ2REhGYa+arW87W/Lw5l9ltUyndeBIT3ig67/e2fEb7v64tVJXH ciNTGwqrqDhFWQ1OQJAxlUa9KgJumJKqsxprMav/+sWlK8rUYI4tGrt53y2TH0N6p7BG 5H0jAKmMqYC1Q5Rspc3OWWkDn7HcxlkgZcsx38ui3eD5CPbvo+vYkN+Svjsi6rYWdZjN tHFooSKbx0IYc1Ke+dcoiyv671yiLyk4sT5lDeJx6TWkLdCs5un7+qbmtUgjvLAT1azE ohgCrRVp5XFrCPUcIZosrdfRzHUmo39zBA3/7WwIo3VRqruNPnuaRu61w0KdhL+yXQtI 7lgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764578280; x=1765183080; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=viFVpiM1NZBMK2oTa3ElR7eng7BLh5/89aeiQVQ4oz4=; b=DGEnQyk8ZUSZy4CiEOZoWlicrrSS0U8sk0iHhmmb8V4+HKQroCbDeKAe6+k8/2B/tF FWBWG2dJ68ehb+E8qQT+W8DtSz1sm4LTAIE7kwqgiy7y6/sIbxYy9xTkxzX+TufGds7/ 45Cbtng8XqZ6FAMCVdP4Rpxyg4uyKxZVBdADrGnPjSLnAaJu2KU0TepqDp1TpJF8I/Yc J6Qs4Cy6ynw1WiaYCspGN8lZLNSALUptteLEvlaqIEY/nGx5Wc9qF7Ch85lhXtwX1zTY nqYdV5QI6c8ovfe/T+mGGKiTbrwPHjh5be8C81SeaFHjwNcz/DK4X1GTtYco8HsZrC/z dVUA== X-Forwarded-Encrypted: i=1; AJvYcCX+FoGNjCAct+2DFE2VcBQ5GQ+RWVdmUH4cZnrPEwsQ90cT/d8qvsRmdo2oc26fOEj/O0WoIJPeJ63c5w==@lists.postgresql.org X-Gm-Message-State: AOJu0YwLk+t3G9V93RQXkJXin19SKvsRc0H1/f+6BisI7GW44UwFRZNE fzum/tDIoR2ciTF9p53aXJhaUBUPep4ufPkvArLuPaKpKT2dzfNV/zac+7u8WitVskuDceYjVT/ VyWU4m2EM3JT4lk7dGFkgCxmO8ZnhX+FBnA== X-Gm-Gg: ASbGncsckFZAWcNaOzd53KmqvccmGDdvSMHu3bzWhdX1f/YQuZ1D8fjeaJscCeHtpzE p35osbLyMYcfeR7At1LNcSurUHRwE0su4IZnhT3rCy5+klIw83y2lm3HgpZr8eboBqxKcMen1YK AEfa+MUztsQyE2vr4qCFLHcVY39YIxuil/ej1TJmAHb5Fb2Xdq/5fOnQA/pk7gvHUEwS64YQ5hy s2QfpD4RojAn0utbcRmkEKbrVsHWf1/TYckSbrxF/BWL7Fl/eeTfuvzuj9o5OgKrJGjSzEBMEB7 HDmYOdciZu79baodLJWIC97YcMzz8Yq1oH0uGw== X-Google-Smtp-Source: AGHT+IEjf0gMNTK435eRgqXGPOuZy/i5m9k9Gs/dRyvAcR5NI9l8BJ43j08H7N99RajqKuGYxt+ifssP26OsoVzLMVE= X-Received: by 2002:a05:651c:4412:20b0:37b:8b7e:efd with SMTP id 38308e7fff4ca-37d078d1472mr52078401fa.39.1764578279921; Mon, 01 Dec 2025 00:37:59 -0800 (PST) MIME-Version: 1.0 References: <8db363787dc505e0dbe01ab48c437205928f1c2b.camel@cybertec.at> In-Reply-To: From: Raj Date: Mon, 1 Dec 2025 14:07:46 +0530 X-Gm-Features: AWmQ_bmSpDSq-cgJkVYi3lf-OPPIKyKZmOt4xmBHSD5LkYkRvgZ2y1cF8tXU2JE Message-ID: Subject: Re: Migration from MSSQL to POSTGRESQL To: Tayyab Fayyaz Cc: Laurenz Albe , Pgsql-admin Content-Type: multipart/alternative; boundary="0000000000008d99450644dfe5ac" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000008d99450644dfe5ac Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry, it's Oracle to POSTGRESQL migration. I apologize for the confusion. Please suggest based on Oracle. On Mon, 1 Dec 2025, 14:00 Tayyab Fayyaz, wrote: > Hello Raj, > > It really depends on how much of those 64 vCPUs and 250GB RAM your SQL > Server actually uses today, and whether you=E2=80=99re running on a physi= cal box or > a virtual machine. > > PostgreSQL doesn=E2=80=99t have a 1:1 sizing formula against SQL Server. = I=E2=80=99d first > look at real CPU/memory usage, workload pattern (OLTP vs reporting), and > how connections/queries behave. I=E2=80=99d also factor in how well we ca= n migrate > and map the data types and queries, because good type choices and query > rewrites can significantly reduce resource usage. > > - > > *If it=E2=80=99s a physical server*, I=E2=80=99d start with similar ha= rdware for > PostgreSQL and then tune Postgres parameters (shared_buffers, work_mem= , > etc.) based on monitoring. > - > > *If it=E2=80=99s a VM*, I=E2=80=99d provision a bit more capacity than= the current SQL > Server allocation to give some headroom for tuning and unexpected over= head, > and then right-size after observing the real load in PostgreSQL. > > Once the migration is done and in steady use, we can monitor CPU, memory, > and I/O in PostgreSQL and then optimise or scale down/up based on real > metrics instead of guessing up front. > > > Tayyab > > On Sun, Nov 30, 2025 at 11:14=E2=80=AFPM Laurenz Albe > wrote: > >> On Mon, 2025-12-01 at 08:46 +0530, Raj wrote: >> > I am migrating from MSSQL to POSTGRESQL. In MSSQL, I am using 64 vCPU >> and 250GB RAM. >> > Now how much we can give in postgres? >> >> If these specifications worked for you with Microsoft SQL Server, use th= e >> same >> with PostgreSQL. If you can, don't use Windows. >> >> Yours, >> Laurenz Albe >> >> >> --0000000000008d99450644dfe5ac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry, it's Oracle to POSTGRESQL migration.=C2=A0
I apologize for the confusion.

Please suggest based on Or= acle.

On Mon, 1 Dec 2025, 14:00 Tayyab Fayyaz, &= lt;tayyab.humayl@gmail.com&g= t; wrote:
Hello Raj,

It really depends on how much of = those 64 vCPUs and 250GB RAM your SQL Server actually uses today, and wheth= er you=E2=80=99re running on a physical box or a virtual machine.

PostgreSQL doesn=E2=80=99t have a 1:1 sizing formula against SQL Server.= I=E2=80=99d first look at real CPU/memory usage, workload pattern (OLTP vs= reporting), and how connections/queries behave. I=E2=80=99d also factor in= how well we can migrate and map the data types and queries, because good t= ype choices and query rewrites can significantly reduce resource usage.

  • If it=E2=80=99s a physical server, I=E2=80=99d start wi= th similar hardware for PostgreSQL and then tune Postgres parameters (share= d_buffers, work_mem, etc.) based on monitoring.

  • If it=E2=80=99s a VM, I=E2=80=99d provision a bit more = capacity than the current SQL Server allocation to give some headroom for t= uning and unexpected overhead, and then right-size after observing the real= load in PostgreSQL.

Once the migration is done and in steady use, we can monitor CPU, memory= , and I/O in PostgreSQL and then optimise or scale down/up based on real me= trics instead of guessing up front.



<= /div>
Tayyab

On Sun, Nov 3= 0, 2025 at 11:14=E2=80=AFPM Laurenz Albe <laurenz.albe@cybertec.at= > wrote:
= On Mon, 2025-12-01 at 08:46 +0530, Raj wrote:
> I am migrating from MSSQL to POSTGRESQL. In MSSQL, I am using 64 vCPU = and 250GB RAM.
> Now how much we can give in postgres?

If these specifications worked for you with Microsoft SQL Server, use the s= ame
with PostgreSQL.=C2=A0 If you can, don't use Windows.

Yours,
Laurenz Albe


--0000000000008d99450644dfe5ac--