Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Oracle: sys vs. system

Posted on 2004-04-01
3
Medium Priority
?
2,477 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
2 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 400 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Suggested Courses

877 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