One idea I had from this is actually truncating pg_log at some point if we know all the tuples have the special committed xid. It would prevent the file from growing without bounds. Vadim, can you explain how WAL will make pg_log unnecessary someday? > We've expended a lot of worry and discussion in the past about what > happens if the OID generator wraps around. However, there is another > 4-byte counter in the system: the transaction ID (XID) generator. > While OID wraparound is survivable, if XIDs wrap around then we really > do have a Ragnarok scenario. The tuple validity checks do ordered > comparisons on XIDs, and will consider tuples with xmin > current xact > to be invalid. Result: after wraparound, your whole database would > instantly vanish from view. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
- [HACKERS] Transaction ID wraparound: problem and proposed... Tom Lane
- Re: [HACKERS] Transaction ID wraparound: problem and... Philip Warner
- Re: [HACKERS] Transaction ID wraparound: problem... Tom Lane
- Re: [HACKERS] Transaction ID wraparound: pro... Rod Taylor
- Re: [HACKERS] Transaction ID wraparound: pro... Hannu Krosing
- Re: [HACKERS] Transaction ID wraparound:... Nathan Myers
- Re: [HACKERS] Transaction ID wraparound: problem and... Bruce Momjian
- Re: [HACKERS] Transaction ID wraparound: problem... Vadim Mikheev
- Re: [HACKERS] Transaction ID wraparound: problem and... Hannu Krosing
- Re: [HACKERS] Transaction ID wraparound: problem... Peter Eisentraut
- Re: [HACKERS] Transaction ID wraparound: pro... Larry Rosenman
- Re: [HACKERS] Transaction ID wraparound:... Tom Lane
- Re: [HACKERS] Transaction ID wrapar... Larry Rosenman
- Re: [HACKERS] Transaction ID wraparound: pro... Hannu Krosing
- Re: [HACKERS] Transaction ID wraparound:... Larry Rosenman
- Re: [HACKERS] Transaction ID wraparound: problem... Tom Lane
- Re: [HACKERS] Transaction ID wraparound: pro... Mark Hollomon