17
INFORMATION SYSTEMS DATABASE MANAGEMENT (PART 2) Prepared by: Jan Wong

IS CH2 Database Management (p2)

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: IS CH2 Database Management (p2)

INFORMATION

SYSTEMS

DATABASE MANAGEMENT

(PART 2)

Prepared by: Jan Wong

Page 2: IS CH2 Database Management (p2)

The Learning Outcome

s

Identify the differences between databases

Explain how you can interact with web databases

Discuss the responsibilities of web analysts and administrators

Page 3: IS CH2 Database Management (p2)

The Keyword

s

• Data Security

• Backup and log

• Recovery utility

• Data model

• Relational database

• Relationship

• Structured Query Language

• Object Oriented Database

• Data Warehouse

• Web Database

• Database Administration

Page 4: IS CH2 Database Management (p2)

Data Security

• DBMS provides means to ensure only authorized users can access data

Access privileges define activities that specific user or group of users can perform

Read-only privileges - user can view data, but cannot change it

Full-update privileges - user can view and change data

Page 5: IS CH2 Database Management (p2)

Recovery Utility

Uses logs and/or backups to restore database when it is damaged or destroyed

2 types:

• Rollforward — DBMS uses log to re-enter changes made to database since last save or backupAlso called forward recovery

• Rollback — DBMS uses log to undo any changes made to database during a certain period of timeAlso called backward recovery

Page 6: IS CH2 Database Management (p2)

Data Model

Rules and standards that define how database organizes data

Defines how users view organization of data

• Four popular data modelsRelational

Object-oriented

Object-relational

Multidimensional

Page 7: IS CH2 Database Management (p2)

Data Models: Relational Database

Stores data in tables that consist of rows and columns

• Each row has primary key

• Each column has unique name

Stores data relationships – how data relates to each other

• What is a relationship?Connection within data

• Uses Structured Query Language (SQL)

Page 8: IS CH2 Database Management (p2)

How to interact

with Databases

Structured Query Language (SQL)

• Allows you to manage, update, and retrieve data

• Has special keywords and rules included in SQL statements

SQL statement

SQL statement results

Page 9: IS CH2 Database Management (p2)

Data Models:

Object Oriented

Database

Stores data in objects

• Object: Items that contains data, as well as actions that read or process data Images, hyperlinks, videos,

scripts, etc

• Advantage:Can store more types of data

Can access data faster

• Uses Object Query Language (OQL)

Page 10: IS CH2 Database Management (p2)

Object Oriented

Databases

• Examples of applications appropriate for an object-oriented database:

Multimedia databasesMultimedia databases

Store images, audio clips, and/or video clips

Store images, audio clips, and/or video clips

Groupware databasesGroupware databases

Store documents such as schedules, calendars, manuals,

memos, and reports

Store documents such as schedules, calendars, manuals,

memos, and reportsComputer-aided design (CAD) databasesComputer-aided design (CAD) databases

Store data about engineering, architectural,

and scientific designs

Store data about engineering, architectural,

and scientific designs

Hypertext databasesHypertext databases

Contain text links to other documentsContain text links to other documents

Hypermedia databasesHypermedia databases

Contain text, graphics, video, and sound

Contain text, graphics, video, and sound

Web databasesWeb databases

Link to e-form on Web pageLink to e-form on Web page

Page 11: IS CH2 Database Management (p2)

Multi-dimensional Database

It also allows more complex queries

Stores data in dimensions

Multiple dimensions, also called hypercube, allow users to analyze any view of data

Can consolidate data much faster than relational database

Page 12: IS CH2 Database Management (p2)

Multi Dimension

Data Warehouse

Huge database system that stores and manages data required to analyze historical and current transactions

Quick and efficient way to access large amounts of data

Often uses a process called data mining to find patterns and relationships among data

Uses multidimensional databases

Data mart is smaller version of data warehouse

Page 13: IS CH2 Database Management (p2)

Web Databas

e

Database you access through the Web by filling in a form on a Web page

Usually resides on a database server, a computer that stores and provides access to a database

Page 14: IS CH2 Database Management (p2)

Database Admin-istration

What are the guidelines for developing a database?

• Determine the purpose of the database

• Design the tables Design tables on paper first

Each table should contain data about one subject

• Design the records and fields for each table Be sure every record has a unique

primary key

Use separate fields for logically distinct items

Do not create fields for information that can be derived from entries in other fields

Allow enough space for each field

Set default values for frequently entered data

• Determine the relationships between tables

Page 15: IS CH2 Database Management (p2)

Database Admin-istration

What is the role of a DA and DBA?

• Database Analyst (DA)Focuses on meaning and usage

of data

Decides proper placement of fields, defines relationships, and identifies users’ access privileges

• Database Administrator (DBA)Creates and maintains data

dictionary, manages database security, monitors database performance, and checks backup and recovery procedures

Page 16: IS CH2 Database Management (p2)

Questions,

anyone?

Page 17: IS CH2 Database Management (p2)

Chapter 3:

Information

System

Development