Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: SGA info.
Hermanto
which version of oracle u r running?Just see following output
SVRMGR> connect internal;
Connected.
SVRMGR> select sum(value) from v$sga;
SUM(VALUE)
Total System Global Area 1033101472 bytes Fixed Size 73888 bytes Variable Size 537395200 bytes Database Buffers 491520000 bytes Redo Buffers 4112384 bytesIf u see all three output you can see the diffrence.The correct view to check size of sga is v$sga.
>From: Hermanto P <hermanto_p_at_aprilasia.com>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: RE: SGA info.
>Date: Wed, 08 Aug 2001 20:51:10 -0800
>
>Raja,
>if i do what you do..the value is same.
>i am not sure if you said the value between v$sgastat and v$sga is
>different.
>
>SVRMGR> select sum(value) from v$sga;
>SUM(VALUE)
>----------
> 64046072
>1 row selected.
>SVRMGR> select sum(bytes) from v$sgastat;
>SUM(BYTES)
>----------
> 64046072
>1 row selected.
>SVRMGR>
>
>Warm Regards,
>
>Hermanto P
>Application Engineer
>PT Riau Andalan Pulp And Paper - IT/IS Dept.
>Phone : (0761) - 491147 / 491354
>HP : 0812-752-3092
>"Dream as if you'll live forever, live as if you'll die today"
>
>
>
>
>-----Original Message-----
>Sent: Thursday, August 09, 2001 11:30 AM
>To: Multiple recipients of list ORACLE-L
>
>
>Hello gurus,
>
>I am not able to understand 1 thing:-
>
>1. If I do :-
>
>select sum(bytes) from v$sgastat;
>it gives me the SGA as :- 35041712
>
>2. But if I do :-
>
>select sum(value) from v$sga I get:- 35059816
>
>There is a difference of 18104 between 2 figures.
>
>Which 1 should I trust? which gives me the correct value of SGA?
>
>thanks
>
>rdgs,
>
>raja
>
>
>Get 250 color business cards for FREE!
>http://businesscards.lycos.com/vp/fastpath/
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Viraj Luthra
> INET: viraj999_at_lycos.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: Hermanto P
> INET: hermanto_p_at_aprilasia.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: Seema Singh INET: oracledbam_at_hotmail.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).Received on Thu Aug 09 2001 - 12:49:22 CDT
![]() |
![]() |