Search Postgresql Archives

Re: Processing a work queue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wrote:

I use a variant of The Tom Lane Solution previously pointed to, your Plan 1 is very similar.

Hmm, per that pointed-to post:

  http://archives.postgresql.org/pgsql-general/2003-05/msg00351.php

I decided to run a periodic vacuum on my work queue. Lo and behold, I get this:

  ERROR:  tuple concurrently updated

In addition, all of my workers locked up, apparently indefinitely. I presume this was because I was foolishly doing VACUUM FULL, which locks the table. But what exactly was going on? Why did my workers hang? Thanks in advance, I am new to all this concurrency stuff ...

- John Burger
  MITRE


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux