Lecture 3 Data Resource Management
Lecture 3 Data Resource Management
Lecture 3 Data Resource Management
Management
1
6
Database Structures (Model)
7
Network
Relational
Object-oriented
Object Relational
Multi-dimensional
Three Building Blocks of Data Model
8
⚫ Entity: any object, person, place or a thing about which we keep
data in a business
⚫ Attributes: a property that describes an entity
⚫ Relationship: a logical and meaningful association between or
among entities
⚫Cardinality of the relationship
⚫Degree of the relationship( unary, binary,
Ternary
and N-ary)
⚫Participation: Mandatory or optional
relationship
⚫Inheritance
Overlapping
Disjoint
Hierarchical Structure
9
⚫ Early DBMS
structure
⚫ Records arranged in
tree-like structure
⚫ Relationships are
one-to-many
Network Structure
10
⚫ Select
Create a subset of records that meet a stated
criterion
⯍Example: employees earning more than
$30,000
⚫ Join
Combine two or more tables temporarily
Looks like one big table
⚫ Project
Create a subset of columns in a table
Multidimensional Structure
13
⚫ 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
Object-Oriented Structure
16
Object-Oriented Structure
17
⚫ Network
More flexible than hierarchical
Unable to handle ad hoc requests
⚫ Relational
Easily responds to ad hoc requests
Easier to work with and maintain
Not as efficient/quick as hierarchical or network
Database Development
19
⚫ A data dictionary
Contains data about data (metadata)
Relies on specialized software component to
manage a database of data definitions
⚫ It contains information on..
The names and descriptions of all types of data
records and their interrelationships
Requirements for end users’ access and use of
application programs
Database maintenance
Security
Database Development
21
Data Planning Process
22
⚫ Physical Design
How data are to be physically stored and
accessed on storage devices
Logical and Physical Database Views
25
Data Resource Management
26
⚫ Database Development
Defining and organizing the content,
relationships, and structure of the data needed
to build a database
⚫ Database Application Development
UsingDBMS to create prototypes of queries,
forms, reports, Web pages
⚫ Database Maintenance
Using transaction processing systems and other
tools to add, delete, update, and correct data
DBMS Major Functions
45
Database Interrogation
46
No programming is required
⚫ Query language
Immediate response to ad hoc data requests
⚫ Report generator
Quickly specify a format for information you
want to present as a report
Database Interrogation
47
⚫ SQL Queries
Structured,international standard query
language found in many DBMS
packages
Query form is SELECT…FROM…
WHERE…
Database Interrogation
48
⚫ Boolean Logic
Developed by George Boole in the mid-1800s
Used to refine searches to specific information
⚫ Example
Cats OR felines AND NOT dogs OR Broadway
Database Interrogation
49
Prices
Sales rankings
Customer reviews
Inventory figures
⚫ Protection methods
Nondisclosure, non-compete, and non-solicitation
agreements that specify customer lists
Trade-secret laws and legal action
Limiting access to sensitive information
Physical security
Strong password protection
Reinforcement of signed agreements during
exit interviews
Monitoring electronic communication
Case Study Questions
64