lsnrctl start
lsnrctl stop
lsnrctl status
emctl start dbconsole 启动
emctl stop dbconsole 停止
sqlplus system/123456@orcl
sqlplus / as sysdba
SQL> shutdown immediate; 关闭数据库
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount; 挂载数据库
ORACLE instance started.
Total System Global Area 234344448 bytes
Fixed Size 1335696 bytes
Variable Size 150998640 bytes
Database Buffers 79691776 bytes
Redo Buffers 2318336 bytes
Database mounted.
SQL> alter database noarchivelog; 关闭归档日志
Database altered.
SQL>
SQL> alter database open; 开启数据库
Database altered.
阅读(711) | 评论(0) | 转发(0) |