Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Deadlock with pg_dump?



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(at)nasby(dot)net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group