linux怎么启动oracle Linux下oracle数据库启动和关闭操作(2)

映芳 1172分享

  启动oracle的步骤

  以system用户身份登陆oracle

  [oracle@dataserver admin]$ sqlplus /nolog

  SQL*Plus: Release 11.2.0.1.0 Production on 星期五 4月 15 15:23:04 2016

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

  SQL> conn as sysdba

  Enter user-name: system

  Enter password:

  Connected to an idle instance.

  1234567891011

  然后启动实例,通过startup命令:

  SQL> startup

  ORACLE instance started.

  Total System Global Area 4.0620E+10 bytes

  Fixed Size 2216024 bytes

  Variable Size 2.3354E+10 bytes

  Database Buffers 1.7180E+10 bytes

  Redo Buffers 84054016 bytes

  Database mounted.

  Database opened.

  SQL>

  123456789101112

这里写图片描述

  关闭oracle实例步骤

  通过shutdown命令关闭oracle实例。

  SQL> shutdown

  Database closed.

  Database dismounted.

  ORACLE instance shut down.

  SQL> 12345

热门标签

424634