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 1vPzIU-004h2F-1S for pgsql-admin@arkaria.postgresql.org; Mon, 01 Dec 2025 08:30:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vPzIT-001HCA-0A for pgsql-admin@arkaria.postgresql.org; Mon, 01 Dec 2025 08:30:13 +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 1vPzIS-001HBz-2H for pgsql-admin@lists.postgresql.org; Mon, 01 Dec 2025 08:30:13 +0000 Received: from mail-yw1-x112e.google.com ([2607:f8b0:4864:20::112e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vPzIQ-002TkQ-2x for pgsql-admin@lists.postgresql.org; Mon, 01 Dec 2025 08:30:12 +0000 Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-786a822e73aso36612357b3.3 for ; Mon, 01 Dec 2025 00:30:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764577809; x=1765182609; 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=f6tguCgF7hBkRrNEQaGGEEVSu5HIIaO8ZNlgF2baQMY=; b=BcEBYaJxyOt1NtIKS+ZewEMF1AYE5shry3gD4kMuDwIi8rQ0Ei34XANZOv8tgBTGzb QhTJz+jOaNlu+Jh3IuA+0/X0FCkgnctb/X4JXyEfBHxcncSPknKO7NCQl2QjhxFcK38O sfcHMCZQzZYvaffnmbe4FM94ILsDZ+7qqILXgF30AjfHbCKvjsbSWO509hjJIsZkhxyX X9Hanz9GJRE3Em1t4b92HHQ6xyp1J9C7v6f3nGNiLt7/yITjDF4UVa2dt386JWEVLBFM 584VqMxw/OKMv6nYrrQhEm31K/NcgZkDw7HIvaGgHBGja56cLHXEX/AN4ODbAFgt9d0V q2SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764577809; x=1765182609; 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=f6tguCgF7hBkRrNEQaGGEEVSu5HIIaO8ZNlgF2baQMY=; b=mM31p5Ghh0RoDStVX7SwmmiB975TMjyi7MQt8QqVnAenrzde82xseGIkWytUXUVGZS vQ7m3IBB0o7fZAP6B81qlJimW+X/C5jBAVbHtlYDOu8odNgN/+dGrY5Nq5BnZwKnkGUQ IStqAV/R8FHpkk7pc2OQfnJkX0rGFFQuHrr06FcCkIEoSeYk+41jDDeVgTM7m7KWZnyu NnapNsAODgUQtyVHim2ZTclZxrN5rIndlBwTItPoguUB7dqFi44PtZDXKI1FJW6dkzn8 OMBoMCiBw/ZoS0EXZ7iM60i3YSrwiWjfSGeB+uw/h2iMi+3JY7GgaQd4bZ1grOuE69Ig 6S5w== X-Forwarded-Encrypted: i=1; AJvYcCVJY+Amt9MNKMh34hCUYc5QaWAZp2Vl+gvWzMJ5F65dYT/xtJgqKkVGakh+Tmj0cEQmWtyjijSqSEU4ag==@lists.postgresql.org X-Gm-Message-State: AOJu0YzIcAPjpFGt1UcpJjwV0+wqWDvzKDoFyRpfzV6YXDW/Yl8BihE3 QL7/BKH1z7o8RK/luXfGgD6ngBKkP6Mz6Z/yb/PCyDBz1E+oKF61P4KQvzflrBbjbATegClQA6f 82jxlGWL87FGr5jEtwLM5j0fQIaRrXgY= X-Gm-Gg: ASbGncsL/Uzin7834u1436Rw9Yt+6ekNVOMtBF6SrdgayGP9L+1FIYZbUWoIkjvgttn sQTDtbi83bXtStuABm7+G0d4N8VPFOYljldJT2aaydH39JzO4/DxQ5I9T3cXZdPdYtDehvwL2gQ bN44R/WYxMM2LSSlhhotC/k0mpFwHa7waP3JYoj8DZoB3Kipiw5KRT7WuhDWIU06QPJXwz97oms yGmm5XWp3tnTN4UlKyU1vDvv3Hv743AjbLqImjopYoryWJOKk9JQ9y5dqM6+pJrfE0nWuY= X-Google-Smtp-Source: AGHT+IGFdzQfYxScFQ6mbzLhujU6D8QEjIwUtygdLyyzCxU3zbEDlBJs284B3yEs49B0iyhnHYBCk1leKA+dcCrzFdE= X-Received: by 2002:a05:690c:6188:b0:786:9774:a39c with SMTP id 00721157ae682-78a8b478f4emr279650037b3.9.1764577808611; Mon, 01 Dec 2025 00:30:08 -0800 (PST) MIME-Version: 1.0 References: <8db363787dc505e0dbe01ab48c437205928f1c2b.camel@cybertec.at> In-Reply-To: <8db363787dc505e0dbe01ab48c437205928f1c2b.camel@cybertec.at> From: Tayyab Fayyaz Date: Mon, 1 Dec 2025 00:27:59 -0800 X-Gm-Features: AWmQ_bnCKdBnrxnR0ngPUFZQO0ny53_mS7TvSBGdOOQIJOukcpAeIDkt7bd62kg Message-ID: Subject: Re: Migration from MSSQL to POSTGRESQL To: Laurenz Albe Cc: Raj , Pgsql-admin Content-Type: multipart/alternative; boundary="00000000000075fcc40644dfc932" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000075fcc40644dfc932 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 physica= l 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 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 hard= ware 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 t= he current SQL Server allocation to give some headroom for tuning and unexpected overhe= ad, 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 the > same > with PostgreSQL. If you can, don't use Windows. > > Yours, > Laurenz Albe > > > --00000000000075fcc40644dfc932 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Raj,

It reall= y depends on how much of those 64 vCPUs and 250GB RAM your SQL Server actua= lly uses today, and whether you=E2=80=99re running on a physical box or a v= irtual 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 30, 2025 at 11:14=E2=80=AFPM Laurenz Albe <laurenz.albe@cybertec.at> wrote= :
On Mon, 2025-1= 2-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


--00000000000075fcc40644dfc932--