Re: What is the practical limitation of no multi-threading?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Robert B(dot) Easter" <reaster(at)comptechnews(dot)com>
Cc: Brian Beuning <bbeuning(at)mindspring(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: What is the practical limitation of no multi-threading?
Date: 2001-12-12 02:55:14
Message-ID: 200112120255.fBC2tEr21611@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Not being multithreaded may only be a big deal if your application connects
> and disconnects from the database at high rates. In that situation, such an
> application would suffer the poorer performance of multiprocess servers like
> Postgres since it is significantly more time consuming to copy the memory
> management unit (mmu) state, or at least to load a new program image (the
> backend), than with threads which share mmu state and program image.

Let me mention that we don't load new executables on backend startup.
We merely fork() the postmaster. I just checked the FAQ and it seems
pretty clear. Please let me know if there is additional info I should
have there.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-12-12 03:34:54 Re: Inserting the current date
Previous Message Tom Lane 2001-12-12 02:29:32 Re: 7.1.3 XLogWrite Error