Top Banner
Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management “Modern organizations are said to be drowning in data but starving for information” p. 509 COIS11011 WEEK 11
32

Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Mar 30, 2015

Download

Documents

Brennen Coup
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-1

3Technology Briefing

Database Management

“Modern organizations are said to be drowning in data but starving for information”

p. 509

COIS11011 WEEK 11

Page 2: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-2

Learning Objectives

Page 3: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-3

Learning Objectives

Page 4: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-4

Database Management for Strategic Advantage

• Database technology is vital to an organization’s success

• Variety of information collected and storedo Stock prices

o Potential customers

o Credit ratings of wholesalers

o Etc.

Page 5: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-5

Database Management for Strategic Advantage (II)

• Database technology used for:o Gathering and storing customer information

o Custom-tailoring catalogs and mailings

o Fueling electronic commerce

o Etc.

Page 6: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-6

Learning Objectives

Page 7: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-7

Database Foundations

• Then:o Card catalogs

o File cabinets

• Now:o DBMS

• Create• Store• Organize• Retrieve data

o E.g., Microsoft Access

Page 8: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-8

Database

• Databaseo Collection of related

data organized in a way to facilitate searches

o Entities

• Something you collect data about

• E.g.: people, books

Page 9: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-9

Record

• Contains data about a single entityo Similar to catalog

card

Page 10: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-10

Attributes

• Specific characteristic describing the entitieso E.g.: name and social

security number are attributes of a person

Page 11: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-11

Example: Entity Student• Entity represented as a table, with rows as records and

columns as attributes

Page 12: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-12

Advantages of the Database Approach

1. Program-data independence

2. Minimal data redundancy

3. Improved data consistency

4. Improved data sharing

5. Increased productivity of application development

Page 13: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-13

Advantages of the Database Approach (II)

6. Enforcement of standards

7. Improved data quality

8. Improved data accessibility

9. Reduced program maintenance

Page 14: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-14

Cost and Risks of the Database Approach

1. New, specialized personnel

2. Installation and management cost and complexity

3. Conversion costs

4. Need for explicit backup and recovery

5. Organizational conflict

Page 15: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-15

Effective Management of Databases• Database Administrator (DBA)

o Responsible for development and management of databases

•Works with system analysts and programmers

•Works with users and managers

• Implements security features

•Grants access rights

o One of the key actors in creating a successful database

Page 16: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-16

Entering Data

• Formso Enter data about a record

o Field in a form corresponds to attribute in a record

o Used to add, modify, or delete data

Page 17: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-17

Example: Computer-Based Form

Page 18: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-18

Querying Data• Query: used to retrieve information

• Structured Query Language (SQL) o Example: Display students who earned an “A”

o Writing SQL queries can become very complex

Page 19: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-19

Query by Example

• Simpler than SQL

• Drag-and- drop features

• Construct a sample of the data we would like to see

Page 20: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-20

Creating Database Reports• Report

o Compilation of data from the database

• Report generatorso Retrieve, manipulate, and display data

• Exampleo Quarterly sales for

a restaurant

• Adding

• Grouping

Page 21: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-21

Database Design

• Data need to be organized for retrieval and analysiso Key elements of a database

•Data

•Structure

• Data modelo A map or a diagram representing entities

and their relationships

Page 22: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-22

Example: Entities and Their Attributes

Page 23: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-23

Identifying Records

• Uniquely identifying records:o Primary Key

• Unique identifier • E.g.: Student ID number, social security number

o Combination primary key• Combination of two or more attributes • E.g.: identifying a student’s grade for a particular class for

a particular term

• Identifying records that share a common valueo Secondary Key

• Attribute not used as a primary key• E.g., Major

Page 24: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-24

Associations• Used to relate information between tables

• Needed to retrieve information

• Example: Basketball league database

Page 25: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-25

Example: Basketball League

• Each table contains important data

• No way to learn which team plays in a specific stadium

• Need to make associations

Page 26: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-26

Example: Basketball League

• Foreign keyso Attributes used

to link tableso Primary key in

one table, foreign key in another

o Need to create additional entity for many-to-many relationships

Page 27: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-27

Entity-Relationship Diagram• Used to show associations between entities

• Important when designing complex databaseso Entities: represented by boxes

o Relationships: represented by lines

Associations

Page 28: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-28

The Relational Model• Primary DBMS approach (RDBMS)• 3 dimensions

o Entities represented as 2-dimensional tables• Rows = records• Columns = attributes

o Tables joined based on common columns(3rd dimension)

• Good design eliminates redundancy

Page 29: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-29

Data Redundancy • Problematic if an attribute has to be changed

o Need to change in multiple locations

• E.g., instructor’s phone number

Page 30: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-30

Normalization• Eliminate unnecessary redundancy

o Create separate tables

o Data only needs to be changed in a single location

Page 31: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-31

Data Dictionary

• Document that specifies what data needs to be enteredo Attribute name

o Key or not

o Data type

o Valid values

• Can be used to enforce business rules

Page 32: Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management Modern organizations are said to be drowning in.

Information Systems Today: Managing in the Digital World TB3-32

Linking Website Applications to Organizational Databases

• Users can access a variety of data via a company’s web siteo Web services help in integration of

databases, regardless of physical location

• Need for adequate systems performance

• Get understanding of customer behavior