DB - Presentation 1
DB - Presentation 1
Introduction To Databases
Outline
Types of Databases and Database
Applications
Characteristics of file-based systems.
Problems with file-based approach.
Basic Definitions
Typical DBMS Functionality
Example of a Database (UNIVERSITY)
Main Characteristics of the Database
Approach
Advantages of Using the Database Approach
History of Databases
Types of Databases and Database
Applications
Traditional Applications:
Numeric and Textual Databases
More Recent Applications:
Multimedia Databases
Geographic Information Systems
(GIS)
Data Warehouses
Real-time and Active Databases
Many other applications
File-Based Systems
Collection of application programs that
perform services for the end users (e.g.
reports).
Each program defines and manages its own
data.
File-Based Processing
Limitations of File-Based Approach
Separation and isolation of data
Each program maintains its own set of data.
Users of one program may be unaware of potentially
useful data held by other programs.
Duplication of data
Same data is held by different programs.
Wasted space and potentially different values and/or
different formats for the same item.
Limitations of File-Based Approach
Data dependence
File structure is defined in the program code.
Result:
the database and Database Management System (DBMS).
Basic Definitions
Database:
A collection of related data.
Data:
Known facts that can be recorded and have an
implicit meaning.
Mini-world:
Some part of the real world about which data is
stored in a database. For example, student grades
and transcripts at a university.
Database Management System (DBMS):
A software package/ system to facilitate the creation
and maintenance of a computerized database.
Database System:
The DBMS software together with the data itself.
Sometimes, the applications are also included.
Simplified database system
environment
Typical DBMS Functionality
Define a particular database in terms of its
data types, structures, and constraints
Construct or Load the initial database
contents on a secondary storage medium
Manipulating the database:
Retrieval: Querying, generating reports
Modification: Insertions, deletions and updates
to its content
Accessing the database through Web
applications
Processing and Sharing by a set of
concurrent users and application programs
– yet, keeping all data valid and consistent
Typical DBMS Functionality
Other features:
Protection or Security measures to prevent
unauthorized access
“Active” processing to take internal actions on
data
Presentation and Visualization of data
Maintaining the database and associated
programs over the lifetime of the database
application
Called database, software, and system
maintenance
Example of a Database
(with a Conceptual Data Model)
Mini-world for the example:
Part of a UNIVERSITY environment.
Some mini-world entities:
STUDENTs
COURSEs
SECTIONs (of COURSEs)
(academic) DEPARTMENTs
INSTRUCTORs
Example of a Database
(with a Conceptual Data Model)
Data Abstraction:
A data model is used to hide storage
details and present the users with a
conceptual view of the database.
Programs refer to the data model
constructs rather than data storage details
Support of multiple views of the
data:
Each user may see a different view of the
database, which describes only the data of
interest to that user.
Main Characteristics of the Database Approach
(continued)