pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: amacvar <kahitarich-postgresForum@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: What else could I've done? COPY to unlogged tbl "hung"/locked the table
Date: Tue, 4 Sep 2012 21:01:44 -0700 (PDT)
Message-ID: <1346817704996-5722754.post@n5.nabble.com> (raw)
In-Reply-To: <18243.1346442807@sss.pgh.pa.us>
References: <1346354162985-5721983.post@n5.nabble.com>
	<1346437281821-5722162.post@n5.nabble.com>
	<18243.1346442807@sss.pgh.pa.us>

Thank you Tom for the suggestion and the workaround.
I think we will be able to hold off on the temporary workaround.

Would the 2nd processes in the deadlock show up in pg_locks? (It didn't)
An insert from another table that i created to test the datafile did show up
as blocked.
I got confirmation from developers that no other process was running at the
time.

Also, even after a reboot, the COPY to the unlogged table hung, until it was
dropped and recreated.
After the latest occurrence, we took some downtime and I have rebuilt all
unlogged tables, no recurrences yet.



--
View this message in context: http://postgresql.1045698.n5.nabble.com/What-else-could-I-ve-done-COPY-to-unlogged-tbl-hung-locked-t...
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.




view thread (4+ messages)

Message-ID: <1346817704996-5722754.post@n5.nabble.com>
Permalink:  ../1346817704996-5722754.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1346817704996-5722754.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: kahitarich-postgresForum@yahoo.com
  Subject: Re: What else could I've done? COPY to unlogged tbl "hung"/locked the table
  In-Reply-To: <1346817704996-5722754.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox