From:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To:
"Simon Riggs" <simon(at)2ndquadrant(dot)com>
Cc:
"Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>,
"Alvaro Herrera" <alvherre(at)commandprompt(dot)com>,
pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject:
Re: [HACKERS] WAL logging freezing
Date:
2006-11-01 14:50:56
Message-ID:
18776.1162392656@sss.pgh.pa.us (view raw or flat )
Thread:
2006-10-24 07:20:13 from Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
2006-10-24 12:11:33 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2006-10-24 14:11:43 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-10-27 15:44:52 from "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
2006-10-27 16:01:12 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-10-27 21:19:54 from "Simon Riggs" <simon(at)2ndquadrant(dot)com>
2006-10-27 21:23:38 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-10-27 22:03:17 from "Simon Riggs" <simon(at)2ndquadrant(dot)com>
2006-10-30 13:42:27 from "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
2006-10-30 14:08:37 from "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
2006-10-30 16:20:56 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2006-10-30 17:05:19 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-10-30 20:30:19 from "Simon Riggs" <simon(at)2ndquadrant(dot)com>
2006-10-30 21:39:58 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2006-10-30 22:10:08 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-10-30 21:58:14 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-10-31 00:01:00 from "Simon Riggs" <simon(at)2ndquadrant(dot)com>
2006-10-31 00:18:50 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-10-31 00:58:40 from "Simon Riggs" <simon(at)2ndquadrant(dot)com>
2006-10-31 01:40:28 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-10-31 14:24:12 from "Simon Riggs" <simon(at)2ndquadrant(dot)com>
2006-10-31 10:41:10 from Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
2006-10-31 15:06:40 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-10-31 16:04:55 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-10-31 19:49:27 from Gregory Stark <stark(at)enterprisedb(dot)com>
2006-10-31 19:56:59 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2006-10-31 21:25:18 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-10-31 21:10:31 from "Simon Riggs" <simon(at)2ndquadrant(dot)com>
2006-11-01 14:50:56 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-11-02 21:50:31 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-11-02 23:57:08 from "Simon Riggs" <simon(at)2ndquadrant(dot)com>
2006-11-03 10:40:14 from "Zeugswetter Andreas ADI SD" <ZeugswetterA(at)spardat(dot)at>
2006-11-03 13:45:04 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2006-11-04 17:35:16 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-11-05 09:21:05 from "Simon Riggs" <simon(at)2ndquadrant(dot)com>
2006-11-05 16:26:20 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-11-05 17:01:54 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-11-05 18:24:55 from "Simon Riggs" <simon(at)2ndquadrant(dot)com>
2006-11-05 18:28:34 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-11-05 19:47:28 from Gregory Stark <stark(at)enterprisedb(dot)com>
2006-11-05 21:39:25 from "Simon Riggs" <simon(at)2ndquadrant(dot)com>
2006-11-05 21:44:43 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-11-05 09:52:36 from "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
2006-11-05 16:29:06 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-10-31 16:23:40 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Lists:
pgsql-hackers pgsql-patches
"Simon Riggs" <simon(at)2ndquadrant(dot)com> writes:
> Do we need another GUC? I thought your observation about a PITR slave
> having that set lower than its master still remains unresolved.
No, AFAICS that's not an issue in this design. The facts-on-the-ground
are whatever is recorded in pg_class.relvacuumxid, and whether a
particular table has been vacuumed with a shorter or longer freeze
window doesn't affect correctness. In particular, a slave with
ambitions towards having a shorter window would still be unable to
truncate its clog before having re-vacuumed everything.
So, not only could we have a GUC variable, but it could be USERSET;
there's no breakage risk as long as we constrain the value range to
something sane.
It strikes me that VACUUM FREEZE could be replaced by
SET vacuum_freeze_limit = 0
VACUUM ...
which would be a good thing because the FREEZE keyword has to be
partially reserved in this syntax, and that is contrary to spec.
regards, tom lane
In response to
pgsql-hackers by date
Next :From: Joshua D. DrakeDate: 2006-11-01 14:56:19
Subject : Re: [HACKERS] Index greater than 8k
Previous :From : Stephen FrostDate : 2006-11-01 14:33:22
Subject : Re: Design Considerations for New Authentication Methods
pgsql-patches by date
Next :From: Tom LaneDate: 2006-11-01 15:06:49
Subject : Re: Extended protocol logging
Previous :From : Dave CramerDate : 2006-11-01 12:02:53
Subject : Re: Extended protocol logging