Search Postgresql Archives

Re: ERROR: attempted to delete invisible tuple

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

 



On Mon, Aug 17, 2009 at 12:41 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
Bryan Murphy <bmurphy1976@xxxxxxxxx> writes:
> On Mon, Aug 17, 2009 at 12:17 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
>> Hm, what's your current XID counter?  (pg_controldata would give an
>> approximate answer.)  I'm wondering if the xmax's are marked committed
>> but are in the future ...

> Latest checkpoint's NextXID:          0/308829887

Hmm, well, they're in the past *now*, but by less than 20000
transactions.  You said this was a production DB so that might not
represent very much elapsed time.  Does the DELETE still fail?

                       regards, tom lane

Wow, how crazy is that.  I was just able to delete those three records.  I tried the remaining, and two were left that I could delete.  Waited 30 seconds, tried again and now they're gone as well.  As far as I'm aware, that's all the bad records in that table.  

The database went down last Weds.  How could they have gotten that far into the future?

Bryan

[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