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