|
原帖由 yxyup 于 2008-3-4 00:46 发表 ![]()
HUNTER@hpjob>show parameter compatib
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
compatible string 10.2.0.3.0
HUNTER@hpjob>select * from v$sgainfo;
NAME BYTES RES
-------------------------------- ---------- ---
Fixed SGA Size 2274264 No
Redo Buffers 8519680 No
Buffer Cache Size 1.6777E+10 Yes
Shared Pool Size 1056964608 Yes
Large Pool Size 117440512 Yes
Java Pool Size 67108864 Yes
Streams Pool Size 0 Yes
Granule Size 16777216 No
Maximum SGA Size 1.8254E+10 No
Startup overhead in Shared Pool 167772160 No
Startup NUMA Shared Pool memory 201326592 No
Free SGA Memory Available 218103808
12 rows selected.
HUNTER@hpjob>select 1056964608/1024/1024 from dual;
1056964608/1024/1024
--------------------
1008
I have a 10.2.0.3 instance on Redhat Linux (2.6.9-34.0.2.EL) and I can reproduce your case, although the difference is not nearly as large as yours (9%).
SQL> select value from v$parameter where name = 'shared_pool_size';
VALUE
------------------------------------------------------------------------------------------------------------------------------------
184549376
SQL> select value from v$spparameter where name = 'shared_pool_size';
VALUE
------------------------------------------------------------------------------------------------------------------------------------
181403648
SQL> select sum(bytes) from v$sgastat where pool = 'shared pool';
SUM(BYTES)
----------
184567136 <-- 17760 bytes higher than 184549376
SQL> select * from v$sgainfo;
NAME BYTES RES
-------------------------------- ---------- ---
Fixed SGA Size 1218868 No
Redo Buffers 2973696 No
Buffer Cache Size 50331648 Yes
Shared Pool Size 184549376 Yes
Large Pool Size 0 Yes
Java Pool Size 25165824 Yes
Streams Pool Size 0 Yes
Granule Size 4194304 No
Maximum SGA Size 264241152 No
Startup overhead in Shared Pool 33554432 No
Free SGA Memory Available 0
11 rows selected.
I don't have the line "Startup NUMA Shared Pool memory" in v$sgainfo (my _enable_NUMA_optimization is default TRUE). What OS are you using? Do you have any underscore parameters in your spfile (create a pfile and check)?
I suggest you open a Tar with Oracle. If you find the answer, please post back.
Yong Huang |
|