Re: zero values in statistic views - Mailing list pgsql-general

From Tom Lane
Subject Re: zero values in statistic views
Date
Msg-id 14775.1163125232@sss.pgh.pa.us
Whole thread Raw
In response to Re: zero values in statistic views  (Cornelia Boenigk <poppcorn@cornelia-boenigk.de>)
Responses Re: zero values in statistic views
List pgsql-general
Cornelia Boenigk <poppcorn@cornelia-boenigk.de> writes:
> stats_row_level and stats_block_level are disabled in postgresql.conf.
> I used the SET command to activate them.

That's not going to accomplish a lot --- it'll only cause the session
you did the SET in to report to the stats collector.  You need to change
them in postgresql.conf and SIGHUP the postmaster so that they'll take
effect in all sessions.

>>> If it's not running, look in the postmaster log right after
>>> restarting the postmaster; there may be a message there about why
>>> not.

> I cannot restart the postmaster, it is a production server.

[ shrug... ] If the stats collector isn't running, you aren't going to
get it to run without a postmaster restart.  But you didn't say what
the ps output showed.

            regards, tom lane

pgsql-general by date:

Previous
From: Cornelia Boenigk
Date:
Subject: Re: zero values in statistic views
Next
From: Glen Parker
Date:
Subject: Re: AutoVacuum on demand?