ORA-01552: cannot use system rollback segment for non-system tablespace 'USERS'

ames@JILL>create table test(x int);
create table test(x int)
*
ERROR at line 1:
ORA-01552: cannot use system rollback segment for non-system tablespace 'USERS'

james@JILL>show parameters rollback

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
fast_start_parallel_rollback         string      LOW
rollback_segments                    string
transactions_per_rollback_segment    integer     5

sys@JILL>show parameters undo

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
undo_management              string      MANUAL
undo_retention                     integer     900
undo_tablespace                 string      UNDOTBS

想起来 上次使用pfile重建spfile时候可能没有指定undo_management 的参数。
于是:

sys@JILL>alter system set undo_management=auto scope=spfile;

System altered.

sys@JILL>startup force;
ORACLE instance started.

Total System Global Area 524288000 bytes
Fixed Size                  1284272 bytes
Variable Size             146802512 bytes
Database Buffers          373293056 bytes
Redo Buffers                2908160 bytes
Database mounted.
Database opened.
sys@JILL>show parameters undo

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
undo_management                      string       AUTO
undo_retention                       integer     900
undo_tablespace                      string      UNDOTBS


sys@JILL>conn james/james

Connected.

Practice make Perfect.   Keep Moming,James!

james@JILL>create table test(x int);

Table created.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值