Chinaunix首页 | 论坛 | 博客
  • 博客访问: 539446
  • 博文数量: 65
  • 博客积分: 1158
  • 博客等级: 少尉
  • 技术积分: 1261
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-18 22:07
文章分类

全部博文(65)

文章存档

2016年(1)

2014年(2)

2013年(9)

2012年(53)

分类: Oracle

2012-11-10 09:10:03

1.快速启动Oracle服务并打开数据库

C:\Users\Administrator>oradim -startup -sid myoracle   --这是指要打开的数据库的sid(不区分大小写)

C:\Users\Administrator>sqlplus /nolog

SQL*Plus: Release 10.2.0.3.0 - Production on 星期五 11月 9 23:08:19 2012

Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.

SQL> conn / as sysdba
已连接。
SQL> exit
从 Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options 断开

2.关闭数据库可以使用这样的DOS命令
C:\Users\Administrator>oradim -shutdown -sid myoracle

3.查看系统中打开的Oracle服务
C:\Users\Administrator>net start | find "Oracle"
   OracleServiceMYORACLE

4.停止Oracle服务
C:\Users\Administrator>net stop  OracleServiceMYORACLE
OracleServiceMYORACLE 服务正在停止.
OracleServiceMYORACLE 服务已成功停止。
阅读(4158) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~