SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Downloaden Sie, um offline zu lesen
A FREE EBOOK FROM SRINIMF.COM
Education Series
Free to share your friends and who need help
DBA SURE SUCCESS
GUIDE
Srinimf.com
1
1
2
2
Table of Contents
About this e-book..............................................................................................3
DBA real time job responsibilities.....................................................................4
Database adminstrator roles .........................................................................4
Orcle DBA responsibilities.................................................................................6
Oracle DBA roles ............................................................................................6
TOP five DB2 DBA critical functions..................................................................8
Critical functions ............................................................................................8
3
3
About this e-book
This version of e-book created by srinimf.com. A complete useful information
to perform DBA role in your project. DBA also called database adminstror of
any database.
The roles and responsibilities are so criticle. So before start your journey take a
look of all the points given to do your job well.
The publisher of this book is
Srinimf.com
A Free education series. You can share this e-book to your friends and who
need help.
4
4
DBA real time job responsibilities
Database adminstrator roles
DB2 has many in-built security features and are most popular. The following
security problems DB2 can handle. The below list is for your quick note:
• Privilege theft or mismanagement
• Application or application server tampering
• Data or log tampering
• Storage media theft
• Unauthorized object access
To address these areas, DB2 offers the following security solutions:
• Authentication
• Authorization
• Data integrity
• Confidentiality
• System integrity
• Audit
The Audit trace in DB2
“The trace can record changes in authorization IDs for a security audit as well
as changes made to the structure of data (e.g., dropping a table) or to data
values (e.g., updating or inserting records) for an audit of data access.
You can also use the audit trace to track access attempts by unauthorized IDs,
the results of GRANT and REVOKE statements, the mapping of Kerberos
security tickets to RACF IDs, and other activities of interest to auditors.”
What is DB2 SYADM?
SYSADM authority is assigned to the group specified by
the sysadm_group configuration parameter. Membership in that group is
controlled outside the database manager through the security facility used on
your platform.
Only a user with SYSADM authority can perform the following functions:
• Upgrade a database
5
5
• Restore a database
• Change the database manager configuration file (including specifying the
groups having SYSADM, SYSCTRL, SYSMAINT, or SYSMON authority)
What is DB2 DBADM?
The system DBADM authority allows an administrator, an authorization ID or a
role, to manage databases across a DB2® subsystem, while having no access to
the data in the databases.
With the system DBADM authority, you can issue SQL statements to perform
the following tasks:
• Create and drop aliases, auxiliary tables, and distinct types
• Create, alter, and drop databases, tables, global temporary tables, table
spaces, and sequences
• Create triggers, functions, indexes, procedures, and views with
additional required privileges
• Comment on all but security-related objects (i.e., roles, trusted contexts)
• Issue other SQL statements, such as the EXPLAIN, LABEL, PREPARE, and
RENAME statements
What is DB2 DBCTRL?
The DBCTRL authority includes the DBMAINT privileges on a specific database.
A user with the DBCTRL authority can run utilities that can change the data.
Best example: DBA1 needs to be able to create tables in a database and be
able to run periodic REORGs. However, DBA1 is not permitted to access the
data or manipulate it. Here you need DBCTRL authority.
What is DB2 DBMAINT?
A user with the DBMAINT authority can grant the privileges on a specific
database to an ID. With the DBMAINT authority, that user can perform the
following actions within that database:
• Create objects
• Run utilities that don’t change data
• Issue commands
• Terminate all utilities on the database except DIAGNOSE, REPORT, and
STOSPACE
6
6
If a user has the DBMAINT authority with the GRANT option, that user can
grant those privileges to others.
What is DB2 SYSOPR?
A user with the SYSOPR authority can issue all DB2® commands except
ARCHIVE LOG, START DATABASE, STOP DATABASE, and RECOVER BSDS.
What is DB2 SYSCTRL?
The SYSCTRL authority is designed for administering a system that contains
sensitive data. With the SYSCTRL authority, you have nearly complete control
of the DB2® subsystem. However, you cannot access user data directly unless
you are explicitly granted the privileges to do so.
• Act as installation SYSOPR (when the catalog is available) or DBCTRL over
any database
• Run any allowable utility on any database
• Issue a COMMENT ON, LABEL ON, or LOCK TABLE statement for any
table
• Create a view on any catalog table for itself or for other IDs
• Create tables and aliases for itself or for others IDs
• Bind a new plan or package and name any ID as the owner of the plan or
package
• Create roles (only if SEPARATE_SECURITY is set to NO)
• Use any valid value for OWNER in BIND or REBIND (only if
SEPARATE_SECURITY is set to NO)
• Has implicit ACCESSCTRL authority to grant most privileges (only if
SEPARATE_SECURITY is set to NO)
Orcle DBA responsibilities
Oracle DBA roles
The below are the Oracle dba responsibilities:
1. Evaluate the Database Server Hardware: Evaluate how Oracle and its
applications can best use the available computer resources. This
evaluation should reveal the following information:
• How many disk drives are available to Oracle and its databases
7
7
• How many, if any, dedicated tape drives are available to Oracle
and its databases
• How much memory is available to the instances of Oracle you will
run (see your system’s configuration documentation)
2. Install the Oracle Software: As the database administrator, you install
the Oracle database server software and any front-end tools and
database applications that access the database. In some distributed
processing installations, the database is controlled by a central computer
(database server) and the database tools and applications are executed
on remote computers (clients). In this case, you must also install the
Oracle Net components necessary to connect the remote machines to
the computer that executes Oracle.
3. Plan the Database: As the database administrator, you must plan:
• The logical storage structure of the database
• The overall database design
• A backup strategy for the database
4. Create and Open the Database: When you complete the database
design, you can create the database and open it for normal use. You can
create a database at installation time, using the Database Configuration
Assistant, or you can supply your own scripts for creating a database.
5. Back Up the Database: After you create the database structure, carry
out the backup strategy you planned for the database. Create any
additional redo log files, take the first full database backup (online or
offline), and schedule future database backups at regular intervals.
6. Enroll System Users:After you back up the database structure, you can
enroll the users of the database in accordance with your Oracle license
agreement, create appropriate roles for these users, and grant these
roles.
7. Implement the Database Design:After you create and start the
database, and enroll the system users, you can implement the planned
logical structure database by creating all necessary tablespaces. When
you complete this, you can create the objects for the database.
8. Back Up the Fully Functional Database:Now that the database is fully
implemented, again back up the database. In addition to regularly
scheduled backups, you should always back up your database
immediately after implementing changes to the database structure.
9. Tune Database Performance:Optimizing the performance of the
database is one of your ongoing responsibilities as a DBA. Additionally,
Oracle provides a database resource management feature that enables
you to control the allocation of resources to various user groups.
8
8
TOP five DB2 DBA critical functions
Critical functions
1. What are the main issues to be considered when creating a database?
A. The following are sum of the list an administrator must focus
i. Physical structure of database
ii. Logical structure
iii. Communication issues
iv. Location of RDBMS
v. Location of files
vi. User access control
2. What are the critical issues to be addressed when configuring the
security?
A. The following are important functions to be considered
i. Access to the system is controlled.
ii. Authorized users must be able to access (insert, modify,
retrieve, or delete)
iii. Authorized users must be restricted to the data and
resources that they are duly authorized to access
iv. Unauthorized users must not access. This is also
responsibility of DBA
3. What are the main issues to be addressed while management of
RDBMS?
A. Main list DBA functions to be considered
i. Reorganizing existing database tables and indexes
ii. Deleting unnecessary indexes or moving other objects
iii. Making alterations to the database itself
iv. Making alterations to database components
v. Creating additional database objects (tablespaces, datafiles,
tables, users, indexes, procedures, etc.)
vi. Training users
vii. Backup and recovery of database objects
viii. Database performance tuning
4. Why are backups important? Discuss how backup and recovery are
handled?
A. The primary goal of DBA is backup and recovery
i. Protecting database during loss
ii. Recovery if something happens
9
9
iii. The reasons to data loss are – User error, Logical error and
Process failure
5. Why is performance tuning of a database important?
A. The below are awesome reasons
i. Poor database design
ii. Growth of database size
iii. Change in requirements
10
10
References
1. The role of administrator from computer weekly – Read here
2. DBA roles and responsibilities from Srinimf – Read here
3. Database administrator or DBA roles from Wiki – Read here

Weitere ähnliche Inhalte

Mehr von Srinimf-Slides

CICS basics overview session-1
CICS basics overview session-1CICS basics overview session-1
CICS basics overview session-1Srinimf-Slides
 
The best Teradata RDBMS introduction a quick refresher
The best Teradata RDBMS introduction a quick refresherThe best Teradata RDBMS introduction a quick refresher
The best Teradata RDBMS introduction a quick refresherSrinimf-Slides
 
The best ETL questions in a nut shell
The best ETL questions in a nut shellThe best ETL questions in a nut shell
The best ETL questions in a nut shellSrinimf-Slides
 
IMS DC Self Study Complete Tutorial
IMS DC Self Study Complete TutorialIMS DC Self Study Complete Tutorial
IMS DC Self Study Complete TutorialSrinimf-Slides
 
How To Master PACBASE For Mainframe In Only Seven Days
How To Master PACBASE For Mainframe In Only Seven DaysHow To Master PACBASE For Mainframe In Only Seven Days
How To Master PACBASE For Mainframe In Only Seven DaysSrinimf-Slides
 
Assembler Language Tutorial for Mainframe Programmers
Assembler Language Tutorial for Mainframe ProgrammersAssembler Language Tutorial for Mainframe Programmers
Assembler Language Tutorial for Mainframe ProgrammersSrinimf-Slides
 
The Easytrieve Presention by Srinimf
The Easytrieve Presention by SrinimfThe Easytrieve Presention by Srinimf
The Easytrieve Presention by SrinimfSrinimf-Slides
 
Writing command macro in stratus cobol
Writing command macro in stratus cobolWriting command macro in stratus cobol
Writing command macro in stratus cobolSrinimf-Slides
 
PLI Presentation for Mainframe Programmers
PLI Presentation for Mainframe ProgrammersPLI Presentation for Mainframe Programmers
PLI Presentation for Mainframe ProgrammersSrinimf-Slides
 
PL/SQL Interview Questions
PL/SQL Interview QuestionsPL/SQL Interview Questions
PL/SQL Interview QuestionsSrinimf-Slides
 
Oracle PLSQL Step By Step Guide
Oracle PLSQL Step By Step GuideOracle PLSQL Step By Step Guide
Oracle PLSQL Step By Step GuideSrinimf-Slides
 
20 DFSORT Tricks For Zos Users - Interview Questions
20 DFSORT Tricks For Zos Users - Interview Questions20 DFSORT Tricks For Zos Users - Interview Questions
20 DFSORT Tricks For Zos Users - Interview QuestionsSrinimf-Slides
 
Cross Cultural Sensitivity
Cross Cultural SensitivityCross Cultural Sensitivity
Cross Cultural SensitivitySrinimf-Slides
 

Mehr von Srinimf-Slides (20)

CICS basics overview session-1
CICS basics overview session-1CICS basics overview session-1
CICS basics overview session-1
 
100 sql queries
100 sql queries100 sql queries
100 sql queries
 
The best Teradata RDBMS introduction a quick refresher
The best Teradata RDBMS introduction a quick refresherThe best Teradata RDBMS introduction a quick refresher
The best Teradata RDBMS introduction a quick refresher
 
The best ETL questions in a nut shell
The best ETL questions in a nut shellThe best ETL questions in a nut shell
The best ETL questions in a nut shell
 
IMS DC Self Study Complete Tutorial
IMS DC Self Study Complete TutorialIMS DC Self Study Complete Tutorial
IMS DC Self Study Complete Tutorial
 
How To Master PACBASE For Mainframe In Only Seven Days
How To Master PACBASE For Mainframe In Only Seven DaysHow To Master PACBASE For Mainframe In Only Seven Days
How To Master PACBASE For Mainframe In Only Seven Days
 
Assembler Language Tutorial for Mainframe Programmers
Assembler Language Tutorial for Mainframe ProgrammersAssembler Language Tutorial for Mainframe Programmers
Assembler Language Tutorial for Mainframe Programmers
 
The Easytrieve Presention by Srinimf
The Easytrieve Presention by SrinimfThe Easytrieve Presention by Srinimf
The Easytrieve Presention by Srinimf
 
Writing command macro in stratus cobol
Writing command macro in stratus cobolWriting command macro in stratus cobol
Writing command macro in stratus cobol
 
PLI Presentation for Mainframe Programmers
PLI Presentation for Mainframe ProgrammersPLI Presentation for Mainframe Programmers
PLI Presentation for Mainframe Programmers
 
PL/SQL Interview Questions
PL/SQL Interview QuestionsPL/SQL Interview Questions
PL/SQL Interview Questions
 
Macro teradata
Macro teradataMacro teradata
Macro teradata
 
DB2-SQL Part-2
DB2-SQL Part-2DB2-SQL Part-2
DB2-SQL Part-2
 
DB2 SQL-Part-1
DB2 SQL-Part-1DB2 SQL-Part-1
DB2 SQL-Part-1
 
Teradata - Utilities
Teradata - UtilitiesTeradata - Utilities
Teradata - Utilities
 
Oracle PLSQL Step By Step Guide
Oracle PLSQL Step By Step GuideOracle PLSQL Step By Step Guide
Oracle PLSQL Step By Step Guide
 
Hirarchical vs RDBMS
Hirarchical vs RDBMSHirarchical vs RDBMS
Hirarchical vs RDBMS
 
20 DFSORT Tricks For Zos Users - Interview Questions
20 DFSORT Tricks For Zos Users - Interview Questions20 DFSORT Tricks For Zos Users - Interview Questions
20 DFSORT Tricks For Zos Users - Interview Questions
 
SRINIMF - An Overview
SRINIMF - An OverviewSRINIMF - An Overview
SRINIMF - An Overview
 
Cross Cultural Sensitivity
Cross Cultural SensitivityCross Cultural Sensitivity
Cross Cultural Sensitivity
 

Kürzlich hochgeladen

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 

Kürzlich hochgeladen (20)

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 

DBA role responsibilities e-book

  • 1. A FREE EBOOK FROM SRINIMF.COM Education Series Free to share your friends and who need help DBA SURE SUCCESS GUIDE Srinimf.com
  • 2. 1 1
  • 3. 2 2 Table of Contents About this e-book..............................................................................................3 DBA real time job responsibilities.....................................................................4 Database adminstrator roles .........................................................................4 Orcle DBA responsibilities.................................................................................6 Oracle DBA roles ............................................................................................6 TOP five DB2 DBA critical functions..................................................................8 Critical functions ............................................................................................8
  • 4. 3 3 About this e-book This version of e-book created by srinimf.com. A complete useful information to perform DBA role in your project. DBA also called database adminstror of any database. The roles and responsibilities are so criticle. So before start your journey take a look of all the points given to do your job well. The publisher of this book is Srinimf.com A Free education series. You can share this e-book to your friends and who need help.
  • 5. 4 4 DBA real time job responsibilities Database adminstrator roles DB2 has many in-built security features and are most popular. The following security problems DB2 can handle. The below list is for your quick note: • Privilege theft or mismanagement • Application or application server tampering • Data or log tampering • Storage media theft • Unauthorized object access To address these areas, DB2 offers the following security solutions: • Authentication • Authorization • Data integrity • Confidentiality • System integrity • Audit The Audit trace in DB2 “The trace can record changes in authorization IDs for a security audit as well as changes made to the structure of data (e.g., dropping a table) or to data values (e.g., updating or inserting records) for an audit of data access. You can also use the audit trace to track access attempts by unauthorized IDs, the results of GRANT and REVOKE statements, the mapping of Kerberos security tickets to RACF IDs, and other activities of interest to auditors.” What is DB2 SYADM? SYSADM authority is assigned to the group specified by the sysadm_group configuration parameter. Membership in that group is controlled outside the database manager through the security facility used on your platform. Only a user with SYSADM authority can perform the following functions: • Upgrade a database
  • 6. 5 5 • Restore a database • Change the database manager configuration file (including specifying the groups having SYSADM, SYSCTRL, SYSMAINT, or SYSMON authority) What is DB2 DBADM? The system DBADM authority allows an administrator, an authorization ID or a role, to manage databases across a DB2® subsystem, while having no access to the data in the databases. With the system DBADM authority, you can issue SQL statements to perform the following tasks: • Create and drop aliases, auxiliary tables, and distinct types • Create, alter, and drop databases, tables, global temporary tables, table spaces, and sequences • Create triggers, functions, indexes, procedures, and views with additional required privileges • Comment on all but security-related objects (i.e., roles, trusted contexts) • Issue other SQL statements, such as the EXPLAIN, LABEL, PREPARE, and RENAME statements What is DB2 DBCTRL? The DBCTRL authority includes the DBMAINT privileges on a specific database. A user with the DBCTRL authority can run utilities that can change the data. Best example: DBA1 needs to be able to create tables in a database and be able to run periodic REORGs. However, DBA1 is not permitted to access the data or manipulate it. Here you need DBCTRL authority. What is DB2 DBMAINT? A user with the DBMAINT authority can grant the privileges on a specific database to an ID. With the DBMAINT authority, that user can perform the following actions within that database: • Create objects • Run utilities that don’t change data • Issue commands • Terminate all utilities on the database except DIAGNOSE, REPORT, and STOSPACE
  • 7. 6 6 If a user has the DBMAINT authority with the GRANT option, that user can grant those privileges to others. What is DB2 SYSOPR? A user with the SYSOPR authority can issue all DB2® commands except ARCHIVE LOG, START DATABASE, STOP DATABASE, and RECOVER BSDS. What is DB2 SYSCTRL? The SYSCTRL authority is designed for administering a system that contains sensitive data. With the SYSCTRL authority, you have nearly complete control of the DB2® subsystem. However, you cannot access user data directly unless you are explicitly granted the privileges to do so. • Act as installation SYSOPR (when the catalog is available) or DBCTRL over any database • Run any allowable utility on any database • Issue a COMMENT ON, LABEL ON, or LOCK TABLE statement for any table • Create a view on any catalog table for itself or for other IDs • Create tables and aliases for itself or for others IDs • Bind a new plan or package and name any ID as the owner of the plan or package • Create roles (only if SEPARATE_SECURITY is set to NO) • Use any valid value for OWNER in BIND or REBIND (only if SEPARATE_SECURITY is set to NO) • Has implicit ACCESSCTRL authority to grant most privileges (only if SEPARATE_SECURITY is set to NO) Orcle DBA responsibilities Oracle DBA roles The below are the Oracle dba responsibilities: 1. Evaluate the Database Server Hardware: Evaluate how Oracle and its applications can best use the available computer resources. This evaluation should reveal the following information: • How many disk drives are available to Oracle and its databases
  • 8. 7 7 • How many, if any, dedicated tape drives are available to Oracle and its databases • How much memory is available to the instances of Oracle you will run (see your system’s configuration documentation) 2. Install the Oracle Software: As the database administrator, you install the Oracle database server software and any front-end tools and database applications that access the database. In some distributed processing installations, the database is controlled by a central computer (database server) and the database tools and applications are executed on remote computers (clients). In this case, you must also install the Oracle Net components necessary to connect the remote machines to the computer that executes Oracle. 3. Plan the Database: As the database administrator, you must plan: • The logical storage structure of the database • The overall database design • A backup strategy for the database 4. Create and Open the Database: When you complete the database design, you can create the database and open it for normal use. You can create a database at installation time, using the Database Configuration Assistant, or you can supply your own scripts for creating a database. 5. Back Up the Database: After you create the database structure, carry out the backup strategy you planned for the database. Create any additional redo log files, take the first full database backup (online or offline), and schedule future database backups at regular intervals. 6. Enroll System Users:After you back up the database structure, you can enroll the users of the database in accordance with your Oracle license agreement, create appropriate roles for these users, and grant these roles. 7. Implement the Database Design:After you create and start the database, and enroll the system users, you can implement the planned logical structure database by creating all necessary tablespaces. When you complete this, you can create the objects for the database. 8. Back Up the Fully Functional Database:Now that the database is fully implemented, again back up the database. In addition to regularly scheduled backups, you should always back up your database immediately after implementing changes to the database structure. 9. Tune Database Performance:Optimizing the performance of the database is one of your ongoing responsibilities as a DBA. Additionally, Oracle provides a database resource management feature that enables you to control the allocation of resources to various user groups.
  • 9. 8 8 TOP five DB2 DBA critical functions Critical functions 1. What are the main issues to be considered when creating a database? A. The following are sum of the list an administrator must focus i. Physical structure of database ii. Logical structure iii. Communication issues iv. Location of RDBMS v. Location of files vi. User access control 2. What are the critical issues to be addressed when configuring the security? A. The following are important functions to be considered i. Access to the system is controlled. ii. Authorized users must be able to access (insert, modify, retrieve, or delete) iii. Authorized users must be restricted to the data and resources that they are duly authorized to access iv. Unauthorized users must not access. This is also responsibility of DBA 3. What are the main issues to be addressed while management of RDBMS? A. Main list DBA functions to be considered i. Reorganizing existing database tables and indexes ii. Deleting unnecessary indexes or moving other objects iii. Making alterations to the database itself iv. Making alterations to database components v. Creating additional database objects (tablespaces, datafiles, tables, users, indexes, procedures, etc.) vi. Training users vii. Backup and recovery of database objects viii. Database performance tuning 4. Why are backups important? Discuss how backup and recovery are handled? A. The primary goal of DBA is backup and recovery i. Protecting database during loss ii. Recovery if something happens
  • 10. 9 9 iii. The reasons to data loss are – User error, Logical error and Process failure 5. Why is performance tuning of a database important? A. The below are awesome reasons i. Poor database design ii. Growth of database size iii. Change in requirements
  • 11. 10 10 References 1. The role of administrator from computer weekly – Read here 2. DBA roles and responsibilities from Srinimf – Read here 3. Database administrator or DBA roles from Wiki – Read here