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 archives
  Advanced Search

Re: 8.2 Autovacuum BUG ?


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
  • Cc: Mikko Partio <mpartio(at)gmail(dot)com>, Pallav Kalva <pkalva(at)livedatagroup(dot)com>, pgsql-performance(at)postgresql(dot)org
  • Subject: Re: 8.2 Autovacuum BUG ?
  • Date: Fri, 31 Aug 2007 15:08:45 -0400
  • Message-id: <247.1188587325@sss.pgh.pa.us> <text/plain>

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Mikko Partio escribió:
>> Off-topic question: the documentation says that XID numbers are 32 bit.
>> Could the XID be 64 bit when running on a 64 bit platform? That would
>> effectively prevent wrap-around issues.

> No, because they would take too much space in tuple headers.

It's worth noting that the patch Florian is working on, to suppress
assignment of XIDs for transactions that never write anything, will make
for a large reduction in the rate of XID consumption in many real-world
applications.  That will reduce the need for tuple freezing and probably
lessen the attraction of wider XIDs even more.

If he gets it done soon (before the HOT dust settles) I will be strongly
tempted to try to sneak it into 8.3 ...

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group