ORA-00379: 缓冲池 DEFAULT 中无法提供 32K 块大小的空闲缓冲区

今天遇到如下问题:

sys@HX> SELECT distinct  e.owner,e.segment_name,e.segment_type

2  FROM  dba_extents e,

(select * from (select addr,ts#,file#,dbarfil,dbablk,tch from x$bh order by tch desc) where rownum<=10) b

WHERE e.relative_fno=b.dbarfil

5  AND e.block_id<=b.dbablk

6  AND e.block_id+e.blocks>b.dbablk;

FROM  dba_extents e,

*

ERROR at line 2:

ORA-00379: 缓冲池 DEFAULT 中无法提供 32K 块大小的空闲缓冲区

猜想是因为之前设置了db_32k_cache_size参数,并且建立了32k block_size大小的表空间,但是现在用了旧的参数文件,导致无法为相应的块按照32k的block_size来分配buffer cache,

sys@HX> show parameter cache;

NAME                                |TYPE       |VALUE

------------------------------------|-----------|------------------------------

client_result_cache_lag             |big integer|3000

client_result_cache_size            |big integer|0

db_16k_cache_size                   |big integer|0

db_2k_cache_size                    |big integer|0

db_32k_cache_size                   |big integer|0

db_4k_cache_size                    |big integer|0

db_8k_cache_size                    |big integer|0

db_cache_advice                     |string     |ON

sys@HX> select tablespace_name,block_size from dba_tablespaces;

TABLESPACE_NAME     |BLOCK_SIZE

--------------------|----------

SYSTEM              |      8192

SYSAUX              |      8192

UNDOTBS1            |      8192

USERS               |      8192

TEMPGROUP11         |      8192

HR                  |      8192

KKKK                |     32768

CLUSTER1            |      8192

8 rows selected.

修改参数,或者删除kkkk表空间即可

sys@HX> alter system set db_32k_cache_size=16m;

System altered.

sys@HX> show parameter cache;

NAME                                |TYPE       |VALUE

------------------------------------|-----------|------------------------------

client_result_cache_lag             |big integer|3000

client_result_cache_size            |big integer|0

db_16k_cache_size                   |big integer|0

db_2k_cache_size                    |big integer|0

db_32k_cache_size                   |big integer|16M

db_4k_cache_size                    |big integer|0

db_8k_cache_size                    |big integer|0

sys@HX> select tablespace_name,block_size from dba_tablespaces;

TABLESPACE_NAME     |BLOCK_SIZE

--------------------|----------

SYSTEM              |      8192

SYSAUX              |      8192

UNDOTBS1            |      8192

USERS               |      8192

TEMPGROUP11         |      8192

HR                  |      8192

KKKK                |     32768

CLUSTER1            |      8192

8 rows selected.

问题解决。


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

转载于:http://blog.itpub.net/28813259/viewspace-776626/

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值