注:这里是在oracle服务器上操作的,要从本地连远程的请查阅其他资料

关闭

C:\Users\Administrator>sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on 星期五 2月 15 16:45:56 2019

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

SQL> conn /as sysdba
已连接。

SQL> shutdown immediate;
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> exit;
从 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 断
开

启动

C:\Users\Administrator>sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on 星期五 2月 15 16:45:56 2019

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

SQL> conn /as sysdba
已连接。

SQL> startup
ORACLE 例程已经启动。

Total System Global Area 2572144640 bytes
Fixed Size                  2178496 bytes
Variable Size            1929380416 bytes
Database Buffers          620756992 bytes
Redo Buffers               19828736 bytes
数据库装载完毕。
数据库已经打开。

还可以指定pfile来修改启动的参数(参考另一篇文章)

更多推荐

使用sqlplus重新启动oracle数据库