Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: [Q] how to find how many row in each table in database?

Re: [Q] how to find how many row in each table in database?

From: Marc Billiet <Marc.Billiet_at_alcatel.be>
Date: 1997/08/05
Message-ID: <33E6FF53.741D@alcatel.be>#1/1

Larry Leung wrote:
>
> but i just wonder is that possible not to really read thru every row
> of every table in order to find this out.
> like does oracle maintain a row count for each table in some system
> table.
>

If you analyze your tables frequently (e.g. by executing 'analyze table xxx compute statistics'), you can use column num_rows of the system view user_tables (or all_tables).

Marc Billiet Received on Tue Aug 05 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US