远程连接到 oracle 所在机器
sqlplus /nolog
conn / as sysdba
参考:http://www.jb51.cc/article/p-ejxcxqdk-bpt.html
alter tablespace system add datafile ‘/home/oracle/systemother/system_01.dbf’ size 2048M
alter database datafile ‘/home/oracle/systemother/system_01.dbf’ autoextend on;
alter system set audit_trail=none scope=spfile;//关闭审计功能,正式环境不要执行
shutdown immediate;
startup
如果shutdown immediate 一直卡住。(几分钟了还没反应)
调用
shutdown abort
startup
当看到 Database opened 表示启动成功了。 Total System Global Area 167772160 bytes Fixed Size 1218316 bytes Variable Size 104859892 bytes Database Buffers 58720256 bytes Redo Buffers 2973696 bytes Database mounted. Database opened.