Multiuser testing -- PostgreSQL 7.3.4 - Mailing list pgsql-general

From Durai
Subject Multiuser testing -- PostgreSQL 7.3.4
Date
Msg-id 0a1501c3af7f$e6b22d90$1a0110ac@dumco
Whole thread Raw
Responses Re: Multiuser testing -- PostgreSQL 7.3.4
List pgsql-general
Hello All,
 
                How to test the "Multiuser testing" in PostgreSQL?. I used the apache bench "ab" tool for this one.
 
The following command execute the "test.php" 50 times concurrently.
 
 
The test.php file contains the following contents:
 
<?php
$dbconn = pg_connect("port=5432 dbname=test user=postgres");
$result = pg_exec ($dbconn, "update table1 set C2=C2+C1;");
$result = pg_exec ($dbconn, "update table1 set C2=C2-C1;");
pg_close($dbconn);
?>
Is this the correct way for MULTIUSER testing?
 
Is any other way available for MULTIUSER testing in PostgreSQL?
 
Help greately appreciated.
 
Regs,
Durai.
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003

pgsql-general by date:

Previous
From: konf@chalu.cz
Date:
Subject: error durring compilation
Next
From: Seum-Lim Gan
Date:
Subject: pg_hba.conf change in 7.4