Skip site navigation (1) Skip section navigation (2)

Re: Statistics tab, "Tables" node

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Statistics tab, "Tables" node
Date: 2008-05-05 15:38:50
Message-ID: 481F2A0A.3000100@lelarge.info (view raw or flat)
Thread:
Lists: pgadmin-hackers
Magnus Hagander a écrit :
> Guillaume Lelarge wrote:
>>  [...]
>> I'm wondering if we could put all pg_stat_all_tables columns here. 
>> That's a lot of informations, but at least some informations seem to
>> be worth it : n_live_tup, n_dead_tup, last_vacuum, last_autovacuum, 
>> last_analyze, last_autoanalyze. I would also like to add some other 
>> stuff like the % of the table in cache (if pg_buffercache is
>> available).
>>
>> Comments, ideas ?
> 
> +1 on the stuff from pg_stat (but make sure to check which columns are
> available in which version)
> 

The patch attached takes care of this.

> -1 on the pg_buffercache stuff. That one can be populated using a
> special option I think, but since pg_buffercache takes out some fairly
> heavy locking, we shouldn't do that by default.
> 

I agree, it would be better to have an option (disabled by default).


-- 
Guillaume.
  http://www.postgresqlfr.org
  http://dalibo.com

Attachment: tablesliststats.patch
Description: text/x-patch (3.3 KB)

In response to

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2008-05-06 10:10:00
Subject: wxWidgets book - now free for download
Previous:From: Magnus HaganderDate: 2008-05-05 12:53:44
Subject: Re: Statistics tab, "Tables" node

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group