
3.4 使用OEM启动和关闭数据库
以sys用户登录Oracle Enterprise Manager页面以后,可以非常方便地启动和关闭数据库。
3.4.1 使用OEM关闭数据库
使用Oracle Enterprise Manager按以下步骤关闭数据库。
(1)登录Oracle Enterprise Manager页面后,在图3-19所示的【主目录】页面中,单击【关闭】按钮。

图3-19 【主目录】页面
(2)在图3-20所示页面中,指定主机身份证明和数据库身份证明,如果数据库身份验证使用sys用户,则必须指定连接身份为SYSDBA,然后单击【确定】按钮。

图3-20 指定主机和数据库身份证明
(3)在图3-21所示页面中,单击【是】按钮确认关闭数据库。

图3-21 确认关闭数据库
(4)如果需要指定高级关闭选项,则单击图3-21中的【高级选项】按钮,打开图3-22所示页面,指定关闭方式,选择【立即】单选框,然后单击【确定】按钮。

图3-22 高级关闭选项
(5)在图3-23所示页面中,显示当前正在关闭数据库。

图3-23 活动信息
(6)在图3-24所示页面中,显示数据库实例的状态为关闭。

图3-24 数据库已经关闭
3.4.2 使用OEM启动数据库
使用Oracle Enterprise Manager按以下步骤启动数据库。
(1)在图3-24所示页面中,单击【启动】按钮。在图3-25所示页面,指定主机身份证明和数据库身份证明,如果数据库身份验证使用sys用户,则必须指定连接身份为SYSDBA,然后单击【确定】按钮。

图3-25 指定主机和数据库身份证明
(2)在图3-26所示页面中,单击【是】按钮确认启动数据库。

图3-26 确认启动数据库
(3)如果需要指定高级启动选项,则单击图3-27所示界面【高级选项】按钮,指定启动模式、初始化参数和其他启动选项。在此选择【打开数据库】单选框,然后单击【确定】按钮。

图3-27 高级启动选项
(4)在图3-28所示页面中,显示正在进行数据库启动。

图3-28 正在进行数据库启动