首页 > 数据库 > Oracle > 052-015题解析
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存储着SQL的执行计划等信息,可以被多个session共享,该component存储在SGA中
Private SQL Area 包括绑定变量等信息,每个session的这类信息都不一样,为session所独有(PGA)。且在Private SQL Area 存储一个指向shared SQL area ( SGA )中共享SQL的指针,与OPEN_CURSORS参数相关。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12798004/viewspace-1133334/ ,如需转载,请注明出处,否则将追究法律责任。