Missing system views?

From: "Bjorn T Johansen" <btj(at)havleik(dot)no>
To: pgsql-general(at)postgresql(dot)org
Subject: Missing system views?
Date: 2003-09-04 08:42:01
Message-ID: 37280.193.212.14.12.1062664921.squirrel@www.havleik.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am trying to check performance in out database but I seem to be
missing something. I try to run :

select relname, idx_tup_fetch + seq_tup_read as total from
pg_stat_all_tables

but all the tables have total = 0, shouldn't these be numbers > 0?

And shouldn't there be views like pg_statio and pg_stat? (they do not
exist in my database...)

Regards,

BTJ

-----------------------------------------------------------------------------------------------
Bjørn T Johansen (BSc,MNIF)
Executive Manager
btj(at)havleik(dot)no Havleik Consulting
Phone : +47 67 54 15 17 Conradisvei 4
Fax : +47 67 54 13 91 N-1338 Sandvika
Cellular : +47 926 93 298 http://www.havleik.no
-----------------------------------------------------------------------------------------------
"The stickers on the side of the box said "Supported Platforms: Windows
98, Windows NT 4.0,
Windows 2000 or better", so clearly Linux was a supported platform."
-----------------------------------------------------------------------------------------------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bjorn T Johansen 2003-09-04 08:54:26 Re: Missing system views?
Previous Message Andreas Muck 2003-09-04 08:13:09 Re: More than 1024 connections from the same c-backend