pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Nilson Zegarra Galvez <nzegarra@kolareal.net>
To: LISTA PGSQL-PHP <pgsql-php@postgresql.org>
Subject: Postgres connection
Date: 19 Aug 2003 08:13:04 -0500
Message-ID: <1061298784.2525.2.camel@dune.dcielo.com> (raw)

Hi all, i have a question, i have a php file with all my class to
connect into a postgresql db and i'm using the pg_connect in this form:

pg_connect("192.168.1.X","","","",$dbase);

but when i have 8 or 10 users inserting data, the db response is very
slow, is problem in the pg_connect?, all ppl use the same file_class.php
to connect to the db.

The Server is a Compaq Proliant with two Xeon 2.20Ghz Processors, 1Gb
Memory, 20Gb SCSI HD, 1Gb Ethernet and Redhat Linux 8.0 with apache
2.0.47,
php 4.2.2 and PostgreSQL 7.2.2

How can i do better the response of the server?

Thankx for your answers

Regards


Nilson




view thread (3+ messages)  latest in thread

Message-ID: <1061298784.2525.2.camel@dune.dcielo.com>
Permalink:  ../1061298784.2525.2.camel@dune.dcielo.com/
Also on:    postgresql.org/message-id/1061298784.2525.2.camel@dune.dcielo.com

 · 

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-php@postgresql.org
  Cc: nzegarra@kolareal.net
  Subject: Re: Postgres connection
  In-Reply-To: <1061298784.2525.2.camel@dune.dcielo.com>
  References: <1061298784.2525.2.camel@dune.dcielo.com>

* 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