oracle sga


查看sga最大内存大小

select decode(floor(to_number(value/1024/1024/1024)),0,'4M','16M') granules from v$parameter where name='sga_max_size';

GRA
---
16M
查看sga信息

SQL> select * from v$sgainfo;

NAME                                  BYTES RES
-------------------------------- ---------- ---
Fixed SGA Size                      2217584 No
Redo Buffers                       17018880 No
Buffer Cache Size                 922746880 Yes
Shared Pool Size                 1073741824 Yes
Large Pool Size                    16777216 Yes
Java Pool Size                     16777216 Yes
Streams Pool Size                  33554432 Yes
Shared IO Pool Size                       0 Yes
Granule Size                       16777216 No
Maximum SGA Size                 3190132736 No
Startup overhead in Shared Pool   100663296 No

NAME                                  BYTES RES
-------------------------------- ---------- ---
Free SGA Memory Available        1107296256
 

 

oracle共享池

用于存储:
•最近执行的SQL语句
•最近使用的数据定义
§由两个与性能相关的部分组成:
•库高速缓存
•数据字典缓存
§由参数SHARED_POOL_SIZE决定大小

ALTER SYSTEM SET
SHARED_POOL_SIZE = 100M;
 

§

你可能感兴趣的:(oracle,SGA)