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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Script to know the size of each table in a schema ?

RE: Script to know the size of each table in a schema ?

From: tapas dutta <tapasoracle_at_umtl.co.in>
Date: Thu, 15 Mar 2001 23:35:25 -0800
Message-ID: <F001.002CE94D.20010315232530@fatcity.com>

HEY, THERE IS SOMETHING WRONG IN THE UNDERSTANDING. BY THE MENTIONED SCRIPT ONE CAN ONLY KNOW THE NO. OF ROWS PRESENT IN EACH TABLE FOR THAT PARTICULAR SCHEMA NOT THE SIZE. IS N'T IT.

-----Original Message-----
From: Bambang Setiawan [SMTP:Bambang.Setiawan_at_Sidola.com] Sent: Friday, March 16, 2001 8:45 AM

To:     Multiple recipients of list ORACLE-L
Subject:        Re: Script to know the size of each table in a schema ?

Hi ,

Thanks a lot for your help , Ruth : )

sincerely yours,

=bambang=

<> Bambang Setiawan <>

>>> "Ruth Gramolini" <rgramolini_at_tax.state.vt.us> 03/15/01 11:40 >>> You can spool the output of this SQL and run it.

select 'select '''||table_name||''', count(*) from '||table_name||';' from dba_tables where owner='SCHEMA_OWNER';

To get the table name in the output you have to put 3 ' s before and after the first ||table_name||.

HTH,
Ruth

Dear Listers,

I just made script to know the size of datafile in a tablepace , but I still have no idea to make a script to know the size of each table in a schema ?

is there anyone who has the script ?
furthermore , I need some information about relationship diagram which describe
the relation among tables/view to calculate storage of objects ( i.e tablespace , datafile , segment , extent ) .

thanks in advance : )

=bambang=

<> Bambang Setiawan <>

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
--
Author: Bambang Setiawan
  INET: Bambang.Setiawan_at_Sidola.com 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: Ruth Gramolini
  INET: rgramolini_at_tax.state.vt.us 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Bambang Setiawan
  INET: Bambang.Setiawan_at_Sidola.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: tapas dutta
  INET: tapasoracle_at_umtl.co.in

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Mar 16 2001 - 01:35:25 CST

Original text of this message

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