Postgres connection - Mailing list pgsql-php

From Joe Nilson Zegarra Galvez
Subject Postgres connection
Date
Msg-id 1061298784.2525.2.camel@dune.dcielo.com
Whole thread Raw
Responses Re: Postgres connection
Re: Postgres connection
List pgsql-php
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


pgsql-php by date:

Previous
From: Martin Marques
Date:
Subject: Re: Securing PHP scripts
Next
From: Ângelo Marcos Rigo
Date:
Subject: Update problem