Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6894107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:44:29+00:00 2026-05-27T06:44:29+00:00

An old question brought up the performance issues of PostgreSQL on Windows. There’s been

  • 0

An old question brought up the performance issues of PostgreSQL on Windows. There’s been some major improvements to PostgreSQL since that time… has the performance gap improved between Windows and the Linux varieties?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:44:29+00:00Added an answer on May 27, 2026 at 6:44 am

    PostgreSQL performs rather well on Windows these days. You tend to need to use a smaller shared_buffers value so be aware of that when reading tuning advice written for Linux or BSD. The gap in performance has narrowed a lot, but well-tuned Linux+Pg will still outperform well-tuned Windows+Pg.

    Most of the (non-file-system related) advice on Pg performance now applies pretty well to Windows and Linux, AFAIK. It’s important to tune random_page_cost and effective_cache_size for best performance, same as on Linux/BSD, and you may find query planner choices to be sub-optimal until you do so. Similarly, you need to pay close attention to your disk subsystem, have as much RAM as possible, etc.

    You will have problems with large connection counts on Windows, so I suggest putting PgBouncer or PgPool-II in front of it unless you have an appserver that does its own connection pooling. Pg doesn’t perform particularly well with huge numbers of concurrent connections on *nix either, it’s just worse on Windows.

    The connection startup/teardown cost is greater on Windows, which is another reason to use a connection pool where possible. Pg can’t use fork() to efficiently start new backends, it has to EXEC_BACKEND and do more new-process setup than on Linux.

    While it’s somewhat more focused on Linux/BSD, I’d recommend the book “PostgreSQL high performance” by Greg Smith, a significant PostgreSQL contributor. If you’re concerned about Pg performance it’s the best place to go.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Old question My understanding is that C# has in some sense HashSet and set
this year old question found some issues - Is the Reactive Framework (RX) available
There's an old question that asks this very thing, but a lot has changed
Weird question, but one that puzzles me a bit. In the old days when
This has been an age old question and I am aware of the usual
I am working on some OLD (as in older than me) C code that
This will appear to be the age old question (which it is :)) that
Here there's an old question about this code. xmpp.OnLogin += delegate(object o) { xmpp.Send(
This is very much a repeat of an old question that is available here:
I know this is an old question and must have been answered hundred times

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.