oracle数据库的启动和关闭操作

[oracle@mylinux ~]$ sqlplus " / as sysdba" //通过sqlplus工具用户sysdba

SQL*Plus: Release 11.1.0.6.0 - Production on Fri May 28 01:41:50 2010

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

Connected to an idle instance.

SQL> startup  // 启动数据库实例
ORACLE instance started.

Total System Global Area  422670336 bytes
Fixed Size                  1300352 bytes
Variable Size             293603456 bytes
Database Buffers          121634816 bytes
Redo Buffers                6131712 bytes
Database mounted.
Database opened.
SQL> select * from t_staff;

   STAFFNO STAFFNAME                      STAFFTYPE  STATUS
---------- ------------------------------ ---------- ----------
         0 levin                          1          01
         1 xieyx                          2          01
         3 zhaob                          2          02

SQL> shutdown immediate  //关闭数据库
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> quit // 退出
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@mylinux ~]$

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值