如何重新启动 Oracle 数据库?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/39262026/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 03:17:47  来源:igfitidea点击:

How can I restart an Oracle database?

databaseoraclerestart

提问by seb2704

I have to restart my Oracle database because of view changes in the SPFile. I tried to shutdown and startup, but I don't know how to startup in the right way again.

由于 SPFile 中的视图更改,我必须重新启动 Oracle 数据库。我尝试关机和启动,但我不知道如何以正确的方式再次启动。

回答by Mark

Start SQL*Plus without connecting to a database

在不连接数据库的情况下启动 SQL*Plus

SQLPLUS /NOLOG
Connect as SYSDBA
CONNECT username AS SYSDBA

Issue the startup command

发出启动命令

STARTUP

If that doesn't work for you I would recommend consulting the Oracle Docs on starting up a DB. Lots of startup options are listed there.

如果这对您不起作用,我建议您查阅有关启动 DB的 Oracle 文档。那里列出了许多启动选项。