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: Anton Dischner <dischner_at__NO_SPAM_med.uni-muenchen.de>
Date: 1997/07/30
Message-ID: <dischner-ya02408000R3007971820460001@news.lrz-muenchen.de>#1/1

Hi Larry,

you might want to use the optimizer statistics. Remember: 'analyze table estimate|compute statistics ' produces estimated|computed sizes of tables.

Use select table_name,num_rows ... from sys.all_tables;

Kind regards,

Toni

In article <33DDEE18.5C465511_at_hkstar.com>, llarry_at_hkstar.com wrote:

> hello everyone,
>
> i just wonder is there a better way to find out how many row of each
> table in
> the database. It is because i am assigned a job to refresh our
> development
> database from the production one.
>
> by 'select count(*)' from each table seems time consuming.
>
> thanks in advance
>
> larry
 

-- 
A. Dischner, SGI&AIX sysadmin, Oracle DBA       | Don't let friends
Institut fuer Klinische Chemie                  | use WinDose
Klinikum Grosshadern                            | Just say NO. 
Ludwig Maximilians Universitaet Muenchen,  GER  | Please remove            
Marchioninistr.15 81366 Muenchen 49-89-70953202 | _NO_SPAM for email.
Received on Wed Jul 30 1997 - 00:00:00 CDT

Original text of this message

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