pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Stats turned on but not being updated
2+ messages / 2 participants
[nested] [flat]

* Stats turned on but not being updated
@ 2005-09-09 01:13  adey <adey11@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: adey @ 2005-09-09 01:13 UTC (permalink / raw)
  To: pgsql-admin

Please tell me what I'm missing?
My stats Postgres 7.4 parameters are as follows:-
 stats_start_collector = true
stats_command_string = true
stats_block_level = true
stats_row_level = true
stats_reset_on_server_start = true
 After turning all of these on, I restarted Postgres, then ran a table query 
and saw statistics appear in the following view:-
 pg_statio_all_tables
 However, since that first test query yesterday (and I've run several since 
on different tables today - some of them repeated to ensure the buffer 
should be populated), the statistics haven't changed. Is there another 
parameter, or more space, or something, that I need to allocate please? Even 
the stats on the system tables don't appear to change with several users on 
ths system.
 Adrian

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Stats turned on but not being updated
@ 2005-09-09 02:52  Tom Lane <tgl@sss.pgh.pa.us>
  parent: adey <adey11@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2005-09-09 02:52 UTC (permalink / raw)
  To: adey11@gmail.com; +Cc: pgsql-admin

adey <adey11@gmail.com> writes:
>  However, since that first test query yesterday (and I've run several since=
> =20
> on different tables today - some of them repeated to ensure the buffer=20
> should be populated), the statistics haven't changed.

That seems pretty odd.  Look in the postmaster log to see if you can
find any relevant error messages.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-09-09 02:52 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-09 01:13 Stats turned on but not being updated adey <adey11@gmail.com>
2005-09-09 02:52 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox