2007. 12. 23. 20:12 DataBase/Oracle
Oracle의 시작과 중지 절차
o Oracle 8i 이전
- Oracle Start
root@server:/> su - oracle
oracle@server:/dbase/oracle8> svrmgrl
SVRMGRL> connect internal
SVRMGRL> startup
oracle@server:/dbase/oracle8> lsnrctl start
- Oracle Stop
root@server:/> su - oracle
oracle@server:/dbase/oracle8> lsnrctl
LSNRCTL> set password (패스워드 입력)
LSNRCTL> stop
LSNRCTL> exit
oracle@server:/dbase/oracle8> svrmgrl
SVRMGRL> connect internal
SVRMGRL> shutdown immediate
o Oracle 9i 이후
- Oracle Start
PROMPT> sqlplus /nolog
SQL> conn sys/패스워드 as sysdba
SQL> startup
PROMPT> lsnrctl start
- Oracle Stop
PROMPT> lsnrctl
LSNRCTL> set password (패스워드 입력)
LSNRCTL> stop
PROMPT> sqlplus /nolog
SQL> conn sys/패스워드 as sysdba
SQL> shutdown immediate