Professional Documents
Culture Documents
Saeeda Kouser
(Lecturer)
Date: ______________
Lecture Contents
• Characteristics of database
• The DBMS is hence a general-purpose software system that facilitates the processes of defining, constructing,
manipulating, and sharing databases among various users and applications.
• Defining:
Defining a database involves specifying the data types, structures, and constraints for the data to be stored in the database.
• Constructing:
Constructing the database is the process of storing the data itself on some storage medium that is controlled by the DBMS.
• Manipulating:
Manipulating a database includes such functions as querying the database to retrieve specific data, updating the database to
reflect changes in the mini world, and generating reports from the data.
• Sharing:
Sharing a database allows multiple users and programs to access the database concurrently.
• Create:
• Read:
• Update:
• Delete:
• Create:
• Read:
• Update:
• Delete:
The place where all metadata for a particular database is stored. It may also include information on relationships
• Metadata:
• In database it means all characteristics describing the attributes of an entity such as name, data type,
• Enterprise: Organization
• Entity:
• Attributes:
Data elements (facts) about some entity (also known as fields, items or domains)
• Data values:
• Records:
• File:
Collection of records
• Key:
• Primary key:
• Models:
• DBMS types:
• A file system handles the way of reading and writing data to the hard disk. The file
system is installed into the computer with the operating system.
• A file such as text file goes through the file system to store into the hard disk.
Similarly, the file is read via the file system.
File system helps to store a collection of raw data files DBMS helps to easily store, retrieve and manipulate
into the hard disk. data in a database.
Tasks such as storing, retrieving and searching are On the other hand, operations such as updating,
done manually in a file system. Therefore, it is difficult searching, selecting data is easier in DBMS because it
to manage data using a file system. allows using SQL querying.
File system has data inconsistency DBMS provides higher data consistency using
normalization.
There is more redundant data in a file system There is low data redundancy in a DBMS.
Backup and recovery process is not efficient in files DBMS has a sophisticated backup and recovery.
system because it is not possible to recover the lost
data.
File system is appropriate to handle data of a small- DBMS is suitable for medium to large organizations
scale organization or individual users or multiple users.
NTFS and Ext are some examples of file systems. MySQL, MSSQL, Oracle, and DB2 are some
examples of DBMS.
• In the database approach, a single repository of data is maintained that is defined once and
then is accessed by various users. The main characteristics of the database are following:
• The database system contains not only the database itself but also a complete definition or
description of the database structure and constraints.
• This definition is stored in the DBMS catalog, which contains information such as the
structure of each file, the type and storage format of each data item, and various constraints
on the data.
• In traditional file processing, the structure of data files is embedded in the application
programs, so any changes to the structure of a file may require changing all programs that
access this file.
• By contrast, DBMS access programs do not require such changes in most cases.
• The structure of data files is stored in the DBMS catalog separately from the access
• A database typically has many users, each of whom may require a different perspective or
view of the database.
• A view may be a subset of the database or it may contain virtual data that is derived from
the database files but is not explicitly stored.
• Some users may not need to be aware of whether the data they refer to is stored or derived.
• A multiuser DBMS, as its name implies, must allow multiple users to access the database at
the same time.