Help..Help...

From: Murali Mohan Kasetty <kasetty(at)india(dot)hp(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Help..Help...
Date: 2002-11-13 13:44:19
Message-ID: 3DD25733.D16D40EE@india.hp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,

We are using PostgreSQL 7.2.

We are running two processes accessing the same table using JDBC. Both
the
processes updates records in the same table. The same rows will not be
updated by the processes at the same time.

When the processes are run concurrently, the time taken is X seconds
each.
But, when we run the same processes together, we are seeing that the
time
taken is worse than 2X.

Is it possible that there is a contention that is occuring while the
records
are being written. Has anybody experienced a similar problem. What is
the
LOCK mechanism that is used by PostgreSQL.

Any help would be greatly appreciated.

Thanks in advance,
Murali

Attachment Content-Type Size
kasetty.vcf text/x-vcard 339 bytes

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Henrik Steffen 2002-11-13 13:45:55 Re: Upgrade to dual processor machine?
Previous Message Shridhar Daithankar 2002-11-13 13:34:27 Re: Upgrade to dual processor machine?