31
Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Embed Size (px)

Citation preview

Page 1: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Organizing Data and Information

AD660 – Databases, Security, and Web Technologies

Marcus GoncalvesSpring 2013

Page 2: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Introduction

Database: an organized collection of data Database management system (DBMS): group of

programs to manage database– Manipulates database– Provides an interface between database and the user of the

database and other application programs

Database administrator (DBA): skilled IS professional who directs all activities related to an organization’s database

Page 3: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Data Management

Without data and the ability to process it, an organization could not successfully complete most business activities

Data consists of raw facts For data to be transformed into useful information, it

must first be organized in a meaningful way

Page 4: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

The Hierarchy of Data

Bit (a binary digit): a circuit that is either on or off Byte: eight bits Character: basic building block of information

– Each byte represents a character – Can be an uppercase letter, lowercase letter, numeric digit, or

special symbol

Field: typically a name, number, or combination of characters that describes an aspect of a business object or activity

Page 5: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

The Hierarchy of Data (continued)

Record: a collection of related data fields File: a collection of related records Database: a collection of integrated and related files Hierarchy of data: bits, characters, fields, records, files,

and databases

Page 6: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

The Hierarchy of Data (continued)

Page 7: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Data Entities, Attributes, and Keys

Entity: a generalized class of people, places, or things (objects) for which data is collected, stored, and maintained

Attribute: characteristic of an entity Data item: value of an attribute Key: field or set of fields in a record that is used to identify

the record Primary key: field or set of fields that uniquely identifies the

record

Page 8: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Data Entities, Attributes, and Keys (continued)

Page 9: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

The Database Approach

Traditional approach to database management: separate data files are created for each application– Results in data redundancy (duplication)– Data redundancy conflicts with data integrity

Database approach to database management: pool of related data is shared by multiple applications– Significant advantages over traditional approach

Page 10: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

The Database Approach (continued)

Page 11: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

The Database Approach (continued)

Page 12: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

The Database Approach (continued)

Page 13: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

The Database Approach (continued)

Page 14: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Data Modeling and the Relational Database Model

When building a database, consider:– Content: What data should be collected, at what cost?– Access: What data should be provided to which users and

when?– Logical structure: How should data be arranged to make sense

to a given user?– Physical organization: Where should data be physically located?

Page 15: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Data Modeling (continued)

An Entity-Relationship (ER) Diagram for a Customer Order Database

Page 16: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

The Relational Database Model

Relational model: all data elements are placed in two-dimensional tables (relations), which are the logical equivalent of files

In the relational model– Each row of a table represents a data entity– Columns of the table represent attributes– Domain: the allowable values for data attributes

Page 17: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

The Relational Database Model (continued)

A Relational Database Model

Page 18: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Manipulating Data

Selecting: eliminates rows according to criteria Projecting: eliminates columns in a table Joining: combines two or more tables Linking: relates or links two or more tables using

common data attributes

Page 19: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Manipulating Data (continued)

Linking Data Tables to Answer an Inquiry

Page 20: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Database Management Systems (DBMS)

Interface between:– Database and application programs – Database and the user

Creating and implementing the right database system ensures that the database will support both business activities and goals

DBMS: a group of programs used as an interface between a database and application programs or a database and the user

Page 21: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Overview of Database Types

Flat file– Simple database program whose records have no relationship to one

another

Single user– Only one person can use the database at a time– Examples: Access, FileMaker, and InfoPath

Multiple user– Allows dozens or hundreds of people to access the same database

system at the same time– Examples: Oracle, Sybase, and IBM

Page 22: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Creating and Modifying the Database (continued)

Figure 3.10: Using a Data Definition Language to Define a Schema

Page 23: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Storing and Retrieving Data

Page 24: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Database Administration

Database administrator (DBA): directs or performs all activities to maintain a database environment– Designing, implementing, and maintaining the database system

and the DBMS– Establishing policies and procedures– Employee training

Page 25: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Popular Database Management Systems

Popular DBMSs for end users: Microsoft Access and FileMaker Pro

Entire market includes databases by IBM, Oracle, and Microsoft

Examples of open-source database systems: PostgreSQL and MySQL

Many traditional database programs are now available on open-source operating systems

Page 26: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Data Warehouses, Data Marts, and Data Mining

Data warehouse: collects business information from many sources in the enterprise

Data mart: a subset of a data warehouse Data mining: an information-analysis tool for

discovering patterns and relationships in a data warehouse or a data mart

Page 27: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Data Warehouses, Data Marts, and Data Mining (continued)

Elements of a Data Warehouse

Page 28: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Business Intelligence

Business intelligence (BI): gathering the right information in a timely manner and usable form and analyzing it to have a positive impact on business– Turns data into useful information that is then distributed

throughout an enterprise

Page 29: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Business Intelligence (continued)

Competitive intelligence: aspect of business intelligence limited to information about competitors and the ways that knowledge affects strategy, tactics, and operations

Counterintelligence: steps an organization takes to protect information sought by “hostile” intelligence gatherers

Page 30: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013

Distributed Databases

Distributed database– Data may be spread across several smaller databases

connected via telecommunications devices– Corporations get more flexibility in how databases are organized

and used

Replicated database– Holds a duplicate set of frequently used data

Page 31: Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013