Unix Technical Forum

Stats turned on but not being updated

This is a discussion on Stats turned on but not being updated within the pgsql Admins forums, part of the PostgreSQL category; --> Please tell me what I'm missing? My stats Postgres 7.4 parameters are as follows:- stats_start_collector = true stats_command_string = ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 06:14 AM
adey
 
Posts: n/a
Default Stats turned on but not being updated

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 06:14 AM
Tom Lane
 
Posts: n/a
Default Re: Stats turned on but not being updated

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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:03 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com