oracle java_pool_size_oracle 内存分配和调优 总结

对于 oracle 来说,存在着 32bit 与 64bit 的问题。这个问题影响到的主要是 SGA 的大小。在 32bit

的数据库下,通常 oracle 只能使用不超过 1.7G 的内存,即使我们拥有 12G 的内存,但是我们却只能使用

1.7G,这是一个莫大的遗憾。假如我们安装 64bit 的数据库,我们就可以使用很大的内存,我们几乎不可能达到上限。但是 64bit

的数据库必须安装在 64bit 的操作系统上,可惜目前 windows 上只能安装 32bit 的数据库. 但是在特定的操作系统下,可能提供了一定的手段,使得我们可以使用超过 1.7G 的内存,达到 2G 以上甚至更多。

=================补充=======================

Oracle数据库包含了如下基本内存组件

System global area (SGA)

The SGA is a group of shared memory structures, known as SGA components,

that contain data and control information for one Oracle Database

instance. The SGA is shared by all server and background processes.

Examples of data stored in the SGA include cached data blocks and shared

SQL areas.

Program global area (PGA)

A PGA is a

nonshared memory region that contains data and control information

exclusively for use by an Oracle process. The PGA is created by Oracle

Database when an Oracle process is started.

One PGA exists for each server process and background process. The collection of individual PGAs is the total instance PGA, or instance PGA. Database initialization parameters set the size of the instance PGA, not individual PGAs.

User Global Area (UGA)

The UGA is memory associated with a user session.

Software code areas

Software

code areas are portions of memory used to store code that is being run

or can be run. Oracle Database code is stored in a software area that is

typically at a different location from user programs—a more exclusive

or protected location.

9acd5a3a7317bc98d29838fc1beb5352.gif

内存管理

Oracle依赖于内存相关的初始化参数来控制内存的管理。

内存管理有如下三个选项

Automatic memory management

You

specify the target size for instance memory. The database in

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值