From: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com> |
---|---|
To: | Doug McNaught <doug(at)mcnaught(dot)org> |
Cc: | Francois Suter <dba(at)paragraf(dot)ch>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Urgent: 10K or more connections |
Date: | 2003-07-18 16:07:16 |
Message-ID: | Pine.LNX.4.33.0307181005290.2220-100000@css120.ihs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On 18 Jul 2003, Doug McNaught wrote:
> Francois Suter <dba(at)paragraf(dot)ch> writes:
>
> > Hi all,
> >
> > I have received a question via the Advocacy site and I am not knowledgeable
> > enough to answer. Can you help?
> >
> > The question is: can PostgreSQL handle between 10'000 and 40'000
> > simultaneous connections? The persone asking the question has to choose
> > between Oracle and PostgreSQL, and my guess is that they would be relieved
> > if they could go with PostgreSQL.
>
> On a big enough system, sure. Each PG connection backend is a
> separate process, so you'd need to make sure the process table was big
> enough, open file and shared memory limits set high, etc. You'd want
> a really big machine, hopefully 64-bit like a Sparc or IA64, with lots
> of memory. But you'd want that for Oracle, too.
>
> You'd definitely want to spend a lot of time tuning and testing for
> that activity level, but again, you'd do that for Oracle too.
I'm gonna go out on a limb and guess that if you want 10k concurrent
connections, you're likely gonna be spending some time here on the list
getting postgresql to perform in that environment. I.e. little
inefficiencies in shared memory access and IPC are gonna cause this to
crawl even on a Sun E10k with 64 CPUs and 64 gigs of ram.
But I'm sure that with a few tweaks to the code here and there it's
doable, just don't expect it to work "out of the box".
From | Date | Subject | |
---|---|---|---|
Next Message | Kallol Nandi | 2003-07-18 16:21:56 | Re: (Urgent) Regarding double byte support |
Previous Message | Doug McNaught | 2003-07-18 16:06:50 | Re: Urgent: 10K or more connections |
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2003-07-18 16:14:43 | Re: [HACKERS] plpgsql strangeness with select into <variable> |
Previous Message | Doug McNaught | 2003-07-18 16:06:50 | Re: Urgent: 10K or more connections |