> The vacuum man page says, "FREEZE is not recommnded for routine use".
> That was enough to keep me away. However if vacuum freeze was
> considerably lighter than normal database wide vacuums then there might
> be an advantage to using it. Especially since when pg_autovaccum
> decides it's time to deal with xid wraparound, it does it to all the
> databases, which could a several hours of vacuum on large clusters.
Each database has it's own last xid. Just because one database is about
to go over the limit doesn't mean they all are. Why don't you treat
each database independently in this regard (then they wouldn't
necessarily all be kicked off at once).