Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







Oracle SYSDBA tips

Expert Oracle Database Tips by Donald BurlesonDecember 8, 2015

Question: I want to know what SYSDBA privilege can do. I know SYSDBA is SUPERSET of SYSOPER privilege, but what is the SYSDBA privilege?

Answer:  SYSDBA is like a role in the sense that it is granted, but SYSDBA is a special built-in privilege to allow the DBA full control over the database:

  • Access to all data dictionary tables (dba views)
  •  access to all v$ views and x$ structures
  •  perform startup/shutdown commands
  •  alter database: mount, open, back up, or change character set commands
  •  create/drop database commands
  •  create spfile commands
  •  alter database commands

Granting SYSDBA privileges

Oracle creates three roles when you first create your database, CONNECT, RESOURCE and DBA.  When a use is granted SYSDBA, they are allowed to connect as SYSDBA within SQL*Plus (via the $ORACLE_HOME/bin/sqlplus executable).

connect sys/* as sysdba;

create user myuser identified by mypass;

grant sysdba to myuser;

If you intend to use OS authentication (identified externally or OPS$), we have the OSDBA role which is created when you install the Oracle executables.

The SYSDBA privilege is a special "global" privilege, grantable only when connected from SYS or SYSTEM, and you cannot see the roles within SYSDBA by querying the dba_role_privs and related system views.

The SYSDBA role (and the ability to connect via SYSDBA includes all system privileges (95 separate grants), the capability to grant those system privileges to others, and UNLIMITED TABLESPACE is granted in the same way as with the RESOURCE role.  

If the exp_full_database and imp_full_database roles have been created, the delete, execute and select_catalog_role roles are granted implicitly with the SYSDBA role (and hence the connect as SYSDBA command).

 How to connect as SYSDBA

In UNIX, you connect as sysdba thusly, being careful not to put the password on the UNIX prompt (where it can be seen):

root> sqlplus /
SQL> connect myuser as sysdba password mypass

 In Windows, you connect from the DOS prompt:

C:\>sqlplus "sys as sysdba"

 But it's never a good idea on a Windows server to include the password for a SYSDBA user outside of Oracle:  

C:\>sqlplus "sys/my_password as sysdba"

 Prior to the connect xxx as sysdba syntax, Oracle offered an alternative mechanism called connect internal via granting a DBA role to give a user the equivalent of a SYSDBA connection, using an obsolete command executable called svrmgrl.

See these notes if you get an error trying to connect as SYSDBA.

And see our related notes on connecting as SYSDBA.

Get the Complete
Oracle SQL Tuning Information 

The landmark book "Advanced Oracle SQL Tuning  The Definitive Reference"  is filled with valuable information on Oracle SQL Tuning. This book includes scripts and tools to hypercharge Oracle 11g performance and you can buy it for 30% off directly from the publisher.



Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational



Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster