Professional Documents
Culture Documents
Fundamentals
•Enforcement of integrity constraints
File Systems - are used by a manager of any small
•Restriction of unauthorized access
organization to track necessary data
•Data independence
Disadvantages: Lengthy development time; Difficulty of
getting quick answers; Complex system administration; •Backup and recovery facilities
Lack of security and limited data sharing; Extensive
Programming
Database- • is a shared collection of related data The view that all information, both digital and
used to support the activities of a particular physical, is an asset that requires proper management
organization. The organizational and social contexts in which
• can be viewed as a repository of data that is information exists
defined once and then accessed by various users
A database has the following properties: • Is an umbrella term that encompasses all the systems
•It is a representation of some aspect of the real world and processes within an organization for the creation
or a collection of data elements (facts) representing and use of corporate information
real- world information. • More than just technology; it is about the business
•A database is logical, coherent and internally processes and practices that underpin the creation and
consistent. use of information
•A database is designed, built and populated with data • It is also about the information itself, including the
for a specific purpose. structure of information (“information
•Each data item is stored in a field. architecture”), metadata, content quality, and more.
•A combination of fields makes up a table. For example, Purpose of Information Management • Design,
each field in an employee table contains data about an develop, manage, and use information with insight and
individual employee. innovation
Database Management System - is a collection of • Support decision making and create value for
programs that manages the database structure and individuals, organizations, communities, and societies
control access to the data stored in the database … A.
Traditional Banking System B. Bank DBMS
Data Model -A collection of concepts that can be used 1. Physical Level 2. Conceptual Level 3. External Level
to describe the structure of a database – provides the
necessary means to achieve data abstraction Data Independence--- The capacity to change the
schema at one level of a database system without
Data Abstraction - Refers to the suppression of details having to change the schema at the next higher level
of data organization and storage, and the highlighting
of the essential features for an improved Two Types of Data Independence
understanding of data
1. Logical Data Independence 2. Physical Data
Independence
Three Categories of Data Models According to Types of
Concepts Used in Describing Database Structure:
Week 4: Data Languages and Interfaces
1. High-level or Conceptual Data Models
Database Languages
2. Low-level or Physical Data Models
•Used to create and maintain database
3. Representational or Implementation Data Models
Data Definition Language (DDL)
Database state- Refers to the content of a database at a Low Level or Procedural Language
moment in time Retrieve data one record-at-a-time
Initial Database State- Refers to the database state Constructs such as looping are needed to retrieve
when it is initially loaded into the system multiple records, along with positioning pointers
Valid State- A state that satisfies the structure and DBMS Interfaces
constraints of the database
Interfaces- A set of commands or menus through which
Distinction- The database schema changes very a user communicates with a program
infrequently---- The database state changes every time
the database is updated Menu-based Interfaces for Web Clients or Browsing
Forms-based Interfaces
Schema is also called intension Graphical User Interfaces
State is also called extension Natural Language Interfaces
Speech Input and Output
Interfaces for the DBA
Centralized DBMS - Combine everything into single Three Tier Client-Server Architecture
system including – DBMS software, hardware,
Common for Web applications
application programs, and user interface processing
software •User can still connect through a remote Intermediate Layer called Application Server or Web
terminal-however, all processing is done at centralized Server: 1. Stores the web connectivity software and the
site business logic part of the application used to access the
corresponding data from the database server 2. Acts
A Physical Centralized Architectures
like a conduit for sending partially processed data
Basic 2-tier Client-Server Architectures between the database server and the client
• Specialized Servers with Specialized Functions • Print Three-tier Architecture can enhance security
server • File server • DBMS server • Web server • Email
Database server only accessible via middle tier
server • Clients can access the specialized servers as
needed Clients cannot directly access database server
Logical two-tier client server architecture Classifications of DBMS
Object-Relational Model
• based on the following components: Many-to-one- More than one entities from entity set A
can be associated with at most one entity of entity set
Entity Attributes Relationship B, however an entity from entity set B can be
Components of ER Model associated with more than one entity from entity set
Entity- Can be a real-world object, either animate or Many-to-many- One entity from A can be associated
inanimate, that can easily identifiable with more than one entity from B and vice versa.
• Entity Set- Is a collection of similar types of entities…. • Cardinality- specifies how many instances of an entity
May contain entities with attribute sharing similar relate to one instance of another entity
values… Need not be disjoint • Cardinality Notations
Entity-Set and Keys Crow’s Foot Notation Bachman Style Martin Style
• Super Key − A set of attributes (one or more) that ER Diagram
collectively identifies an entity in an entity set. • can express the overall logical structure of a database
• Candidate Key − A minimal super key is called a in a graphical way
candidate key. An entity set may have more than one • uses graphic representations to model the database
candidate key. components
• Primary Key − A primary key is one of the candidate • Components of an ER Diagram
keys chosen by the database designer to uniquely
identify the entity set.
Types of Attributes
Multi-value attribute
Entity - Entities are represented by means of rectangles.
Rectangles are named with the entity set they
represent. • The term entity is often used instead of
“table” • Think of them as nouns
3 Levels of Abstraction