pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dana Hudes <dhudes@hudes.org>
To: Loïc TREGOUËT <loic@ext.cri74.org>
To: pgsql-admin@postgresql.org
Subject: Re: smp , php and postmaster distant
Date: Thu, 22 Jun 2000 14:02:17 -0400
Message-ID: <004c01bfdc74$00e9c2a0$3d5cdcd1@hudes.org> (raw)
References: <38FD86EF.153D37A1@ext.cri74.org>
	<395251DA.74EB8611@ext.cri74.org>

to my knowledge PostgreSQL is not multi-threaded.
PHP appliations don't support threads or multiple processes; Perl supports multiple processes and, especially in 5.6 (and some development
versions before it) threads.
Your gain from SMP under such situation is the application has a cpu for itself
and all the system overhead processes run on the other cpu.

I think PgSQL is thread-safe but someone like Bruce Momjian would know for sure.


----- Original Message ----- 
From: "Loïc TREGOUËT" <loic@ext.cri74.org>
To: <pgsql-admin@postgresql.org>
Sent: Thursday, June 22, 2000 1:50 PM
Subject: [ADMIN] smp , php and postmaster distant


> Hie ,
> 
> 
>     I have put a database on a 2 processors db server . (2 * PII 450 Mhz
> with 512 Mo RAM)
> 
>     This server is distant from the web server .
> 
>     I've a php3 interface and , i've seen some big loose of performance
> .
> 
>     The request are longer when i use the bi-processor .
> 
>     Is it due to the distant server or do i need some configurations to
> postmaster to accept multi prcocessors ?
> 
>     The web server and the database server are link with a 100Mbit link
> !
> 
>                                                             thanks for
> all




view thread (4+ messages)  latest in thread

Message-ID: <004c01bfdc74$00e9c2a0$3d5cdcd1@hudes.org>
Permalink:  ../004c01bfdc74$00e9c2a0$3d5cdcd1@hudes.org/
Also on:    postgresql.org/message-id/004c01bfdc74$00e9c2a0$3d5cdcd1@hudes.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: dhudes@hudes.org, loic@ext.cri74.org
  Subject: Re: smp , php and postmaster distant
  In-Reply-To: <004c01bfdc74$00e9c2a0$3d5cdcd1@hudes.org>
  References: <38FD86EF.153D37A1@ext.cri74.org> <395251DA.74EB8611@ext.cri74.org> <004c01bfdc74$00e9c2a0$3d5cdcd1@hudes.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox