OCP-1Z0-052-V8.02-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:An area in the shared pool that contains the parse tree and execution plan for a SQL statement. Only one shared SQL area exists for a unique statement.

cursor is a name or handle to a specific private SQL area.cursors are closely associated with private SQL areas。

private SQL area:An area in memory that holds a parsed statement and other information for processing. The private SQL area contains data such as  bind variable values,query execution state information, and query execution work areas.

The client process is responsible for managing private SQL areas. The allocation and deallocation of private SQL areas depends largely on the application, although the number of private SQL areas that a client process can allocate is limited by the initialization parameter OPEN_CURSORS.


 
原文地址:https://www.cnblogs.com/hzcya1995/p/13316742.html