当前位置:Gxlcms > 数据库问题 > 数据库启动步骤

数据库启动步骤

时间:2021-07-01 10:21:17 帮助过:17人阅读

技术分享

启动实例:

$ ls $ORACLE_HOME/dbs/spfileorcl.ora

Strings  ORACLE_HOME/dbs/spfileorcl.ora

SQL> shutdown immediate

SQL> startup nomount

SQL> select status from v$instance;

SQL> select * from v$sgainfo;

SQL> select * from hr.employees;

SQL> conn hr/hr

 

SQL> startup mount或alter database mount;

SQL> show parameter control_files

SQL> select status from v$instance;检查实例状态

SQL> select * from v$controlfile;动态性能视图

SQL> select name from v$datafile;

SQL> select * from hr.employees;

SQL> conn hr/hr

 

SQL> startup或alter database open;

SQL> select status from v$instance;

SQL> select * from hr.employees;

SQL> conn hr/hr

数据库启动步骤

标签:leo   性能视图   param   down   database   employees   pfile   动态性   状态   

人气教程排行