Solved

Oracle: sys vs. system

Posted on 2004-04-01
3
2,453 Views
Last Modified: 2012-08-14
Hi Experts,

I need some information about the sys and system users. What's the difference between them, and what are the options as sysdba, sysoper and normal. What do these influence?
Can I create a user, that is sysdba?

Thanx, thrash
0
Comment
Question by:thrasher_hu
3 Comments
 
LVL 5

Expert Comment

by:mudumbe
ID: 10734845
SYS and SYSTEM users are created by Oracle when creating a database.  The schema SYS basically owns all the dictionary objects.

SYSDBA and SYSOPER are keywords used in the connect statement.   These map to OS groups osdba and osoper.  If your OS account is in these groups you can connect using SYSDBA/SYSOPER such as:

connect / as sysdba;

connect / as sysoper;

You then get appropriate privileges associated with SYSDBA/SYSOPER.
0
 
LVL 2

Accepted Solution

by:
aabbas earned 100 total points
ID: 10735719
SYS is the owner of all dictionary objects i.e. it owns the base objects related to oracle system. This is the most powerful user in Oracle.

SYSTEM uses the system objects of SYS as VIEWS. Oracle recommends that DBAs should use SYSTEM for administration and not SYS, to keep them from the error of mistakenly modifying/deleting system table's data, or manipulate dictionary objects/data directly. This is the 2nd powerful user in Oracle.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now