IT 6733 Database Administration
Dr. Svetlana Peltsverger | IT Department | Kennesaw State University
IT 6733 Database Administration course covers data administration and management, backup/recovery, security, access control, performance monitoring and tuning, data warehousing, data mining, online analytical processing, centralized versus distributed environments, client server and world-wide-web database integration.
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
In this course, we will use Oracle 18c and SQL server 2019. We will start with SQL review, and then learn how to write triggers, administer users, and make configuration changes, you will also learn about database security, performance tuning, data mining and analytical processing.
Table of Contents
Module 2: Introduction to SQL Procedures and Functions
Module 3: SQL Procedures & Functions Part II
Module 5: Overview of Database Administration
Module 6: Database and Application Performance
Module 8: Data Warehousing and ETL
Module 9: Database Backup and Recovery
Module 12: Implementing ETL with SQL Server Integration Services
Module 1: Review
Introduction and Module Summary
In this module, you will review database design and Structured Query Language (SQL). SQL is the standard language for relational database management systems. SQL knowledge is the prerequisite to this course. Depending on when you took an introduction to databases course, this module will take you anywhere from 4 to 12 hours of work. Spending enough time on this review will help you to complete other modules in this course.
Bookmark two resources that you will use throughout this course
Objectives and Outcomes
This module directly supports highlighted course outcome(s)
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
Module Outcomes and Activities
| After completing this module, students will be able: | to develop conceptual, logical and physical data models | to use SQL for data manipulation and data extraction |
|---|---|---|
| Readings | introduced | introduced |
| Practice exercise | reinforced | reinforced |
| Lab 0 | reinforced | |
| SQL quiz | reinforced | reinforced |
| Lab 1 | mastered | mastered |
Assigned Reading
Environment to exercise (create an account, login, use Live SQL)
Readings linked throughout the module
Optional Reading
Module 2: Introduction to SQL Procedures and Functions
Introduction and Module Summary
In this module, you will learn the benefits of using procedural SQL and how to write, execute, and test SQL procedures and functions.
SQL has limitations: it can execute one statement at a time. PL/SQL is executed as a block of code. Moreover, you can repeat the execution of any named black as many times as you wish.
PL/SQL is used to write triggers, functions, procedures, and packages. You can call PL/SQL functions from SQL statements.
Why use PL/SQL?
"Large software systems must be built from modules. A module hides its implementation behind an interface that exposes its functionality. This is computer science's most famous principle. For applications that use an Oracle Database, the database is, of course, one of the modules. The implementation details are the tables and the SQL statements that manipulate them. These are hidden behind a PL/SQL interface. This is the Thick Database paradigm: select, insert, update, delete, merge, commit, and rollback are issued only from database PL/SQL. Developers and end-users of applications built this way are happy with their correctness, maintainability, security, and performance."
Objectives and Outcomes
This module directly supports highlighted course outcome(s)
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze the performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
Module Outcomes and Activities
| After completing this module, students will be able: | to list benefits of procedural SQL | differentiate when to use function and when to use procedures | develop procedural SQL code | test and execute procedural SQL code |
|---|---|---|---|---|
| Read PL/SQL Language Fundamentals (2 hours) | introduced | introduced | introduced | |
| Read PL/SQL Subprograms (1 hour) | reinforced | reinforced | introduced | introduced |
| Module Discussion preparation and posting (1 hour) | mastered | mastered | ||
| Complete Module Lab (1 hour 40 min) | mastered | mastered | ||
| Self-assessment quiz (20 min) | reinforced | reinforced |
Assigned Reading
Introduction to PL/SQL part I and II (except cursors)
Optional Reading
Module 3: SQL Procedures & Functions Part II
Introduction and Module Summary
In this module, you will learn how to use IF, CASE, COMMIT, and LOOPs. SQL does not support all of the traditional language constructs, so achieve branching and looping the procedural SQL will be used. Transact SQL and its difference with Procedural SQL will be discussed.
Objectives and Outcomes
This module directly supports highlighted course outcome(s)
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
Module Outcomes and Activities
| After completing this module, students will be able: | explain the use of transactions | use looping and branching control structures | declare variables develop Transact SQL code | test and execute Transact SQL code |
|---|---|---|---|---|
| Read assigned materials | introduced | introduced | introduced | introduced |
| Read and execute code from the module | reinforced | reinforced | reinforced | reinforced |
| Complete the lab | mastered | mastered | mastered |
Assigned Reading
Optional Materials
Module 4: Triggers
Introduction and Module Summary
In this module, you will learn how to write PL/SQL and T-SQL triggers. A trigger is a named structural SQL block (PL/SQL or T-SQL) that is stored in the database and executed (fired) in response to a specified event that occurs in the database.
Objectives and Outcomes
This module directly supports highlighted course outcome(s)
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
Module Outcomes and Activities
| After completing this module, students will be able: | to develop, test and debug Oracle PL/SQL triggers | to develop, test and debug MS SQL Server T-SQL triggers |
|---|---|---|
| Read assigned materials | introduced | introduced |
| Read and execute code from the module | reinforced | reinforced |
| Complete Module Lab | mastered | mastered |
Assigned Reading
Optional Materials
Module 5: Overview of Database Administration
Introduction and Module Summary
In this module, you will become familiar with database administration tasks and learn how to ensure the ongoing operational functionality and efficiency of an organizations database.
Objectives and Outcomes
This module directly supports highlighted course outcome(s)
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
Module Outcomes and Activities
| After completing this module, students will be able: | to distinguish between data and database administration | list responsibilities of a database administrator |
|---|---|---|
| Read the module and watch recorded lecture | introduced | introduced |
| Read assigned materials | reinforced | reinforced |
| Module Discussion preparation and posting | mastered | mastered |
Assigned Reading
DBA Roles and Responsibilities (1.1 & 1.2)
Optional Materials
Module 6: Database and Application Performance
Introduction and Module Summary
In this module, you will learn how to choose DBMS based on data availability requirements and how to design the database and configure the database instance to achieve the best performance by designing indexes for an application, using denormalization and views, avoiding deadlocks
Objectives and Outcomes
This module directly supports highlighted course outcome(s)
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
Module Outcomes and Activities
| After completing this module, students will be able: | explain how to achieve good database performance | list activities performed during database performance tuning | to optimize performance of MS SQL databases | to optimize performance of Oracle databases |
|---|---|---|---|---|
| Assigned reading | introduced | introduced | introduced | introduced |
| Lab | Reinforced and mastered | Reinforced and mastered | Reinforced and mastered | Reinforced and mastered |
Assigned Reading
Database Indexes 1 (Microsoft) and 2 (Oracle) (if you need more details than provided in the module)
Query optimization techniques in SQL Server: Database Design and Architecture
Optional Materials
Database Performance Analyzer (Interactive Demo)
Module 7: Security
Introduction and Module Summary
In this module, you will learn about Operating System Security, DBMS Security and Database Application Security. Database Administrators responsibility is to implement and manage Database Security. These include defining and determining the following:
Who is allowed access to the database
How a user will be authenticated
The authority level a user is granted
The data that a user is allowed to read and/or modify
The database objects a user is allowed to create, alter, and/or drop
Objectives and Outcomes
This module directly supports highlighted course outcome(s)
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
Module Outcomes and Activities
| After completing this module, students will be able: | use Virtual Private Database feature (Oracle) | create and remove database user | create Profiles (Oracle) and Roles | GRANT, REVOKE , DENY Permissions to users and roles | Use Views and Stored Procedures for Security |
|---|---|---|---|---|---|
| Read the module and run all code | introduced | introduced | introduced | introduced | |
| Read assigned materials | reinforced | reinforced | introduced | introduced | |
| Complete Module Lab 1 | mastered | reinforced | reinforced | ||
| Complete Module Lab 2 | mastered | mastered | mastered |
Assigned Reading
SQL Server
Optional Materials
Module 8: Data Warehousing and ETL
Introduction and Module Summary
In this module, you will learn about Data Warehousing. The term Data Warehouse was coined by Bill Inmon in 1990, which he defined in the following way: "A warehouse is a subject-oriented, integrated, time-variant and non-volatile collection of data in support of management's decision making process". ETL is short for extract, transform, load, three database functions that to pull data out of different data sources in on database.
Objectives and Outcomes
This module directly supports highlighted course outcome(s)
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
Module Outcomes and Activities
| After completing this module, students will be able: | list major reasons why most organizations today need data warehousing. | to design, create, and manage cubes from data warehouse |
|---|---|---|
| Read the module and watch lecture recording | introduced | introduced |
| Read assigned materials | reinforced | reinforced |
| Complete Module Lab | mastered | mastered |
Assigned Reading
Oracle Database/ Data Warehousing Guide/ 18c (Part I chapters 1 & 2)
Design a multidimensional business intelligence (BI) semantic model
Optional Materials
Module 9: Database Backup and Recovery
Introduction and Module Summary
In this module, you will learn structures and processes for backup and recovery. Introduce the different methods for backup and recovery Diagnose and troubleshoot database problems.
Objectives and Outcomes
This module directly supports highlighted course outcome(s)
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
Module Outcomes and Activities
| After completing this module, students will be able: | To create / schedule backups for the databases | Choose the correct type of database recovery |
|---|---|---|
| Read assigned materials, watch recorded lecture | introduced | introduced |
| Read assigned materials | reinforced | reinforced |
| Watch Oracle Recovery Management Tutorial | reinforced | |
| Complete Module Lab | mastered | mastered |
Assigned Reading
Oracle Backup and Recovery ch 1 & 2 (34 pages)
Optional Materials
How to: Restore a Database Backup (SQL Server Management Studio)
Managing Backups (part IV) pp 33-37
Module 10: MongoDB
Introduction and Module Summary
In this module, you will learn about NoSQL (Not Only SQL) Databases and how real time web applications deal with massive amount of data. NoSQL databases use the concept of a key/value store, and it is designed for distributed data stores where very large scale of data storing needs. These type of data storing may not require fixed schema, avoid join operations and typically scale horizontally.
Objectives and Outcomes
This module directly supports highlighted course outcome(s)
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
Module Outcomes and Activities
| After completing this module, students will be able: | Write and run MongoDB shell commands | List major differences between RDBMS and NoSQL databases. |
|---|---|---|
| Read | introduced | introduced |
| Module Discussion preparation and posting | Reinforced & mastered | |
| Complete Module Lab | Reinforced & mastered |
Assigned Reading
Optional Materials
Module 11: Data Dictionaries
Introduction and Module Summary
In this module, you will learn about metadata and about metadata in both SQL Server and Oracle. Database metadata provides technical information about a database object, such as, field structures of a table, the owner of a table, the tablespace, constraints.
Objectives and Outcomes
This module directly supports highlighted course outcome(s)
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
Module Outcomes and Activities
| After completing this module, students will be able: | to identify sources of metadata in Oracle and SQL Server | to query system catalog to extract metadata |
|---|---|---|
| Assigned reading | introduced | introduced |
| Module Discussion preparation and posting | reinforced | reinforced |
| Lab | mastered | mastered |
Assigned Reading
Optional Materials
Module 12: Implementing ETL with SQL Server Integration Services
Introduction and Module Summary
In this module, you will use Microsoft SQL Server Integration Services (SSIS) features you'll extract data from many different data sources to provide a unified view of the data.
Objectives and Outcomes
This module directly supports highlighted course outcome(s)
Students who complete this course successfully will be able to
Describe tasks commonly performed by DBAs.
Analyze performance characteristics of a DB system and justify necessary changes.
Write programs to perform maintenance and user support operations.
Explain the concept of database security and backup/recovery
Module Outcomes and Activities
| After completing this module, students will be able: | Set data sources and destinations for extracting and loading data | Use transformations for cleaning, aggregating, merging, and copying data |
|---|---|---|
| Read the module and watch lecture recording | introduced | introduced |
| Read assigned materials | reinforced | reinforced |
| Complete the Project | mastered | mastered |
Assigned Reading
N/A