Welcome: Recap : To the second learning sequence “

advertisement
Welcome:
To the second learning sequence
“ Database (DB) and Database Management System (DBMS) “
Recap
: In the previous learning sequence, we discussed the basic definitions of
Database subject.
Present learning: We shall explore the following topics:
- What is DB ?
- What is DBMS?
- Advantages of using DBMS.
1
What is Database
- A Database is a collection of stored operational
data used by the application systems of some
particular enterprise.
2
What is Database
- A Database is a collection of stored operational
data used by the application systems of some
particular enterprise.
- A Database is a collection of related data.
3
What is Database
- A Database is a collection of stored operational
data used by the application systems of some
particular enterprise.
- A Database is a collection of related data.
- A database is designed, built, and populated with
data for a specific purpose. It has an intended
group of users and some preconceived
applications in which these users are interested.
4
What is Database
- A database can be of any size and of varying
complexity.
5
What is Database
- A database can be of any size and of varying
complexity.
- A database may be generated and maintained
manually or it may be computerized.
6
Database Management System
- Is a collection of programs that enables users to
create and maintain a database.
7
Database Management System
- Is a collection of programs that enables users to
create and maintain a database.
- The DBMS is a general-purpose software system
that facilitates the processes of defining,
constructing, and manipulating databases for
various applications.
8
Database Management System
- Defining: a database involves specifying the
data types, structures, and constraints for the
data to be stored in the database.
9
Database Management System
- Defining: a database involves specifying the
data types, structures, and constraints for the
data to be stored in the database.
- Constructing: the database is the process of
storing the data itself on some storage medium
that is controlled by the DBMS.
10
Database Management System
- Defining: a database involves specifying the
data types, structures, and constraints for the
data to be stored in the database.
- Constructing: the database is the process of
storing the data itself on some storage medium
that is controlled by the DBMS.
- Manipulating: a database includes such
functions as querying the database to retrieve
specific data, updating the database to reflect
changes in the miniworld, and generating reports
from the data.
11
Database SYSTEM
We will call the database and DBMS
software together a database system
12
Example
UNIVERSITY database for maintaining information
concerning students, courses, and grades in a
university environment.
13
Example
UNIVERSITY database for maintaining information
concerning students, courses, and grades in a
university environment
-
define: file (records), data elements, data type ( for
each data element).
14
Example
UNIVERSITY database for maintaining information
concerning students, courses, and grades in a
university environment
-
define: file (records), data elements, data type ( for
each data element)
-
construct: store data in the appropriate files (note that
records may be related between files).
15
Example
UNIVERSITY database for maintaining information
concerning students, courses, and grades in a
university environment
-
define: file (records), data elements, data type ( for
each data element)
-
construct: store data in the appropriate files (note that
records may be related between files)
- Manipulation: querying, updating.
16
Advantages of Using DBMS
1- Controlling Redundancy:
In DBMS there has the ability to control
redundancy which improve the performance of
the query. The DBMS should have the
capability to control this redundancy so as to
avoid inconsistencies among the files.
17
Advantages of Using DBMS
2- Restricting Unauthorized Access:
Users or user groups are given account numbers
protected by passwords, which they can use to
gain access to the database through security and
authorization subsystem
18
Advantages of Using DBMS
3- Providing Persistent Storage for Program Objects
and Data Structures:
Programming languages typically have complex
data structures, such as record types in PASCAL
or class definitions in C++. The values of
program variables are discarded once a program
terminates, unless the programmer explicitly
stores them in permanent files, which often
involves converting these complex structures into
a format suitable for file storage
19
Advantages of Using DBMS
4- Permitting Inference and Actions Using Rules:
Deductive database systems: when database
systems provide capabilities for defining
deduction rules for Inferencing new information
from the stored database facts.
20
Advantages of Using DBMS
5- Providing Multiple User Interfaces:
A DBMS provides a variety of user interfaces:query
languages for casual users; programming
language interfaces for application programmers;
forms and command codes for parametric users;
and menu-driven interfaces and natural language
interfaces for stand-alone users.
21
Advantages of Using DBMS
6- Enforcing Integrity Constraints:
The simplest type involves specifying a data type
for each data item, and a more complex type
involves specifying that a record in one file
must be related to records in other files.
22
Advantages of Using DBMS
7- Providing Backup and Recovery:
Provide facilities for recovering from hardware or
software failures (The backup and recovery
subsystem ).
23
Summary: In this learning sequence, we discussed
the following topics:
- what is DB and DBMS?
- Advantages of DBMS.
24
END
25
Download