ORA-01652: unable to extend temp segment by 128 in tablespace TB1

记录今天实验遇到的一个小问题:

在给一个列创建创建索引的时候报错

ORA-01652: unable to extend temp segment by 128 in tablespace TB1

查询oracle文档    ORA-01652: unable to extend temp segment by string in tablespace string
Cause: Failed to allocate an extent of the required number of blocks for a temporary segment in the tablespace indicated.
Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace indicated.

大概意思就是TB1表空间的临时段不能自动扩展。

需要alter tablespace  来增大表空间。

SQL> alter tablespace tb1 add datafile '/oradata/oralh/tb02.dbf' size 100m;


Tablespace altered.

表空间增大之后再创建索引,

create index inx_id on t(id);

index create

成功创建索引。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值