Solved

Oracle: sys vs. system

Posted on 2004-04-01
3
2,467 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
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…

732 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