| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | poppcorn(at)cornelia-boenigk(dot)de |
| Cc: | Liste pg_general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: zero values in statistic views |
| Date: | 2006-11-10 01:30:57 |
| Message-ID: | 14288.1163122257@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Cornelia Boenigk <poppcorn(at)cornelia-boenigk(dot)de> writes:
> I would like to see what is going on in a database using the statistic
> views.
> I am superuser,
> stats_start_collector = on
> stats_row_level = on
> stats_block_level = on
That all looks OK, but it sounds like the stats collector is not running
anyway. Have you checked with "ps" to see if the postmaster has a
couple of child processes calling themselves stats buffer and stats
collector? (You may need to say "ps aux" or "ps -ef" depending on
platform to see these labels rather than generic "postmaster" labels.)
If it's not running, look in the postmaster log right after restarting
the postmaster; there may be a message there about why not.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-11-10 01:33:57 | Re: Remote tables infrastructure. |
| Previous Message | Richard Broersma Jr | 2006-11-10 01:26:39 | Re: AutoVacuum on demand? |