Oracle SGA 设置

首先想到的是经查SGA,shared pool

C:\Documents and Settings\Administrator>sqlplus a/a@pszx_db as sysdba

SQL*Plus: Release 10.1.0.2.0 - Production on 星期五 8月 10 10:44:14 2012

Copyright (c) 1982, 2004, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Release 10.1.0.2.0 - Production

SQL> show sga

Total System Global Area  171966464 bytes
Fixed Size                   787988 bytes
Variable Size             144964076 bytes
Database Buffers           25165824 bytes
Redo Buffers                1048576 bytes
SQL> show parameter sga

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
lock_sga                             boolean     FALSE
pre_page_sga                         boolean     FALSE
sga_max_size                         big integer 164M
sga_target                           big integer 0

我去,这不知道是哪位神人装的数据库

SQL> alter system set sga_max_size=1024m scope=spfile;

System altered.

SQL> startup force;

SQL> alter system set sga_target=1000m scope=both;

System altered.

SQL> show parameter sga

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
lock_sga                             boolean     FALSE
pre_page_sga                         boolean     FALSE
sga_max_size                         big integer 1G
sga_target                           big integer 1000M
SQL> show sga

Total System Global Area 1073741824 bytes
Fixed Size                   792324 bytes
Variable Size             170125564 bytes
Database Buffers          901775360 bytes
Redo Buffers                1048576 bytes

 

 

http://www.orasql.com/blog/archives/2012/08/12/62.htm

 

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值