Database Management System: Introduction of DBMS
Database Management System: Introduction of DBMS
Introduction of DBMS
PERSONAL INFORMATION
Instructor: Asmatullah Haroon
E-mail:
asmatullah.bsse2685@iiu.edu.pk
DBMSBSCS
DATABASE:
A database is an organized collection
of information.
DATABASE MANAGEMENT SYSTEM
(DBMS):
To manage databases we need DBMS. A DBMS
is a program that stores, retrieves, and modifies data
in the databases on request.
RELATIONAL DASTABASE MANAGEMENT
SYSYTEM:
A Relational Database is a collection of relations
of two dimensional tables.
DBMSBSCS
DBMSBSCS
TERMINOLOGIES USED IN RDBMS:
1) Table:
A Table is the basic storage structure of an
RDBMS. A table stores all the data necessary about
something in the real world.
Example:
Employees.
2) Single Row or Tuple:
Representing all data required for a particular
employee. Each row in a table may be identified by a
Primary Key, which allows no duplicate rows.
3) Column or Attribute:
Usually refers to a characteristic of an entity.
4) Primary Key:
A Field which uniquely identifies a row.
DBMSBSCS
5) Foreign Key:
A Foreign Key is a column that identifies
how tables relate to each other. A foreign key
refers to a Primary Key in another table.
RELATING MULTIPLE TABLES.
Each row of data in a table is uniquely identified by
a Primary Key.
You can logically relate data from multiple tables
using foreign keys.
Example:
EMP may have empno,ename,job,deptno where
empno is a primary key and deptno is a foreign key.
DBMSBSCS
GUIDELINES FOR PRIMARY AND FOREIGN KEYS:
No duplicate values are allowed in a primary key.
Primary keys generally cannot be changed.
Foreign keys are based on data values and are
purely logical, not physical pointers.
A foreign key must match an existing primary key
or else be null.
RELATIONAL DATABASE PROPERTIES:
A relational database
Can be accessed and modified by executing
Structured Query Language (SQL).
Contains a collection of tables with no physical
pointer
Use a set of operators for partitioning and
combining relations e.g
where clause, orderby clause.
DBMSBSCS
Common Data types used in Databases:
DBMSBSCS
Common Data types used in MS Access:
DATA TYPE TYPE OF DATA HOLD
TEXT Character
MEMO Character
DBMSBSCS
SQL (Structured Query Language):
DBMSBSCS
DBMSBSCS
Oracle10g Features
Benefits include:
1. Scalability from departments to enterprise e-business sites
2. Robust reliable, available, secure architecture
3. One development model, easy deployment options
4. Leverage an organization’s current skillset throughout the
Oracle platform (including SQL, PL/SQL, Java, and XML)
5. One management interface for all applications
6. Industry standard technologies, no proprietary lock-in
DBMSBSCS
There are two products, Oracle10g Application Server and
Oracle10g Database, that provide a complete and simple
infrastructure for Internet applications.
DBMSBSCS
DBMSBSCS
DBMSBSCS
System Development Life Cycle
From concept to production, you can develop a database by
using the system development life cycle, which contains
multiple stages of development.
This top-down, systematic approach to database
development transforms business information requirements
into an operational database.
DBMSBSCS
DBMSBSCS
DBMSBSCS
DBMSBSCS
DBMSBSCS
DBMSBSCS