Re: [PATCHES] A way to let Vacuum warn if FSM settings are low. [final?] - Mailing list pgsql-general

From Bruce Momjian
Subject Re: [PATCHES] A way to let Vacuum warn if FSM settings are low. [final?]
Date
Msg-id 200503140252.j2E2qJa19705@candle.pha.pa.us
Whole thread Raw
In response to Re: [PATCHES] A way to let Vacuum warn if FSM settings are low. [final?]  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Responses Re: [PATCHES] A way to let Vacuum warn if FSM settings are low. [final?]
List pgsql-general
Ron Mayer wrote:
> Bruce Momjian wrote:
> >
> > You didn't like server_min_messages = 'notify'?
>
> I merely don't have a feeling for how much additional stuff
> verbose would be putting in the log files.

You will probably see the creation of indexes and sequences, like this:

    test=> create table test(x int primary key);
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
    "test_pkey" for table "test"

> If it's a good practice for production systems to be logging
> NOTIFY's I'm happy with the change.

Not really.  The FSM message has a lot more interest than the other
NOTIFY messages.

> My reasoning why I thought the log file was more useful was
> that only an admin with access to the log files could really
> do anything about the message anyway.

The log file is useful, but I think showing the VACUUM user is _more_
useful than the log file.

> Also since the message happing occasionally is probably OK,
> yet if it happens a lot it's more likely worth looking
> into - I think the historical record of when it happened
> is more interesting than a one-time occurrence which is
> all you seen in the active session.

Seems it could be made to be both client and log, but I can't think of
any case were we do that now, and am unsure it is a good idea to add it
just for this.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Klint Gore
Date:
Subject: Re: sql question
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] A way to let Vacuum warn if FSM settings are