lecture-7/ t. nouf almujally

29
Data Resource Management Section 1: “Technical Foundations of Database Management” CHAPTER 5 Lecture-7/ T. Nouf Almujally 1

Upload: whitney

Post on 24-Feb-2016

48 views

Category:

Documents


0 download

DESCRIPTION

Data Resource Management Section 1: “Technical Foundations of Database Management” Chapter 5. Lecture-7/ T. Nouf Almujally. Outline. Section 1: Technical Foundations of Database Management Database Management Fundamental Data Concepts Database Structures Database Development - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Lecture-7/ T.  Nouf Almujally

Data Resource Management

Section 1: “Technical Foundations of Database Management”

CHAPTER 5

Lecture-7/ T. Nouf Almujally

1

Page 2: Lecture-7/ T.  Nouf Almujally

Outline• Section 1: Technical Foundations of Database

Management• Database Management• Fundamental Data Concepts• Database Structures• Database Development

• Data planning and Database Design (not required)

Page 3: Lecture-7/ T.  Nouf Almujally

Technical Foundations of Database Management

Section 1

Page 4: Lecture-7/ T.  Nouf Almujally

Database Management• Data are a vital organizational resource that need to

be managed like other important business assets.• Today's business enterprise cannot succeed without

quality data about their internal operations and external environment.

• In all information systems, data resources must be organized and structured in some logical manner so that they can be accessed easily, processed efficiently, retrieved quickly, and managed effectively.

• Database provide a logical organization method and easy access to the data stored in it.

Page 5: Lecture-7/ T.  Nouf Almujally

Logical Data Elements

character field record file database

• Data may be logically organized into:

Page 6: Lecture-7/ T.  Nouf Almujally

Logical Data Elements

Field(data item) RecordCharacter

• Consists of a grouping of related characters.

• Represents an attribute (characteristic) of some entity (object, person, place, event)

• Examples… salary, job title

• Grouping of all the fields used to describe the attributes of an entity

• Example… payroll records with name, SSN, pay rate

• Primary Key.

• A single alphabetic, numeric, or other symbol

File(table, flat file) Database

• Group of related records

• Integrated collection of logically related data elements

• It consolidates records previously stored in separate files into a common pool of data elements that provides data for many applications

Page 7: Lecture-7/ T.  Nouf Almujally

Fundamental Data Concepts

Page 8: Lecture-7/ T.  Nouf Almujally

Fundamental Data Concepts• The data stored in a database are

independent of the application programs using them and of the type of storage devices on which they are stored.

• Databases contain data elements describing entities and relationships among entities.

Page 9: Lecture-7/ T.  Nouf Almujally

Electric Utility DatabaseBusiness

applications that access the data in the DB

Page 10: Lecture-7/ T.  Nouf Almujally

Database Structures• The relationships among the many individual

data elements stored in databases are based on one of several logical data structures, or models.

• Database management system (DBMS) packages are designed to use a specific data structure to provide end users with quick, easy access to information stored in databases.

• Five fundamental database structures:• Hierarchical , network , relational, object-oriented

and multidimensional models.

Page 11: Lecture-7/ T.  Nouf Almujally

Common Database Structures: Hierarchical

• Early mainframe DBMS packages used this structure.

• Records arranged in a hierarchy or tree-like structure

• Relationships are one-to-many

Root Element

Page 12: Lecture-7/ T.  Nouf Almujally

Common Database Structures: Network

• Can represent more complex logical relationships and is still used by mainframe DBMS packages.

• Many-to-many relationships among records.

Page 13: Lecture-7/ T.  Nouf Almujally

Common Database Structures: Relational

• Most widely used structure• Used by microcomputer DBMS packages, as well as by most

midrange and mainframe systems.• Data elements are stored in tables (sometimes referred to as

relations).• Row represents a record; column is a field.• DBMS packages based on relational model can relate data in

one table with data in another, if both tables share a common data element.

Page 14: Lecture-7/ T.  Nouf Almujally

Common Database Structures: Relational

• A lot of commercial products exist to create and manage relational models:• Mainframe relational DB applications:

• Oracle10g from Oracle• DB2 from IBM

• Midrange DB applications:• SQL Server from Microsoft.

• The most commonly used DB application for the PC is Microsoft Access.

Page 15: Lecture-7/ T.  Nouf Almujally

Common Database Structures: Multidimensional

• Variation of relational model that uses multidimensional structures to organize data and express the relationships between them.

• Data elements are viewed as being in cubes. Each side of the cube is considered a dimension of the data.• Each dimension represent a different category.

• Have become the most popular database structure for the analytical databases that support Online Analytical Processing (OLAP) applications, in which fast answers to complex business quires are expected.

Page 16: Lecture-7/ T.  Nouf Almujally

Multidimensional Database Structures

Page 17: Lecture-7/ T.  Nouf Almujally

Multidimensional Database Structures

Page 18: Lecture-7/ T.  Nouf Almujally

Multidimensional Model

Page 19: Lecture-7/ T.  Nouf Almujally

Common Database Structures: Object-Oriented

• the object-oriented model is considered one of the key technologies of a new generation of multimedia Web-based applications.

• An object consists of• Data values describing the attributes of an entity• Operations that can be performed on the data

• Encapsulation Combine data and operations• Inheritance New objects can be created by replicating some

or all of the characteristics of parent objects

• OODBMS now is popular in CAD and in multimedia Web-based applications.

• Supports complex data types more efficiently than relational databases• Examples: graphic images, video clips, web pages

Page 20: Lecture-7/ T.  Nouf Almujally

Common Database Structures: Object-Oriented

• major relational DBMS vendors add object-oriented modules to their relational software.

• Examples include multimedia object extensions to IBM’s DB2 and Oracle’s object-based “cartridges” for Oracle.

Page 21: Lecture-7/ T.  Nouf Almujally

Evaluation of Database Structures

Hierarchical

- Was for DB’s used for the structured, routine types of transaction processing of many business in the early years of data processing and computing.- Can’t handle many-to-many relationship

Network

- More flexible than hierarchical- Unable to handle ad hoc requests

Relational

-Easily responds to ad hoc requests

-Easier to work with & maintain- Can't process large

amounts of bus. Transactions as efficient or quick as hierarchical or network

- can’t process complex applications as object-oriented models.

- Ex: Oracle, DB2, Access , Lotus Approach

Page 22: Lecture-7/ T.  Nouf Almujally

Con.

Object-Oriented

- Can process complex, high volume applications.

- The use of this model is growing steadily.

- Play a great role in web-based applications.

Multidimensional

The use of this model is growing steadily.

- Play a great role in OLAP applications.

Page 23: Lecture-7/ T.  Nouf Almujally

Database Development• Database management package like Microsoft Access or

Lotus Approach allow end users to develop the databases they need easily.

• Large organizations usually place control of enterprise database development in the hands of (DBA) and other database specialists.

Page 24: Lecture-7/ T.  Nouf Almujally

Database Development

Database Administrator (DBA)

In charge of enterprise-wide database development

Improves integrity and security of organizational databases

Uses Data Definition Language (DDL) in DBMS to develop and specify data content, relationships, and structure

This information is then stored in a database of data definitions and specifications called a data dictionary or metadata repository

which is managed by the DBA

Page 25: Lecture-7/ T.  Nouf Almujally

Data Dictionary

Data Dictionary

Directory holds information about the database and the data that it stores (data about data = metadata)

Relies on specialized software component to manage a database of data definitions

Contains information

on… Security

Database maintenance

Requirements for end users’ access and use of applications

Names and descriptions of all types of data records and their interrelationships

Page 26: Lecture-7/ T.  Nouf Almujally

Data Dictionary

Page 27: Lecture-7/ T.  Nouf Almujally

Database Development• Developing a large DB of complex data types can

be a complicated task.

• Database administrator and the database design analyst work with end users and system analysts to model the business processes and the data they require. Then they determine:

• What data definitions should be included in the DB.

• What relationships should exist among the data elements.

Page 28: Lecture-7/ T.  Nouf Almujally

Questions ..

Page 29: Lecture-7/ T.  Nouf Almujally

Read from Chapter 5 (Section 1)

Resources ..