Postgres connection

From: Joe Nilson Zegarra Galvez <nzegarra(at)kolareal(dot)net>
To: LISTA PGSQL-PHP <pgsql-php(at)postgresql(dot)org>
Subject: Postgres connection
Date: 2003-08-19 13:13:04
Message-ID: 1061298784.2525.2.camel@dune.dcielo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Ângelo Marcos Rigo 2003-08-19 14:21:07 Update problem
Previous Message Martin Marques 2003-08-19 11:30:27 Re: Securing PHP scripts