Introduction To Databases and Database Management Systems: With SQL (DBMS)
Introduction To Databases and Database Management Systems: With SQL (DBMS)
Ashadur Rahaman
Technical Officer
Database:
A collection of related data that is organized
so that its contents can easily be accessed
managed and updated.
Data:
Known facts that can be recorded and have
an implicit meaning.
Rectangular/Flat type
Every row has same set of column
header
If any rows lacking information for a
particular column a missing value must
be stored in that cell.
Storing data in this way easy to extract
for use.
Problem : data redundancy
Relational database:
Database Management
System (DBMS):
A software package/ system to facilitate the creation
and maintenance of a computerized database.
It defines (data types, structures, constraints)
construct (storing data on some storage medium
controlled by DBMS)
manipulate (querying, update, report generation)
databases for various applications.
Database System: The DBMS software together with
the data itself. Sometimes, the applications are also
included.
Main Characteristics of
Database Technology
Self-contained nature of a database system: A DBMS catalog
stores the description (structure, type, storage format of each
entities) of the database. The description is called meta-
data). This allows the DBMS software to work with different
databases.
Insulation between programs and data: Called program-
data independence. Allows changing data storage
structures and operations without having to change the
DBMS access programs.
Database designers
- Responsible for identifying the data to be
stored, storage structure to represent and store
data. This is done by a team of professionals in
consultation with users, and applications
needed.
Data Models
Three-Schema Architecture
Data Independence
DBMS Languages
Data Definition Language (DDL): Used by the DBA and
database designers to specify the conceptual schema of a
database.
DBMS Interfaces
Classification of DBMSs
Based on the data model used:
- Traditional: Relational, Network, Hierarchical.
- Emerging: Object-oriented, Object-relational.
Other classifications:
- Single-user (typically used with micro- computers) vs. multi-
user (most DBMSs).
- Centralized (uses a single computer with one database)
vs. distributed (uses multiple computers, multiple
databases)