X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D3613D1B9AF for ; Tue, 19 Aug 2003 10:12:23 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 54555-01 for ; Tue, 19 Aug 2003 10:12:16 -0300 (ADT) Received: from mail.kolareal.net (unknown [200.48.62.162]) by svr1.postgresql.org (Postfix) with ESMTP id 48903D1B9DD for ; Tue, 19 Aug 2003 10:11:56 -0300 (ADT) Received: from [192.168.1.45] (dune.kolareal.net [192.168.1.45]) by mail.kolareal.net (8.12.8/8.12.8) with ESMTP id h7JDODDR007979 for ; Tue, 19 Aug 2003 08:24:13 -0500 Subject: Postgres connection From: Joe Nilson Zegarra Galvez To: LISTA PGSQL-PHP Content-Type: text/plain Organization: Kola Real Sur Message-Id: <1061298784.2525.2.camel@dune.dcielo.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 19 Aug 2003 08:13:04 -0500 Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/76 X-Sequence-Number: 2253 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