Re: Postgresqlism & Vacuum?

From: Lincoln Yeoh <lylyeoh(at)mecomb(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Frank Bax <fbax(at)execulink(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresqlism & Vacuum?
Date: 2000-04-17 01:14:42
Message-ID: 3.0.5.32.20000417091442.008e3d40@pop.mecomb.po.my
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 01:23 PM 14-04-2000 -0400, Bruce Momjian wrote:
>
>> Perhaps its time for the two functions to be separated - controlled by an
>> option?
>> Perhaps VACUUM STATONLY could collect stats, not lock table and not reclaim
>> space.
>
>Makes sense.

Actually it may be more logical to have
VACUUM reclaim
VACUUM ANALYZE reclaim then analyze (for downward compatibility)
ANALYZE just analyze

But I still think that some sort of stats could be used dynamically. Even
if the stats aren't optimal (e.g. don't know which MVCC copy to use), using
them should be better than nothing in most cases. In the cases which don't
work then just do a manual analyze - people are already used to doing it
regularly as it's a postgresqlism ;). There are probably only extremely
few/unusual cases where such automatic stats would make things slower.

Well, OK I could be totally wrong - I'm far from a database expert and
don't have a wide experience of databases.

Cheerio,

Link.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lincoln Yeoh 2000-04-17 01:40:47 Re: To BLOB Or Not To BLOB
Previous Message John Henderson 2000-04-17 00:14:57 Re: To BLOB Or Not To BLOB