奇怪的问题,ORA-03232: 59 的扩充区块无法从表格空间 3 加以配置 ??

[复制链接]
查看11 | 回复3 | 2015-3-6 11:57:31 | 显示全部楼层 |阅读模式
ORA-03232: 59 的扩充区块无法从表格空间 3 加以配置
select rownum as id, b.emp_no,b.emp_nam,to_char(a.card_time,'yyyy/mm/dd'),
to_char(a.card_time,'hh24:mi:ss'), a.card_no,a.clock_id
from data_read a,bsempms b
wherea.emp_no=b.emp_no
and a.card_time between to_date('2004/08/01 00:00:00','yyyy/mm/dd hh24:mi:ss')
and (to_date('2004/08/02 23:59:59','yyyy/mm/dd hh24:mi:ss')) order by a.card_time,a.emp_no
在TOAD中执行时提示在 data_read这个表上有问题 。 但是好像没有超过它的extent , 还剩下很多,表的script 好像也没有什么异常 。

CREATE TABLE DATA_READ
(
READ_DATEDATE
NOT NULL,
S_DATA VARCHAR2(30),
CARD_NOVARCHAR2(10)
NOT NULL,
CARD_TIMEDATE
NOT NULL,
EMP_NO VARCHAR2(9),
CLOCK_ID VARCHAR2(6)
)
TABLESPACE DATA
PCTUSED75
PCTFREE10
INITRANS 1
MAXTRANS 255
STORAGE(

INITIAL
10M

NEXT
10M

MINEXTENTS 1

MAXEXTENTS 10240

PCTINCREASE0

FREELISTS1

FREELIST GROUPS1

BUFFER_POOLDEFAULT
)
LOGGING
NOCACHE
NOPARALLEL;
回复

使用道具 举报

千问 | 2015-3-6 11:57:31 | 显示全部楼层
select *
from data_read a,bsempms b
wherea.emp_no=b.emp_no
and a.card_time between to_date('2004/08/01 00:00:00','yyyy/mm/dd hh24:mi:ss')
and (to_date('2004/08/02 23:59:59','yyyy/mm/dd hh24:mi:ss'))
不能执行,提示ORA-03232: 59 的扩充区块无法从表格空间 3 加以配置
------------------------------------------------------------------------------------------------
而下面两个都能执行
select * from data_read a , bsempms b
wherea.emp_no=b.emp_no

select * fromdata_read a , bsempms b
where a.card_time between to_date('2004/08/01 00:00:00','yyyy/mm/dd hh24:mi:ss')
and to_date('2004/08/02 23:59:59','yyyy/mm/dd hh24:mi:ss')
回复

使用道具 举报

千问 | 2015-3-6 11:57:31 | 显示全部楼层
原因:
$ oerr ora 3232
03232, 00000, "unable to allocate an extent of %s blocks from tablespace %s"
// *Cause: An attempt was made to specify a HASH_MULTIBLOCK_IO_COUNT value
// that is greater than the tablespace's NEXT value
// *Action: Increase the value of NEXT for the tablespace using
// ALTER TABLESPACE DEFAULT STORAGE or decrease the value of
// HASH_MULTIBLOCK_IO_COUNT.


方法一
ALTER TABLESPACE XXX_TEMP DEFAULT STORAGE(
NEXT 1022 K
)
表空间不一定是你制定的表空间,更有可能是临时表空间
所以两个都要考虑

方法二
当然alter system set HASH_MULTIBLOCK_IO_COUNT=2
也可以解决
回复

使用道具 举报

千问 | 2015-3-6 11:57:31 | 显示全部楼层
刚刚看了看metalink 上的文章,好像是一个BUG
而且我的tablespace3是 temp 表空间 。 的确应该调整它
http://metalink.oracle.com/metal ... T&p_id=125271.1

You are right this is a bug. I went back through some emails and found references to bug 1205569/714578 on this. Development feels this is a problem in the way this is documented, but I don't agree with them completely. The consensus of several emails on this is that you must set this value as the default of 0 means Oracle will determine the setting dynamically and there are problems with that.
有些文章建议调整 HASH_MULTIBLOCK_IO_COUNT= 8
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行