Oracle Database-BASIC operations

Source: Internet
Author: User

I. Related content

1. Master the start-up and stop of Oracle 10g related services.

2. Master the use of tools such as database Configuration Assistant (DBA), Enterprise Manager (OEM), sql*plus, etc.

3. Learn how to start and shut down the database using the startup and shutdown commands, as well as how to set up the automatic startup and shutdown database using the OEM tools and registry.

Second, the specific operation

1. Use the Services window in Administrative tools and the commands under DOS to start several common services for Oracle.

(1) Start the service using the Services window in Administrative tools

(2) Use the DOS command to start the Dbconsole service

2. Use the system user to log in to the Sql*plus graphics window in the OEM tools, program group.

(1) Log in to the OEM tool using the system user

Use: Http://localhost:1158/em to log on to the native OEM tool as shown in:

The login interface is as follows:

(2) using the Sql*plus graphics window in the System User logon program group

Sql*plus graphics window in a successful logon program group

3. Click "Start", "Run", enter the cmd command into the DOS environment, and then execute the sqlplus command to log into the database, and use the Connect command to switch the current connection user, the operation is as follows ((1) ~ (3) steps are implemented separately, (4) ~ (5) steps are implemented separately):

(1) SQLPLUS system/password.

(2) SQLPLUS system/password @ host string.

(3) SQLPLUS system/password @ host name or host IP address: Database port number/database service name.

(4) CONNECT sys/password @ host string as SYSDBA.

(5) CONNECT sys/password @ host name or host IP address: Database port number/database service name.

4. Log in to the database with the Sysyem privileges of the SYS user, attempt to start the database using different startup methods of the startup command, and use the shutdown command to close the database, as follows:

(1) SQLPLUS sys/password as SYSDBA

(2) SHUTDOWN IMMEDIATE.

(3) STARTUP nomount| Mount| OPEN observes how the information is different when you start the database in different ways.

Oracle Database-BASIC operations

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.