Introduction and Types of DBMS
What is data?
Data is a real type object or entity.
What is information?
It is processed, structured, organized, and interpreted data
What is a Database?
A database is a collection of tables, records, and key constraints.
What is DBMS?
- DBMS is a software for storing data in a database.
- DBMS allows to update, modify and create data in the database.
- DBMS also provides security and protection to the database.
- DBMS acts as a middle layer between the database and the user.
Advantages of DBMS
- Minimal data redundancy(repetition).
- Easy access to data from the database using a query language.
- It facilitates backup and recovery.
- Better Data Integrity(maintaining consistency).
- Use of Integrity Constraints(Keys).
- It increases consistency and reduces errors
Disadvantages of DBMS
- Complex and Time consuming to design DBMS.
- The cost of hardware and software is high to run DBMS software.
- DBMS consumes a lot of Main Memory and disk space to run efficiently.
- Initial training is required for all users to use DBMS.
Examples of DBMS
- SQL Server
- Oracle
- MySQL
- DB2
Components of DBMS
- Software
- Hardware
- Data
- Procedure
- Users
Applications of DBMS
- Railway Reservation System
- Library management system
- Banking
- Education sector
- Credit card transaction
- Social media sites
- Finance
- Online Shopping
- Human Resource Management
- Manufacturing
- Telecommunication (eg. TRAI->Telecom Regularity Authority of India)
Types of DBMS
- Hierarchical DBMS (Tree-like structure)
- Network DBMS (Graph-like structure)
- Relational DBMS (Related)
- Object Oriented DBMS
Hierarchical DBMS
It is a system in which the data elements have a one-to-many relationship (1 : N).
This DBMS organizes data in a tree-like structure, similar to a folder structure in your computer system.
Network DBMS
It is a system in which the data elements have a one-to-one relationship (1 : 1) or many-to-many relationship (N : N).
This DBMS also has a hierarchical structure, but it organizes data in a graph-like structure.
This DBMS is the most widely used database system before the introduction of relational DBMS (RDBMS).
Relational DBMS
1) This DBMS was introduced by E.F. Codd in 1970.
2) In this DBMS, every data item of a table is related to every other data item in another table (OR) Every table is linked (logically) with every other table.
3) Example: SQL Server, MySQL, Oracle
Object-Oriented DBMS
Every data is stored in the form of objects. Inheritance, Encapsulation, and other properties of Objects can also be achieved.