Re: Deadlock with pg_dump? - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: Deadlock with pg_dump?
Date
Msg-id 20061026222911.GR26892@nasby.net
Whole thread Raw
In response to Re: Deadlock with pg_dump?  (Chris Campbell <chris@bignerdranch.com>)
List pgsql-hackers
On Thu, Oct 26, 2006 at 06:11:59PM -0400, Chris Campbell wrote:
> On Oct 26, 2006, at 17:21, Tom Lane wrote:
> 
> >And what was 1171 doing?  I really doubt that either of these could  
> >have
> >been pg_dump.
> 
> I know that process 1120 is a Java client (Hibernate) running an  
> UPDATE query, but I have no idea what 1171 is. I doubt that 1171 was  
> pg_dump, but when we turn off the pg_dump cron jobs (for 12-ish  
> hours), the deadlocks go away. We usually see 5 or 6 deadlocks spread  
> throughout the day. That's not definitive evidence, of course, but  
> it's certainly curious.

I seem to remember something funny about hibernate and locking, though I
can't recall any details right now... but searching the archives might
provide insight.
-- 
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)


pgsql-hackers by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Replication documentation addition
Next
From: Tom Lane
Date:
Subject: Re: Deadlock with pg_dump?