BITM Database Administration
bitmsemester 8Elective
Database Administration
Subject Code: IT276
Course Title: Database Administration
Course No: IT276
Nature of Course: Theory & Practical
Full Marks: 60
Pass Marks: 30
Credit Hours: 3
Course Description
This course provides comprehensive knowledge about database administration, including DBA Roles and responsibilities, tablespace and storage management, DB backup, restoration, and recovery, security, multitenant, and performance tuning.
Course Objective
The course is designed to help students understand the fundamental role, tasks, and responsibilities of a database administrator while gaining a solid understanding of Oracle database architecture. Students will learn how to install and configure an Oracle database and create essential database objects such as tables, views, and indexes, as well as write PL/SQL procedures. The course also prepares students to administer an Oracle database by creating and managing storage structures, managing user accounts, and performing essential backup and recovery operations. In addition, students will develop the skills needed to tune the Oracle database for improved performance and ensure efficient and reliable database operations.
Course Contents
| Course Contents | Teaching Methodology | Teaching Hours |
|---|---|---|
| Unit 1: Introduction (10 Hrs.) | ||
| Introduction: Overview of the Oracle Database, Relational Database Concepts, Overview of Oracle Database Architecture, DBA Roles and Responsibilities, Overview of Oracle Data Guard, Oracle RAC, Oracle ASM, Oracle Cloud | Lecture/Lab | |
| Oracle Architecture: Oracle Database Architecture, Oracle Database Instance, Memory Structures, Process Architecture and Structures, Server and Client Processes, Database Storage Architecture, Connect to the Oracle Database Instance | ||
| Administer Database Instance: Administrative Tools Available to a DBA, Use SQL*Plus in Oracle to Manage a Database Instance, use SQL Developer to Manage a Database Instance, Working with Tables and Constraints, Working with Indexes, Views, Synonyms, and Sequences, Partitioning and Materialized Views, Administer the Database using Enterprise Manager (EM), Overview of the Enterprise Manager Framework, Enterprise Manager Cloud Control, Initialization Parameter Files | ||
| Unit 2: Tablespace and Storage Structures (4 Hrs.) | ||
| Overview of Data Storage | Lecture/Lab | |
| the Database Block | ||
| Working with Tablespaces and Data Files | ||
| Creating and adding tablespace and datafiles | ||
| Managing Control Files | ||
| Online Redo Logs and Archive logs | ||
| Multiplexing | ||
| Unit 3: Managing Users, Roles, and Privileges (5 Hrs.) | ||
| Manage Users: Predefined Database Administration Accounts, User Accounts, Create a User Account, User Authentication, Change a User's Password, Manage a User Account, Drop a User Account, Monitor User Information, Terminate User Sessions, Create a Schema Only Account | Lecture/Lab | |
| Manage Privileges: Database Access, Oracle Supplied Roles, System and Object Level Privileges, the Grant and Revoke Commands, Create, Modify and Drop Roles, Use Predefined Roles, PL/SQL and Roles | ||
| Unit 4: User Profiles, Resources, and Auditing (4 Hrs.) | ||
| Profiles And Resources: Overview of User Profiles, Profile Resource Parameters, Create Profile Command, Manage Passwords with Profiles, Control Resource Usage with Profiles, Maintain Profiles | Lecture/Lab | |
| Database Auditing: Overview of Database Security, Overview of Database Auditing, Security Compliance, Standard Auditing, Unified Audit Trail, Separation of Audit Responsibilities with the AUDIT_ADMIN And AUDIT_VIEWER Roles, Configure the Audit Trail, Specify Audit Options | ||
| Unit 5: Configuration of Oracle Network Environment (5 Hrs.) | ||
| Overview of Network Configuration | Lecture/Lab | |
| Oracle Net Listener Configuration and Management | ||
| Oracle Net Naming Methods | ||
| Tools for Configuring and Managing the Oracle Network | ||
| using the Net Configuration Assistant | ||
| Configure Client Connections with Net Manager | ||
| View Listener Configuration | ||
| Start and Stop the Oracle Listener | ||
| use TNSPING to Test Oracle Net Connectivity | ||
| connect to the Database | ||
| Configure Net Services with Enterprise Manager | ||
| Unit 6: Concurrency, Backup, and Recovery (8 Hrs.) | ||
| Concurrency: Levels of Locking in Oracle, Methods Used to Acquire Locks, Data Concurrency, Possible Causes of Contention, DML Locks, Prevent Locking Problems, Detect Lock Contention, Resolve Conflicts | Lecture/Lab | |
| Undo Management: Undo Data Overview, Monitor and Administer Undo, Configure Undo Retention, Switch Undo Tablespaces, Specify the Retention Period, Guarantee Undo Retention, Retention Period tor Flashback Queries, View Undo Space Information, use the Undo Advisor, Size the Undo Tablespace, Alter an Undo Tablespace to a Fixed Size | ||
| Backup and Recovery Overview | ||
| Database backup, restoration and recovery | ||
| backup and recovery strategy and options | ||
| Data Dump | ||
| User-Managed Backup and Recovery | ||
| Configuring RMAN | ||
| RMAN Backups | ||
| Restore and Recovery | ||
| High Availability Features | ||
| Understanding the Multitenant Architecture | ||
| Perform CBD and PBD flashback | ||
| Unit 7: Database Maintenance, Performance Management, and Moving Data (8 Hrs.) | ||
| Database Maintenance: Overview, View the Alert Log, the Automatic Workload Repository, Statistic Levels, the Automatic Database Diagnostic Monitoring, Monitor an Oracle Database, use the Advisors, Set Up Notification Rules, Explain plan, Plan Hash value, Gather stat | Lecture/Lab | |
| Performance Management: Tuning Information Sources, Performance Monitoring, Tuning Activities, Performance Planning, Instance Tuning, Performance Tuning Methodology, Performance Tuning Data, Monitoring Performance, Managing Memory, Manage Private Temporary Tables, SQL Tuning, Cancel a SQL Statement in a Session, Oracle Optimizer, SQL Plan Directives, Adaptive Execution Plans, SQL Advisors, Automatic SQL Tuning Results | ||
| Moving Data: Create Directory Objects, Data Pump Architecture, Data Pump Data Dictionary Views, Data Pump Interactive Mode, Data Pump API, use Data Pump to Export and Import Data, SQL Loader, Command Line Parameters, Record Filtering, Control File Keywords, SQL Loader Data Paths, External Tables | ||
| Unit 8: Managing Resources and Scheduling Tasks (4 Hrs.) | ||
| Managing Resources: Overview of the Database Resource Manager, use the Resource Manager, Create Resource Plans, the Default Maintenance Resource Manager Plan, Create Resource Plan Directives, Allocate Resources for Resource Plans | Lecture/Lab | |
| Scheduling Tasks: Introduction to The Scheduler, Access Rights, Scheduler Components and Workflow, create a Job, Job Classes, use Time Based, Event Based Schedules, Create an Event Based Schedule |
Text Books
1. Mannino, M. (2019). Database design, application development, & administration (7th ed.). Chicago Business Press.
2. Malcher, M., & Kuhn, D. (2024). Pro Oracle Database 23c administration: Manage and safeguard your organization's data (4th ed.). Apress.
3. Peasland, B. (2019). Oracle DBA mentor: Succeeding as an Oracle database administrator.
Lab Works
Laboratory work should cover all the topics listed above.
