DB Locks

From: "Jasbinder Bali" <jsbali(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: DB Locks
Date: 2008-05-15 16:39:23
Message-ID: a47902760805150939l4fd8c376pb3b0c8361ac971b6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello everyone,

I had a concern about DB locks lately.
If have a scenario where in a Cron job is running. This cron job updates a
table and would take about 20 minutes to complete.
In the meantime, if I query the same table using an application, will my
application have to wait as the cron job has held a write lock on the table
or the application gets the latest available snapshot of the data?
Please let me know.

Thanks,
Jas

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2008-05-15 16:51:10 Re: Question on warm standby log shipping
Previous Message Bohdan Linda 2008-05-15 16:32:10 Re: Password safe web application with postgre