Skip to Main Content
Oracle SQL*Plus Pocket Reference
book

Oracle SQL*Plus Pocket Reference

by Jonathan Gennick
April 2000
Intermediate to advanced content levelIntermediate to advanced
94 pages
1h 52m
English
O'Reilly Media, Inc.
Content preview from Oracle SQL*Plus Pocket Reference

Name

STARTUP

Synopsis

STARTUP [FORCE] [RESTRICT] 
        [PFILE = parameter_filename] 
        [MOUNT [OPEN [RECOVER]] 
           [database_name]]
        [[EXCLUSIVE | PARALLEL | SHARED] 
           [RETRY]] | [NOMOUNT]

The STARTUP command allows you to start an Oracle instance and open a database. For example:

STARTUP
STARTUP RESTRICT
STARTUP PFILE = c:\temp\tempinit.ora

To use STARTUP, you must be connected as SYSDBA, SYSOPER, or INTERNAL.

Parameters

FORCE

Forces the instance to start. If the instance is currently running, then FORCE will cause the equivalent of a SHUTDOWN ABORT to be done first; the instance will then be restarted.

RESTRICT

Opens the database in restricted session mode.

PFILE = parameter_filename

Tells SQL*Plus to use the specified parameter file (initialization file) when starting the instance. You may specify a path with the filename.

Note

SQL*Plus reads the parameter file, not the Oracle instance. The path to the parameter file must be relative to the machine running SQL*Plus.

MOUNT

Causes the database to be mounted but not opened.

OPEN

Causes the database to be mounted and then opened for normal operation.

RECOVER

Tells Oracle to perform media recovery, if necessary, before opening the database.

database_name

Overrides the DB_NAME parameter in the initialization file.

EXCLUSIVE

Causes the database to be opened or mounted exclusively by the current instance. No other instances may share it. This is the default setting and is used if neither SHARE nor PARALLEL is specified.

PARALLEL

Causes the database to be opened or mounted so ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle SQL*Plus Pocket Reference, 3rd Edition

Oracle SQL*Plus Pocket Reference, 3rd Edition

Jonathan Gennick
Expert Oracle Exadata

Expert Oracle Exadata

Kerry Osborne, Randy Johnson, Tanel Pöder

Publisher Resources

ISBN: 1565929411Catalog PageErrata