IST 318 Database Administration Lecture 1 What Is DBA?

22
IST 318 Database Administration Lecture 1 What Is DBA?

Transcript of IST 318 Database Administration Lecture 1 What Is DBA?

Page 1: IST 318 Database Administration Lecture 1 What Is DBA?

IST 318 Database Administration

Lecture 1

What Is DBA?

Page 2: IST 318 Database Administration Lecture 1 What Is DBA?

Topics

DBMS and DB ApplicationsDatabase, Data, and System AdministrationDBA TasksTypes of DBAsTest and Production Environments

Page 3: IST 318 Database Administration Lecture 1 What Is DBA?

DB Applications

Data is the lifeblood of computerized applications In many ways, business today is data

Using DBMS is the efficient way for data persistence and manipulation

DBA is at the center of the development lifecycle

Page 4: IST 318 Database Administration Lecture 1 What Is DBA?

Database vs. DBMS

DatabaseAn organized store

of data Data can be

accessed by names

DBMSSoftware that

enable users or programmers to share and manage data

Page 5: IST 318 Database Administration Lecture 1 What Is DBA?

Enterprise IT Infrastructure – a big picture

Page 6: IST 318 Database Administration Lecture 1 What Is DBA?

Application Development Lifecycle

Page 7: IST 318 Database Administration Lecture 1 What Is DBA?

Data Administration

Concentrate on the business aspects Business lexicon logical data modelRequirements gathering, analysis, and design

Typical tasks include Identifying and cataloging business dataProducing conceptual and logical data modelsCreating enterprise data modelSetting data policies and standards

Concerns more about metadata

Page 8: IST 318 Database Administration Lecture 1 What Is DBA?

Metadata

Metadata is often described as data of dataDefinitionBusiness nameAbbreviationType and length/accuracyDomain, or range of valid values

Page 9: IST 318 Database Administration Lecture 1 What Is DBA?

Data Models – three levels

Conceptual modelOutlines data requirements at a very high levelDescribes data mostly in business context

Logical modelProvides in-depth details of data types, lengths,

relationships, and cardinality

Physical modelDefines the way data is organized in physical medium

Page 10: IST 318 Database Administration Lecture 1 What Is DBA?

DBA vs. DA

DBAs have to take care the first two levels if no DA roles are implemented in an organization

Page 11: IST 318 Database Administration Lecture 1 What Is DBA?

System Administration

SAs are more concerned about the installation and setup of DBMS

Typical SA tasks includeUnderlying OS systemsDBMS Installation, modification, and supportSystem configurations enabling DBMS to work with

other software systems

Page 12: IST 318 Database Administration Lecture 1 What Is DBA?

DBA Tasks

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

Typical DBA tasks includeDB design and implementationPerformance monitoring and tuningAvailabilityDB security and authorizationBackup and recoveryData integrityDBMS release migration

Page 13: IST 318 Database Administration Lecture 1 What Is DBA?

DB Design & Implementation

Understand and adhere to sound relational design principlesRelational theories and ER diagramsDBMS specifics

Understanding conceptual/logical models and being able to transform to physical DB implementationPoor design can result in poor performance

Page 14: IST 318 Database Administration Lecture 1 What Is DBA?

Performance Monitoring & Tuning

Performance = the rate at which the DBMS supplies info to its users

Influenced by five factorsWorkloadThroughputResourcesOptimizationContention

Page 15: IST 318 Database Administration Lecture 1 What Is DBA?

Availability

Multifaceted processKeep the DBMS up and runningMinimize the downtime required for admin tasks

Technologies and up-front planning can help

Page 16: IST 318 Database Administration Lecture 1 What Is DBA?

DB Security & Authorization

Ensure data is available only to authorized users by granting privileges to different (groups of) users

Actions need to be controlledCreating/altering DB objects and/or their structuresReading/modifying data from tablesStarting/stopping DB and/or associated objectsRunning stored procedures or DB utilities

Page 17: IST 318 Database Administration Lecture 1 What Is DBA?

Backup & Recovery

Be prepared to recover DB in the event of Improper shutdown of DB applications, due to

Software errorHuman errorHardware failure

Types of recoveryRecover to currentPoint-in-time recoveryTransaction recovery

Page 18: IST 318 Database Administration Lecture 1 What Is DBA?

Data Integrity

Store the correct data in the correct wayPhysical integrity

domains and data types

Semantic integrityquality data with no redundancy

Internal integrity internal structures and code

Page 19: IST 318 Database Administration Lecture 1 What Is DBA?

Desired Skill Set

SQL + PL/SQLSystem specific operations and practicesData modeling methodologies and toolsNetworking (client/server)O/SProgramming (conventional and web-oriented)Transactional/messaging systems

Page 20: IST 318 Database Administration Lecture 1 What Is DBA?

Types of DBAs

System DBADB architectDB analystData modelerApplication DBATask-oriented DBAData warehouse administrator

Page 21: IST 318 Database Administration Lecture 1 What Is DBA?

Test & Production

At least two separate environments must be created for quality DB implementationTesting (aka development) QA (aka staging)Production

DifferencesThey should share the same configurationThey don’t need to be identical

Testing DB may have only a subset of data

Page 22: IST 318 Database Administration Lecture 1 What Is DBA?

Multiple DB Environments