Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: SIZE of database including all tables.
Bipin,
You may use this script :
set pagesize 0 linesize 255 heading off feedback off SELECT 'The database size is '|| ( (df.sum + rd.sum) / ( 1024 * 1024) )
|| 'Mbg excluding INI, password and control files'
FROM
(SELECT SUM(bytes) sum FROM sys.dba_data_files) df,
(SELECT SUM(bytes * members) sum FROM v$log) rd;
set pagesize 24 heading on feedback on
Regards
Rafiq
From: bipin sahani <bipinsahani_at_yahoo.co.in>
Reply-To: ORACLE-L_at_fatcity.com
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
Subject: SIZE of database including all tables.
Date: Fri, 19 Jan 2001 04:15:25 -0800
Thankx Raj,
Can there a way by which I know total size of database
Including system tables as well.User_extents does not
include system tables.And I don't have sqldba prompt
to query on dba_segmets.
Thankx and regards
Bipin
--- Raj Gopalan <raj.gopalan_at_netdecisions.co.uk>
wrote: > user_extents.
>
> -----Original Message-----
> Sent: 19 January 2001 10:15
> To: Multiple recipients of list ORACLE-L
>
>
> Hi all,
> Is there any way to know the size of table in a
> database.
> If my table is having 25 columns and 100000 rows
> By querying any table can I know size of this table
>
> Thankx and regards
> Bipin
>
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: =?iso-8859-1?q?bipin=20sahani?= INET: bipinsahani_at_yahoo.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 Jan 19 2001 - 13:59:21 CST
![]() |
![]() |