OCP 1Z0 052 15

15. Which two statements are true about Shared SQL Area and Private SQL Area? (Choose two.) 
A.Shared SQL Area will be allocated in the shared pool. 
B.Shared SQL Area will be allocated when a session starts. 
C.Shared SQL Area will be allocated in the large pool always. 
D.Private SQL Area will be allocated in the Program Global Area (PGA) always. 
E.Shared SQL Area and Private SQL Area will be allocated in the PGA or large pool. 
F.The number of Private SQL Area allocations is dependent on the OPEN_CURSORS parameter. 
Answer: AF 

Shared SQL Area 位于sga中。实例启动就就分配,并可在运行过程中动态或手动调整。
Private SQL Area 当使用共享服务器时位于sga中,当使用专用服务器时位于pga中
Private SQL Area 的个数依赖于参数 OPEN_CURSORS 的设置

可以以下语句观察该参数及其它类似参数的设置及应用情况

SQL> select * from v$resource_limit;
RESOURCE_NAME                  CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_ALLOCATION   LIMIT_VALUE
------------------------------ ------------------- --------------- -------------------- --------------------
processes                                       27              34        150                  150
sessions                                        31              40        248                  248
enqueue_locks                                   24              37       3160                 3160
enqueue_resources                               23              47       1308            UNLIMITED
ges_procs                                        0               0          0                    0
ges_ress                                         0               0          0            UNLIMITED
ges_locks                                        0               0          0            UNLIMITED
ges_cache_ress                                   0               0          0            UNLIMITED
ges_reg_msgs                                     0               0          0            UNLIMITED
ges_big_msgs                                     0               0          0            UNLIMITED
ges_rsv_msgs                                     0               0          0                    0
gcs_resources                                    0               0  UNLIMITED            UNLIMITED
gcs_shadows                                      0               0  UNLIMITED            UNLIMITED
smartio_overhead_memory                          0               0          0            UNLIMITED
smartio_buffer_memory                            0               0          0            UNLIMITED
smartio_metadata_memory                          0               0          0            UNLIMITED
smartio_sessions                                 0               0          0            UNLIMITED
dml_locks                                        1              23       1088            UNLIMITED
temporary_table_locks                            0               2  UNLIMITED            UNLIMITED
transactions                                     1               2        272            UNLIMITED
branches                                         0               0        272            UNLIMITED
cmtcallbk                                        1               2        272            UNLIMITED
max_rollback_segments                           11              11        272                65535
sort_segment_locks                               5               9  UNLIMITED            UNLIMITED
k2q_locks                                        0               0        496            UNLIMITED
max_shared_servers                               1               1  UNLIMITED            UNLIMITED
parallel_max_servers                             0               2         80                 3600
27 rows selected
Executed in 0.125 seconds


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值