深入了解Oracle 10g for NT的起动和关闭

上一篇 / 下一篇  2008-01-19 16:46:00 / 个人分类:技术大观

 

1. 在服务中起动 OracleServiceORCL.或运行oracle.exe ORCL

2. 启动实例:

sqlplus sys/aaaaaaaa as sysdba

SQL>startup

******************例子开始****************

d:\>SQLPLUS sys/aaaaaaaa as sysdba

SQL*Plus: Release 10.1.0.2.0 - Production 
星期六 8月 28 19:42:29 2004

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

Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area  134217728 bytes
Fixed Size                   787808 bytes
Variable Size              61864608 bytes
Database Buffers           71303168 bytes
Redo Buffers                 262144 bytes
Database mounted.
Database opened.
SQL> select * from scott.a;

ID   NAME
---- --------------------
ADDRESS
------------------------------------
01   姚湘
CHINA,中国吉林


SQL>

*******************例子结束**********

3. 关闭

SQL> shutdown

4. 停相应的服务(OracleServiceORCL)

注释:开放port 1521 用 lsnrctl start,看状态用lsnrctl status,关闭用lsnrctl stop


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-08-14  
     12
3456789
10111213141516
17181920212223
24252627282930
31      

数据统计

  • 访问量: 2465
  • 日志数: 149
  • 建立时间: 2007-03-30
  • 更新时间: 2008-04-29

RSS订阅

Open Toolbar