Re: Accessing database statistics - Mailing list pgsql-novice

From John Taylor
Subject Re: Accessing database statistics
Date
Msg-id 02053013173401.02083@splash.hq.jtresponse.co.uk
Whole thread Raw
In response to Accessing database statistics  ("Tony Griffiths(RA)" <griffitt@cs.man.ac.uk>)
List pgsql-novice
On Thursday 30 May 2002 13:00, Tony Griffiths(RA) wrote:
> Hi,
> I need to write a query that returns the number of rows currently stored
> in a table. I presume that I issue a query against the system tables,
> but don't know which one(s) to do this against. So a couple of questions:
>
> 1) With specific reference to my problem, how do I do this?

select count(*) from mytable;

> 2) More generally, is there any where that gives detailed descriptions
> of the system tables?

I always take the view that they are for use by the system, and not for me.
I haven't needed system tables yet.

JohnT

pgsql-novice by date:

Previous
From: "Duncan Adams (DNS)"
Date:
Subject: Re: Accessing database statistics
Next
From: "Duncan Adams (DNS)"
Date:
Subject: Re: Accessing database statistics