From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Plans for solving the VACUUM problem |
Date: | 2001-05-18 04:52:40 |
Message-ID: | 13654.990161560@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
mlw <markw(at)mohawksoft(dot)com> writes:
> My only suggestion would be to store some information in the statistics about
> whether or not, and how bad, a table needs to be vacuumed.
I was toying with the notion of using the FSM to derive that info,
somewhat indirectly to be sure (since what the FSM could tell you would
be about tuples inserted not tuples deleted). Heavily used FSM entries
would be the vacuum daemon's cues for tables to hit more often.
ANALYZE stats don't seem like a productive way to attack this, since
there's no guarantee they'd be updated often enough. If the overall
data distribution of a table isn't changing much, there's no need to
analyze it often.
> Also, it would be good to be able to update the statistics without doing a
> vacuum, i.e. rather than having to vacuum to analyze, being able to analyze
> without a vacuum.
Irrelevant, not to mention already done ...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Allen | 2001-05-18 04:57:46 | Re: Plans for solving the VACUUM problem |
Previous Message | Matthew T. O'Connor | 2001-05-18 04:45:14 | Re: Plans for solving the VACUUM problem |