Differences between SYS and system users in Oracle

Source: Internet
Author: User

1. The start of the database needs to be logged in as Sysdba/sysoper.

2. If you use IPC to connect to a database on the same host using the operating system authorization, any user who logs on can have as SYSDBA and as Sysoper.

The difference between 3.sys and system users

SYS user has DBA authority and has the SYS mode. The database can only be logged on through SYSDBA and is the highest-privileged account in the Oracle database. SYS user has "SYSDBA" and "sysoper" permission, login em can only use these two identities, can not use normal. The system can only log in with normal mode when logging on to EM. SYS has a data dictionary (dictionary), or dictionary belongs to the SYS schema.

The system user has DBA authority, but does not have SYSDBA permissions. Usually use this account to manage the database. Log in to EM only with normal login.

4.SYSDBA Permissions and Sysoper permission differences

"Sysoper" permissions, that is, database operator permissions, Sysoper is mainly used to start, close the database, Sysoper login after the user is public. Permissions include: Open Database (STARTUP, ALTER database Open/mount/open), server (CREATE spfile,etc)

Shutting down the database server
Backing Up the database
Recovering a database recovery
Log Archive Archivelog
Session Limit restricted sessions

"SYSDBA" permissions, that is, database administrator permissions, the highest system permissions. Any user with SYSDBA login is "SYS". Permissions include: Administrative functions, creation of databases (create DATABASE), and all permissions for "Sysoper"

The other user needs the manual grant permission, which is the name of the user.

Sql>conn/as SYSDBA
is connected.
Sql>grant sysoper to test;
Authorization is successful.
Sql>grant sysdba to test;
Authorization is 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>conn test/test;
is connected.
Sql>show User
USER is "test"

The difference between 5.DBA and SYSDBA:

SYSDBA, is the management Oracle instance, its existence does not depend on the entire database to start completely, as long as the instance launches, he already exists, in order to sysdba the identity to log in, mounts the database, opens the database.

The DBA role has the basis for existence only after the database is fully booted.

Differences between SYS and system users in 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.