Solved

Oracle: sys vs. system

Posted on 2004-04-01
3
2,456 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
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…

772 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