What is STARTUP command?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is STARTUP command?

Rating:

STARTUP is a SQL*Plus command that is used to open an Oracle database. A database is opened in three stages. First, an Oracle instance is started. Then, the instance mounts the specified database. Finally, the database is opened.

Syntax:

STARTUP [FORCE] [RESTRICT] [PFILE=filename]
[ MOUNT [dbname] | [ OPEN [READ {ONLY | WRITE [RECOVER]} | RECOVER] [dbname] ] | NOMOUNT ]


where,

  • FORCE shuts down the currently running Oracle instance and restarts it.

  • RESTRICT specifies that only the users with the RESTRICTED SESSION system privilege can connect to the database.

  • PFILE causes the specified parameter file to be used while starting up the instance. If PFILE is not specified, the default STARTUP parameter file is used.

  • filename specifies the name of the parameter file.

  • MOUNT mounts the specified database but does not open it.

  • dbname specifies the name of the database to be mounted or opened. If no database name is specified, it is taken from the DB_NAME initialization parameter.

  • OPEN mounts and opens the specified database.

  • READ ONLY opens the specified database in read-only mode.

  • READ WRITE opens the specified database in read-write mode. It is the default mode.

  • RECOVER performs media recovery, if necessary, before starting the instance.

  • NOMOUNT prevents the specified database from being mounted or opened. It cannot be used with MOUNT or OPEN.


  • Note: The STARTUP command without any argument is equivalent to the STARTUP OPEN command.


    Rating:



    Other articles

    Click here to Article home

     
    uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
    MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
    Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
    © 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.