Differences between different users of Dba,sysdba,sysoper and normal in Oracle

Source: Internet
Author: User
Tags dba

1, sys and system user differences

The system user can only log on em with normal status.

SYS user has "SYSDBA" or "sysoper" permission, landing em can only use these two identities, can not use normal.

"Sysoper" permissions, which are database operator permissions, include:

Open the database server shut down the database server

Backing up the database recovery database

Log Archive Session Limit

"SYSDBA" permissions, which are database administrator permissions, include:

Open the database server shut down the database server

Backing up the database recovery database

Log Archive Session Limit

Manage features Create a database

2, Normal, SYSDBA, Sysoper difference

Normal: is a normal user and can operate on a database only after being authorized by SYS

SYSDBA: Has the highest system privileges

Sysoper: Mainly used to start and close the database, sysoper the user is public after landing

SYSDBA: Is sys after landing, and can only be the sys login SYSDBA.

Sql> Conn/as SYSDBA

is connected.

Sql> Grant Sysoper to test;

The authorization was successful.

Sql> Conn Test/test as Sysoper;

is connected.

Sql> Show User

USER is "public"

Sql> Conn Test/test as Sysdba

is connected.

Sql> Show User

USER is "SYS"

Sql>

3, the difference between DBA and SYSDBA

DBA, Sysdba What's the difference between the two system roles, before I explain this, I need to talk about the Oracle service creation process

• Create an instance

• Startup instance

• Create a database (System tablespace is required)

startup process

• Instance Startup

• Loading Databases

• Open Database

SYSDBA, which manages the Oracle instance, does not depend on the entire database to be fully booted,

As long as the instance is started, it already exists, log in as SYSDBA, mount the database, open the database

Only if the database is open, or when the entire database is fully booted, the DBA role has a foundation, and the DBA is just a role.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/

Related Article

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.