Database Administration: Key Concepts

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What makes data the 'lifeblood' of computerized applications?

  • Application programs are developed to read, write, analyze, move, calculate, modify, and use data. (correct)
  • Data provides a means to store and retrieve information, maintaining records of past events or transactions.
  • Data allows programs to interact with users, receive input, and display output, creating an interactive experience.
  • Data acts as the foundation for decision making, providing the raw material used by analysts to identify trends and behaviors.

A database in the IT world is solely associated with hardware.

False (B)

What is the role of DBMS products in maintaining data?

Data integrity, data access control, automated rollback, restart, and recovery.

A DBMS is a ______ package used to create, store, and manage databases.

<p>software</p> Signup and view all the answers

Match the following terms with their descriptions:

<p>Data = The center of any application Database = A structured set of persistent data DBMS = A software package to manage databases DBA = Ensuring the operational functionality and efficiency of a database</p> Signup and view all the answers

What does the information technician ensure for an organization's databases?

<p>Ensures ongoing operational functionality and efficiency (A)</p> Signup and view all the answers

Understanding many facts of business and how business uses data is something not beneficial for a DBA.

<p>False (B)</p> Signup and view all the answers

Besides vast technical knowledge and good communication skills, describe one attribute of a good DBA.

<p>On call or a problem solver.</p> Signup and view all the answers

The database administrator is responsible for the ______ aspects of data, while the data administrator handles the business aspects.

<p>technical</p> Signup and view all the answers

Match each role to their area of focus within data and system administration:

<p>DA (Data Administrator) = Business aspects of data management DBA (Database Administrator) = Technical use of the DBMS SA/SP (System Administrator/Programmer) = Installing and upgrading DBMS software</p> Signup and view all the answers

What responsibility aligns with a Data Administrator (DA)?

<p>Identifying data owners and stewards. (B)</p> Signup and view all the answers

Metadata is data about programs.

<p>False (B)</p> Signup and view all the answers

List three responsibilities of the DBA.

<p>Works with DA and SA, Accepts logical models from DA, Works with SA to schedule and implements system software.</p> Signup and view all the answers

The System Administrator (SA) is a pure ______, with no responsibility for database design.

<p>technologist</p> Signup and view all the answers

Match each role to their primary responsibilities.

<p>DA (Data Administrator) = Data and metadata policy oversight DBA (Database Administrator) = Database design and development SA (System Administrator) = IT Infrastructure management</p> Signup and view all the answers

Which action does NOT align to DBA tasks?

<p>Ordering new server hardware. (D)</p> Signup and view all the answers

Database design isn't one of the key areas included in DBA tasks.

<p>False (B)</p> Signup and view all the answers

List three DBA tasks listed in the content provided.

<p>Database Design; Performance Monitoring and Tuning; Database Availability.</p> Signup and view all the answers

DBA tasks include performance ______ and tuning.

<p>monitoring</p> Signup and view all the answers

Match the terms related to DBA tasks with their descriptions:

<p>Performance Monitoring and Tuning = Ensuring efficient database operations Database Availability = Maintaining database uptime Database Security = Preventing unauthorized database access</p> Signup and view all the answers

What best characterizes how a DBA addresses workload factors?

<p>Analyzing and optimizing database performance. (A)</p> Signup and view all the answers

High contention helps throughput increases.

<p>False (B)</p> Signup and view all the answers

What is the goal of database performance?

<p>Optimization of resource usage, increasing throughput, and minimizing contention.</p> Signup and view all the answers

The three types of database recovery are recover to current, point-in-time recovery, and ______ recovery.

<p>transaction</p> Signup and view all the answers

Match each recovery type with its description:

<p>Recover to Current = Restoring the database to its state at the point of failure Point-in-Time Recovery = Removing effects of all transactions after a specified time Transaction Recovery = Removing specific transactions within a timeframe</p> Signup and view all the answers

Which does NOT describe a component of data integrity?

<p>External. (A)</p> Signup and view all the answers

External Integrity is one of the Key aspects on Integrity.

<p>False (B)</p> Signup and view all the answers

What are referential constraints used for?

<p>Specify the columns that define relationships between tables.</p> Signup and view all the answers

[Blank] constraints are used to place more complex integrity rules on a column or set of columns in a table.

<p>check</p> Signup and view all the answers

Match the type of constraints with their functions:

<p>Referential Constraints = Specify table relationships Unique Constraints = Assure unique values in a column Check Constraints = Implement integrity rules on columns</p> Signup and view all the answers

Which task does data migration typically involve?

<p>Migrating from release to release of the database. (D)</p> Signup and view all the answers

Data migration is a one-time task and does not need to be performed frequently.

<p>False (B)</p> Signup and view all the answers

Describe five of the most common types of DBA.

<p>System DBA; Database Architect; Database Analyst; Data Modeler; Application DBA.</p> Signup and view all the answers

A ______ focuses on technical rather than business issues and can be more common in the system administration area.

<p>System DBA</p> Signup and view all the answers

Match the DBA type with their main area of focus:

<p>System DBA = Technical system administration Database Architect = New database implementation design Application DBA = Database design for a specific application</p> Signup and view all the answers

Within a tech team, which of the following roles would focus on the design and implementation of new databases?

<p>Database Architect. (C)</p> Signup and view all the answers

Database architect is usually involved in the maintenance or tuning of established databases.

<p>False (B)</p> Signup and view all the answers

Describe the role of Task Oriented DBA with respect to other DBA roles.

<p>Specialized DBAs that focus on a specific DBA task.</p> Signup and view all the answers

Performance Analysts must understand the details and nuances of SQL coding for performance. They must also be able to ______ databases for the performance.

<p>design</p> Signup and view all the answers

Match each role with their main focus and responsibilities.

<p>Performance Analyst = Solely focusing on database performance Data Warehouse Administrator = Managing and monitoring data warehouse environments e-DBA = Administer web-based databases.</p> Signup and view all the answers

Flashcards

What is Data?

Data is the center of any application.

What is a Database?

A structured set of persistent data, a collection of related data.

What is DBMS?

Software designed to create, store, and manage databases.

What is a database administrator (DBA)?

Ensuring ongoing operational functionality and efficiency of an organization's databases and applications.

Signup and view all the flashcards

What is metadata?

Information about data: description of the data.

Signup and view all the flashcards

Data Administrator

Focuses on business aspects.

Signup and view all the flashcards

Database Administrator

Focuses on technologies used to manage the data.

Signup and view all the flashcards

System Administrator

Focuses on implementation and operations.

Signup and view all the flashcards

DBA tasks

Ensuring data and databases are useful, usable, available, and correct.

Signup and view all the flashcards

Database design

A key area of DBA tasks involving database design.

Signup and view all the flashcards

Performance Monitoring and Tuning

Monitoring and tuning database performance.

Signup and view all the flashcards

Workload

Amount of work database handles.

Signup and view all the flashcards

Throughput

The overall capability of the computer hardware and software to process data.

Signup and view all the flashcards

Resources

Hardware/software at the disposal of the system.

Signup and view all the flashcards

Optimization

The overall evaluation of the database.

Signup and view all the flashcards

Contention

Condition of too many workload tasks attempting to use one resource.

Signup and view all the flashcards

Database Availability

Keeping databases running.

Signup and view all the flashcards

Database Security

Preventing security breaches.

Signup and view all the flashcards

Backup and Recovery

Must be prepared recover data.

Signup and view all the flashcards

Recover to current

End result that the database is brought back to its current state at the time of the failure.

Signup and view all the flashcards

Point-in time recovery

Removes the effects of all transactions since a specified point in time.

Signup and view all the flashcards

Integrity aspects

There are three forms: physical, semantic, and internal.

Signup and view all the flashcards

DBMS Release Migration

Managing the migration from release to release of the DBMS.

Signup and view all the flashcards

System DBA

Focuses on technical business issues in administration.

Signup and view all the flashcards

Database Architect

New databases and new existing applications.

Signup and view all the flashcards

Data Modeler

Creating a model, and analyzing tasks.

Signup and view all the flashcards

Application DBA

Focuses on database design and support for specific applications.

Signup and view all the flashcards

Task Oriented DBA

Larger organizations that specializes DBA tasks.

Signup and view all the flashcards

Performance analyst

Analyzes soley the database applications.

Signup and view all the flashcards

Data Warehousing

Process of data collection and storage from various sources and managing it to provide valuable business insights.

Signup and view all the flashcards

Warehouse Administrator

Data warehouses Online Analytical Processing (OLAP).

Signup and view all the flashcards

Multiplatform DBA Issues

Features of each DBMS & characteristics of the operating system.

Signup and view all the flashcards

Production server

Separate environments.

Signup and view all the flashcards

Impact of technology

The DBA is at the center of the action whenever new ways of doing business and new technologies are introduced to the organization.

Signup and view all the flashcards

Managing database

Database Logic.

Signup and view all the flashcards

Store procedures

Code can be be reused.

Signup and view all the flashcards

Triggers

Attached to database tables.

Signup and view all the flashcards

User-Defined Functions

Can execute SQL scalar functions.

Signup and view all the flashcards

The internet

Capable of managing Web.

Signup and view all the flashcards

The DBA Cloud

Used to administer databases.

Signup and view all the flashcards

DBA Certification

Recent trend in IT.

Signup and view all the flashcards

Study Notes

Key Concepts in Chapter 1: What is a DBA?

  • Database Administration is important to learn
  • DBA roles provide a unique vantage point
  • The role has a management discipline component
  • Focus on data, databases and all systems
  • The role has specific tasks and responsibilities
  • Various types of DBAs can specialize in different areas
  • Multiplatform issues need to be addressed by DBAs
  • Production environments differ from test environments
  • Newer technologies impact the role of the DBA
  • There is DBA certification on top of all of this

What is Data?

  • Data is central for all modern applications
  • Data powers computerized applications
  • Application programs focus on reading, writing, analyzing, moving, calculating, and modifying data
  • Without data, programs would be useless

What is a Database?

  • Databases are structured and persistent sets of data
  • Databases are collections of related data
  • Phone books are an example of a database
  • Databases are associated with software
  • Databases can be files containing records and fields of fixed types and lengths
  • Databases are organized stores of data accessible by name (fields, records, files)
  • Databases are created to store and organize data

What is a DBMS?

  • A Database Management System (DBMS) is a software package
  • Designed to create, store, and manage databases
  • DBMS software allows end users or application programmers to share data
  • DBMS provides systematic methods for creating, updating, retrieving, and storing information
  • They ensure data integrity, control access, and handle rollback, restart, and recovery

Database Administrator

  • Database administrators are responsible for ensuring the ongoing operational functionality and efficiency of an organization's databases and applications
  • Every organization using a DBMS needs a database administration group
  • Group ensures the company's databases are used and deployed effectively

Why Learn Database Administration?

  • Data is central to modern applications
  • Organizations cannot function without data
  • Today's businesses are primarily driven by data
  • DBAs are responsible for the design and maintenance of databases
  • The role places the DBA at the center of business operations
  • DBAs learn about many facts of business
  • The DBA can discover how business utilise their data
  • DBAs learn new technologies as adopted by the organization
  • Good database design/utility improves an organization's competitive position

What Makes a Good DBA?

  • Vast technical knowledge
  • On call
  • Communication skills
  • Be a problem solver
  • Enjoys challenges
  • Exposure to new technologies
  • Can work alone or as part of a group

Splitting Business and Technical Aspects

  • Data administrators focus on the business aspects
  • Database administrators focus on the technical aspects

Data administrator (DA)

  • Focuses on business and is responsible for:
  • Identifying and cataloging data requested by business users
  • Creating conceptual and logical data models
  • Production of an enterprise model for all business processes
  • Sets data policies for the organization
  • Identifying data owners + stewards
  • Sets standards for control and data usage

What is Metadata?

  • Data about the data
  • Example: The number 12 could mean (day of the month, age, IQ, etc)

Data Administrator vs Chief Data Officer

  • Not about technology, more about the meaning of data in the organization
  • Responsible for rallying the organization to use data as a corporate asset
  • Handles metadata
  • Concerned with data quality, integrity, and reuse
  • Will invariably implement and staff the DA function

Database Administrator (DBA)

  • Focuses on technologies used to manage the data
  • Works with Data and System Administrators
  • Accepts logical models from the DA to implement physical databases
  • Works with SA (system admin) to schedule/implement system software (e.g., DBMS)
  • Tunes the environment appropriately
  • Communicates data models to developers and other technicians
  • Maps data models to create physical databases
  • Works with application programming staff

System Administrator (SA)

  • Focuses on DBMS (database management systems)
  • Concerned with the systems implementation/operations
  • Responsible for:
  • Installation/ setup of resources for computing
  • Pure technologist
  • No responsibility for database design and support
  • Infrastructure support
  • Setting up the DBMS
  • IT infrastructure is implemented to work with other system software
  • Applying ongoing maintenance from the DBMS vendor

Ensuring Data Quality

  • An organization's data must be useful, usable, available, and correct
  • To make this a reality DBA must performs in a variety of areas

DBA General Tasks

  • Database Design
  • Performance monitoring and tuning
  • Database availability
  • Security
  • Backup and recovery
  • Data integrity
  • Release migration

DBA Task: Database Design

  • The DBA must transform a logical data model into a physical database implementation
  • Must ensure the database can properly enable a useful database for its app and client

DBA Task: Performance Monitoring and Tuning

  • Five factors influence database performance
  • Workload describes intensity of resources use
  • Throughput describes total capability
  • Resources refers to the the hardware and software available
  • Optimization refers to the analysis reqests
  • Contention (conflict) describes components attempting to monopolize the resources
  • Database performance optimized to minimise workload

Workload

  • Combination of online transactions, batch jobs, ad hoc queries, data warehousing, analytical queries, and commands

Throughput

  • Defines overall capability of the computer hardware and software to process data

Resources

  • Hardware and software the system can use

Optimization

  • Refers to analysis of database requests

Contention

  • Condition in which two or more components of the workload are attempting to use a single resource in a conflicting way
  • For example, dual updates of some data
  • Contention increase > throughput decreases

3.Database Availability Tasks

  • Databases must be available on-demand
  • Automated alerts warn of DBMS outages and the need for corrective action
  • DBA designs the database to maintain minimum disruption

4.Database Security and Authorization

  • Prevents security breaches.
  • Only authorize programmers and users to access the database.
  • DBAs ensure data is available to authorized users.

Security Administration Actions

  • Grant and monitor access to a variety of tasks to manage user accounts Creating database objects (databases, tables, views, etc.)
  • Altering structure of database objects
  • Reading and modifying the data
  • Creating and accessing user-defined functions and data types
  • Start/stop databases (and associated database objects)
  • Setting and modifying DBMS parameters
  • Running database utilities (LOAD, RECOVER, REORG)

5.Backup and Recovery

  • DBAs prepared to recover data in the event of a problem
  • Problems can come in all shapes and sizes

3 Types of Database Recovery

  • Recover to current – Reverts to current version
  • Point-in time recovery – Revert to prior version
  • Transaction recovery – Rollback specific transactions

6.Data Integrity

  • Database designed to store the correct data
  • Database designed in the correct way
  • Damaged data not stored
  • Corrupted data not stored

3 Aspects of Database Integrity

  • Physical
  • Semantic
  • Internal

Types of Database Constraints

  • Referential integrity constraints
  • Used to specify columns in tables to define relationships
  • Unique constraints
  • Ensure that the values or a column or set of columns only appear once in the table
  • Check constraints
  • Used to place more complex integrity rules inside tables

Data Types

  • Physical constraints that enforce the type of data stored

Semantic Integrity

  • Refers that data in the database has good data quality

Internal Integrity

  • Refers to the integrity of the database internal structure

Index Consistency

  • If index is out of sync access fails

Pointer Consistency

  • Ptrovides reliable access to multimedia

Backup Consistency

  • Checks old backups integrity

7.DBMS Release Migration

  • Managing migration from release to release is key
  • DBMS products change frequently
  • New versions of DBMS released almost yearly
  • Keeping DBMS running and up-to-date is ongoing
  • Effort consumes many DBA cycles
  • Approach must conform to organization’s needs

Common Type of DBA

  • System DBA focuses on physical aspects
  • Database Architect: Design + implementation of new databases
  • Database Analyst
  • Data Modeler
  • Application DBA
  • Focus on database design and ongoing support
  • Able to perform data change management/performance
  • Task Oriented DBA
  • Specialized DBAs that focus on a specific task
  • Performance Analyst
  • Focuses on performance
  • Data Warehouse Administrator - Online Analytical Processing (OLAP) for performing in-depth data analysis

System DBA Tasks

  • Installing new DBMS versions
  • Applying maintenance fixes
  • Setting and tuning system parameters
  • Tuning the operating system, network, and transaction processors
  • Ensuring appropriate storage for the DBMS
  • Enabling the DBMS to work with storage devices
  • Interfacing with other technologies
  • Installing third-party DBA tools.

Skills for A Database Architect

  • Creating a logical data model
  • Translating logical data models into physical database designs
  • Implementing efficient databases (physical storage)

What is Data Warehousing?

  • Data warehouses involve collecting data from many places
  • Storing it
  • Managing it to see business value

OLAP vs OLTP

  • OLTP (Online Transactions Processing) efficiently manages of short transactions
  • OLAP (Online Analytical Processing) organizes analytical queries without affecting transactional systems.

Multiplatform DBA Issues

  • Managing multi-platform environments complicates database administration Issues to address:
  • Features of each DBMS
  • Features and characteristics of the operating system
  • Networking
  • DBMS Skills
  • Support for programming languages
  • Organizational requirements.

Production Versus Test Environments

  • Environments created to qualify database implementation
  • Test and Production
  • Development happens in the TEST, apps runs in PRODUCTION
  • Test + QA
  • Programmer tests output and contents of database
  • Program logic is correct.
  • Quality assurance environment

The Impact of Newer Technologies on DBA

  • DBAs need to be to be on top on new new technologies
  • Understand how databases integrate with new technologies

Let's analyze three newer technologies that rely on databases:

  • Database-coupled application logic
  • Internet-enabled E-Business development
  • Handheld computing

Procedural DBAs: Managing Database Logic

  • Logic must stored in DBMS.
  • Database provides triggers, and functions
  • Provide the ability to have functions and database talk to each other. Or have multiple DBs talk to each other

Stored Procedures

  • A stored procedure is a pre-prepared SQL code that you can save, for reuse.
  • Stored procedures can be programs that can run within a database.
  • The movement of the application from client side to database server
  • Stored procedures reduce overhead + increase performance
  • Freestanding database object that is not"physically" associated with another object.
  • Stored procedures can access 1 or many tables

Triggers

  • Triggers - event-driven specialized procedures attached to database tables.
  • Trigger code is executed by the RDBMS as data changes in the database.
  • Each trigger is attached to single, specified table.
  • Triggers advanced rules that can be activated by an event
  • INSERT, UPDATE, or DELETE

e-DBAs

  • Can manage Web-based applications + Internet issues
  • Internet skills enable those applications

Factors Impacting Database Administration

  • 24/7 Data Availability, New Technologies + Web connectivity
  • Integration of “legacy” data with Web-based apps
  • App architecture and integration
  • Web-based administration
  • Internet performance engineering
  • Unpredictable workload

DBA in the Cloud

  • DBAs are needed to administer could databases
  • They will face similar availability issue

DBA Certification

  • Exams exist for IBM, Microsoft + Oracle platforms
  • Testing shows capability to do tasks + duties
  • Show that you have certified in professionals skills
  • Helpful, but jobs require on site work experience

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser