首页计算机考试Oracle认证
(简答题)

说明数据库内存结构中SGA和PGA的组成,以及这两个内存区存放信息的区别。

正确答案

SGA区由数据缓冲区、共享池、重做日志缓冲区、大型池、JAVA池构成;PGA区由排序区、私有SQL区以及堆栈构成。
SGA区是由Oracle分配的共享内存结构,包含一个数据库实例共享的数据和控制信息。当多个用户同时连接同一个实例时,SGA区数据供多个用户共享,所以SGA区又称为共享全局区。用户对数据库的各种操作主要在SGA区中进行。该内存区随数据库实例的创建而分配,随实例的终止而释放。PGA区是在用户进程连接数据库,创建一个会话时,由Oracle为用户分配的内存区域,保存当前用户私有的数据和控制信息,因此该区又称为私有全局区。每个服务器进程只能访问自己的PGA区,所有服务器进程PGA区总和即为实例的PGA区的大小。

答案解析

相似试题

  • (单选题)

    以下关于SGA和PGA的叙述正确的是()

    答案解析

  • (单选题)

    SGA是一块巨大的共享内存区域,被看成是Oracle数据库的一个大缓冲池,如果需要查看SGA的大小信息,可以使用如下()语句。

    答案解析

  • (单选题)

    在全局存储区SGA中,哪部分内存区域是循环使用的?()

    答案解析

  • (多选题)

    You configure your database Instance to support shared server connections.Which two memory areas that are part of PGA are stored in SGA instead, for shared server connection?()

    答案解析

  • (多选题)

    Examine the following parameters for a database instance: MEMORY_MAX_TARGET=0 MEMORY_TARGET=0 SGA_TARGET=0 PGA_AGGREGATE_TARGET=500m Which three initialization parameters are not controlled by Automatic Shared Memory Management (ASMM)?()

    答案解析

  • (单选题)

    You specify a nonzero value for the MEMORY_TARGET initialization parameter, but do not set the PGA_AGGREGATE_TARGET or the SGA_TARGET parameters. You restart your database instance. Which statement about the result is true?()

    答案解析

  • (单选题)

    The DBA has chosen to manage SGA and PGA memory separately in an OLTP database because of his unique knowledge of the application. Which of these are good starting points to use when configuring the maximum values for SGA and PGA,based on the amount of memory available on the system?()

    答案解析

  • (简答题)

    程序全局区(PGA)由哪几个部分组成?各部分存放信息的类型是什么?

    答案解析

  • (单选题)

    SQL语句的编译和执行是在SGA的哪一部分中进行的()

    答案解析

快考试在线搜题