| From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
|---|---|
| To: | "Subramanian,Ramachandran" <ramachandran(dot)subramanian(at)alte-leipziger(dot)de>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
| Cc: | "pgsql-novice(at)lists(dot)postgresql(dot)org" <pgsql-novice(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: AW: Trying to understand Tuple Header |
| Date: | 2026-05-04 07:32:52 |
| Message-ID: | 4fb700b7a1f03d88447b40e830a4797ce026a0dc.camel@cybertec.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
On Mon, 2026-05-04 at 04:04 +0000, Subramanian,Ramachandran wrote:
> So the next select to the table cross references the pg_xact file to check if hint bits
> need to be updated or not ? How deep does the next select look into the pg_xact file ?
> For example if I roll back and never touch this table for 30 Minutes and I come back
> and do a second select…will it look back into 30 mins of history in pg_xact ?
Yes. It has to, to maintain correctness.
If nobody ever looks at the row, eventually autovacuum will freeze it. Any pg_xact
segment that only contains transactions older than the oldest unfrozen row will
get reclaimed.
Yours,
Laurenz Albe
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Subramanian,Ramachandran | 2026-05-13 10:15:34 | autovacuum is ON in the system but commented out in postgresql.conf |
| Previous Message | Subramanian,Ramachandran | 2026-05-04 04:04:30 | AW: Trying to understand Tuple Header |