Database Management System
The document defines key concepts related to database management systems (DBMS). It explains that a DBMS is software that allows users to store, manipulate, and retrieve data from a database. Popular examples of DBMS include MySQL, Oracle, and IBM DB2. The document also discusses database concepts like tables, records, fields and keys. It provides examples of one-to-many, many-to-many, and one-to-one relationships and explains how relational databases use these relationships. Finally, it outlines some advantages of using a DBMS like reduced data redundancy, improved data sharing and security, and easier data backup and recovery.
2. Database
•Database is a place where related piece of information is
stored, and various operations can be performed on it.
•Database means collection of interrelated data where
data can be easily accesses, managed and updated.
•Databases do most of the work and the information
systems that we use every day.
3. DBMS (DataBase Management System)
• A database management system is a software that provides user to store
data.
• In DBMS it is easier to retrieve, manipulate and produce information for
user.
• Some popular examples for DBMS are MySQL, Oracle,Sybase,MS Access
and IBMDB2.
4. Why Study Databases?
• Databases have incredible value to business.
• Probably the most important technology for supporting operations.
• Vastly superior to file processing systems
• Businesses cannot survive without quality data about their
• internal operations.
• external environment.
5. Foundation Data Concepts
Database Concepts:
• Database – a collection of related tables.
• Tables – a collection of related records
* collection of related entities.
• Record – collection of fields (table row)
* represents an entity.
• Field – collection of characters (table column)
*represents an attribute.
• Character – single alphabetic, numeric or other symbol
8. Relational Database model:
•Relational database model is the most common type of
database model.
•Table, record, field, key, and data values are the terms
associated with a relational model.The data in different
tables are related through the use of common data
elements.
9. Relational Database model
Table : group of records is called aTable.
Relational model represent data as a collection of tables.
A table is also called a relation.
Each row tuples.
Column headers attributes.
10. Why we need DBMS Keys?
• For identifying any row of data in a table
that uniquely.
• We can force identify of data and ensure
integrity of data is maintained.
11. Primary Key
• The candidate keys chosen to uniquely
identify each rows of data in a table.
• No two rows can have the same primary
key value, primary key values cannot be
Null, and every row must have a primary
keys.
12. Foreign Key:
• It is an attributes in a table which is used to define its
relationship with another table.
• Using foreign key helps in maintaining data integrity for
table in relationship.
21. Problems of File Management System :
Data redundancy and inconsistency.
Data redundancy occurs when the same piece of data exists in multiple places, whereas data inconsistency
is when the same data exists in different formats in multiple tables
Integrity Problems.
Data integrity is imposed within a database when it is designed and is authenticated through the ongoing use
of error checking and validation routines.
Security Problems.
File processing system does not provide adequate security on data. In some situations, it is required to
provide different types of access to data for different users. For example, a data entry operator should only
be allowed to enter data.
Difficulty in accessing data.
May have to write a new application program to satisfy an unusual request. Data isolation − Data in
different files in different formats and even difficult to write new application programs.
• When Update in a Single File it has to be Updated in All Files.
22. Advantages of Database Management System :
Improves Data Sharing.
Database management systems help users share data quickly, effectively, and securely across an
organization. By providing quick solutions to database queries, a data management system enables
faster access to more accurate data.
Reduce Data Redundancy.
Redundancy can be avoided using Master Data. Master data is a single source of data
accessed by several applications and systems. Proper database architecture design can avoid
data redundancy.
Proper Data Integration.
Data integration is a common industry term referring to the requirement to combine
data from multiple separate business systems into a single unified view, often called
a single view of the truth Maintain Data Consistency.
Data Security.
Database security refers to the various measures organizations like yours take to ensure
their databases are protected from internal and external threats.
23. Cont.….
Maintains Privacy.
It is nothing but the securing of data which is present in the database. Generally, we used to store a large
amount of data in the database
Increase end-user Productivity.
The data which is available with the help of a combination of tools that transform data into useful information,
helps end-users to make quick, informative, and better decisions that can make difference between success
and failure in the global economy.
Data Backup and Recovery.
the process of creating and storing copies of data that can be used to protect organizations against data loss.
This is sometimes referred to as operational recovery.