ITPub博客

首页 > 数据库 > Oracle > Overview of the Program Global Area (PGA)

Overview of the Program Global Area (PGA)

翻译 Oracle 作者:wanghanjun 时间:2015-12-31 16:56:42 0 删除 编辑

https://docs.oracle.com/database/121/CNCPT/memory.htm#CNCPT7777

The PGA is memory specific to an operating process or thread that is not shared by other processes or threads on the system. Because the PGA is process-specific, it is never allocated in the SGA.
PGA是一个进程或者县城的独占内存区域.因为PGA是与指定进程有关系的  ,所以它不会在SGA出现.                                                                                                     

The PGA is a memory heap that contains session-dependent variables required by a dedicated or shared server process. The server process allocates memory structures that it requires in the PGA.
PGA是一个内存的堆,这个堆包含与进程相关联的变量.服务器分配来自PGA的内存.                                                                                                  

An analogy for a PGA is a temporary countertop workspace used by a file clerk. In this analogy, the file clerk is the server process doing work on behalf of the customer (client process). The clerk clears a section of the countertop, uses the workspace to store details about the customer request and to sort the folders requested by the customer, and then gives up the space when the work is done.
有一个PGA的比喻, PGA好比是一个档案管理员的临时台面,档案管理员是一个服务器进程,代表客户在做事情.这个档案管理员收拾好台面的一部分,用存放于客户请求相关的所有内容,然后收回这个区域当工作完成以后.

Figure 14-3 shows an instance PGA (collection of all PGAs) for an instance that is not configured for shared servers. You can use an initialization parameter to set a target maximum size of the instance PGA (see "Summary of Memory Management Methods"). Individual PGAs can grow as needed up to this target size.
下图显示了一个实例的PGA,它并不是为共享服务器配置的.你可以使用初始化参数来设置PGA的最大值,每个单独的PGA能够根据所需增长                           

Figure 14-3 Instance PGA
De.ion of

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8747612/viewspace-1969271/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-05-28

  • 博文量
    42
  • 访问量
    32085