Unit 1 DBMS1
Unit 1 DBMS1
Unit 1 DBMS1
A database is a collection of related data which represents some aspect of the real world. It is
simply a collection of related tables. A database system is designed to be built and populated with
data for a certain task. The term ‘database’ is also defined as any collection of electronic records
that can be processed to produce useful information. The data can be accessed, modified,
managed, controlled and organized to perform various data-processing operations. The data is
typically indexed across rows, columns and tables that make workload processing and data
querying efficient. Different types of databases include: object-oriented, relational, distributed,
hierarchical, network, and others.
DBMS are valuable because they provide secure means of storing and updating data. They
provide transaction functions that allows multiples users to edit the database simultaneously.
History of DBMS
Here, are the important landmarks from the history:
1960 - Charles Bachman designed first DBMS system
1970 - Codd introduced IBM'S Information Management System (IMS)
1976- Peter Chen coined and defined the Entity-relationship model also known as the ER
model
1980 - Relational Model becomes a widely accepted database component
1985- Object-oriented DBMS develops.
1990s- Incorporation of object-orientation in relational DBMS.
1991- Microsoft ships MS access, a personal DBMS and that displaces all other personal
DBMS products.
1995: First Internet database applications
1997: XML applied to database processing. Many vendors begin to integrate XML into DBMS
products.
Application of DBMS
Banking; For customer information, account activities, payments, deposits, loans, etc.
Airlines; For reservations and schedule information.
Universities; For student information, course registrations, colleges and grades.
Telecommunication; It helps to keep call records, monthly bills, maintaining balances, etc.
Finance; For storing information about stock, sales, and purchases of financial instruments
like stocks and bonds.
Sales; Use for storing customer, product & sales information.
Manufacturing; It is used for the management of supply chain and for tracking production
of items. Inventories status in warehouses.
Types of DBMS
Four Types of DBMS systems are:
Hierarchical, Network, Relational & Object-Oriented DBMS
1. Hierarchical DBMS
In a Hierarchical database, model data is organized in a tree-like structure. Data is Stored
Hierarchically (top down or bottom up) format. Data is
represented using a parent-child relationship. In Hierarchical
DBMS parent may have many children, but children have
only one parent.
2. Network Model
The network database model allows each child to have
multiple parents. It helps you to address the need to model
more complex relationships like as the orders/parts many-to-
many relationship. In this model, entities are organized in a
graph which can be accessed through several paths.
Fig 1 hierarchical Dbase Model
fig 2: Network Dbase Model
Relational model
Relational DBMS is the most widely used DBMS model because it is one of the easiest. This
model is based on normalizing data in the rows and columns of the tables. Relational model
stored in fixed structures and manipulated using SQL.
3. Object-Oriented Model
In Object-oriented Model data stored in the form of objects. The structure which is called classes
which display data within it. It defines a database as a collection of objects which stores both data
members values and operations.
Advantages of DBMS
DBMS Functions'
There are several functions that a DBMS performs to ensure data integrity and consistency of data
in the database. The ten functions in the DBMS are: data dictionary management, data storage
management, data transformation and presentation, security management, multiuser access
control, backup and recovery management, data integrity management, database access languages
and application programming interfaces, database communication interfaces, and transaction
management.
Data Dictionary is where the DBMS stores definitions of the data elements and their relationships
(metadata). The DBMS uses this function to look up the required data component structures and
relationships. When programs access data in a database they are basically going through the
DBMS. This function removes structural and data dependency and provides the user with data
abstraction. In turn, this makes things a lot easier on the end user. The Data Dictionary is often
hidden from the user and is used by Database Administrators and Programmers.
This particular function is used for the storage of data and any related data entry forms or screen
definitions, report definitions, data validation rules, procedural code, and structures that can
handle video and picture formats. Users do not need to know how data is stored or manipulated.
Also involved with this structure is a term called performance tuning that relates to a database’s
efficiency in relation to storage and access speed.
This function exists to transform any data entered into required data structures. By using the data
transformation and presentation function the DBMS can determine the difference between logical
and physical data formats.
4. Security Management
This is one of the most important functions in the DBMS. Security management sets rules that
determine specific users that are allowed to access the database. Users are given a username and
password or sometimes through biometric authentication (such as a fingerprint or retina scan) but
these types of authentications tend to be more costly. This function also sets restraints on what
specific data any user can see or manage.
Data integrity and data consistency are the basis of this function. Multiuser access control is a
very useful tool in a DBMS, it enables multiple users to access the database simultaneously
without affecting the integrity of the database.
Backup and recovery is brought to mind whenever there is potential outside threats to a database.
For example, if there is a power outage, recovery management is how long it takes to recover the
database after the outage. Backup management refers to the data safety and integrity; for example
backing up all your mp3 files on a disk.
The DBMS enforces these rules to reduce things such as data redundancy, which is when data is
stored in more than one place unnecessarily, and maximizing data consistency, making sure
database is returning correct/same answer each time for same question asked.
Components of DBMS
In order to facilitate these functions, DBMS has the following key components:
REFERENCES
https://www.techopedia.com/definition/24361/database-management-systems-dbms
https://www.guru99.com/what-is-dbms.html
https://www.bmc.com/blogs/dbms-database-management-systems/
https://www.guru99.com/what-is-dbms.html
https://databasemanagement.fandom.com/wiki/DBMS_Functions
https://gisgeography.com/spatial-databases/
https://www.e-education.psu.edu/natureofgeoinfo/c1_p7.html