用户登录
用户注册

分享至

深入了解Oracle 10G For NT的启动和关闭

  • 作者: 我也不知道为什么
  • 来源: 51数据库
  • 2020-12-20

       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。

 (责任编辑:刘科)


软件
前端设计
程序设计
Java相关