C:\Users\yichunmei>sqlplus / as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on 星期四 10月 27 09:01:44 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
连接到:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> alter system set undo_retention=1800;
系统已更改。
SQL> alter system set undo_retention=900;
系统已更改。
SQL> create undo tablespace undotbs_02
2 datafile 'D:\APP\YICHUNMEI\ORADATA\ORCL\UNDOTBS02.DBF' size 2M reuse autoextend on;
表空间已创建。
SQL> alter tablespace undotbs_02
2 add datafile 'D:\APP\YICHUNMEI\ORADATA\ORCL\UNDOTBS03.DBF' size 20M
3 autoextend on
4 next 1M
5 maxsize unlimited;
表空间已更改。
SQL> alter system set undo_tablespace=undotbs_02;
系统已更改。
SQL> alter system set undo_tablespace='';
系统已更改。
SQL> alter system set undo_tablespace=UNDOTBS1;
系统已更改。
SQL> drop tablespace undotbs_02;
表空间已删除。
SQL>
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25989950/viewspace-709797/ ,如需转载,请注明出处,否则将追究法律责任。