Search Postgresql Archives

Re: vacuum, dead rows, usual solutions didn't help

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

 



=?ISO-8859-1?Q?G=E1bor_Farkas?= <gabor@xxxxxxxxxxxxxx> writes:
> and this is still a mystery for me, because i understand that 
> idle-in-transaction is wrong, but even so, a process that i start today, 
> in my opinion simply cannot block the recovery of dead rows, that were 
> deleted yesterday.

Well, it's not one but two longest-transaction-lifetimes.  That is,
take the oldest transaction that's running now, and consider the
oldest transaction that was running when it started.  VACUUM can
reclaim rows that were deleted by transactions that started before
that one.  You didn't explain your application's behavior exactly,
but does that help?

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[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