A database is a compilation of arranged or organized data that can easily be accessed, updated, or controlled. The information in the database is arranged in rows, columns, and tables. The database management system is an interface between a database and an end-user that allows users to create, update, read and delete data. There are many types of databases. Some of the types are relational databases, hierarchical databases, and object-oriented databases. DBMS stands for Database Management System whereas RDBMS stands for Relational Database Management System.
There are many types of database management systems. The important types are explained below:
Relation database - In relation database data is organized in tabular form using columns and rows. This database is mostly used in industries. Every table in the database has a key field that recognizes each record. These types of databases are available for workstations, large mainframe systems, and personal computers.
Object Oriented database - In this system data is used in the form of objects which is used in object Oriented programs. This database is a combination of object-oriented principles and relational database concepts. This database is easy to maintain as it requires less coding.
Hierarchical database - In this type of database elements have a one-to-one relationship. As the name itself suggests, where data is organized in the form of a tree. It is widely used in industry on mainframe platforms. Here the hierarchy starts from the root node and connects all child nodes to parent nodes.
Network database - Here in the network database data is organized in the form of a graph and may have more than one parent for one child record. This database also has a hierarchical structure.
Document database - This database stores data in the form of a document. It provides a quick search mechanism and storage for documents. It links information to other data elements and data attributes are also present in each document.
The full form of DBMS is a Database management system. It is software that is used to create, manage, and identify a database that provides access to the data.
The full form of RDBMS is a Relational DataBase Management system. It is a small subset of a database management system explicitly designed for relational databases. It stores or manages only those data which are in tabular form. It allows access to data in a more efficient manner. This software is used to manage, query, and retrieve data stored in a relational database.
DBMS | RDBMS |
It stores files. | It stores data in tabular form. |
Only one data can be accessed at one time. | Multiple data can be accessed at one time. |
It is used to handle a small amount of data. | It is used to handle a large amount of data. |
It permits single user. | It permits multiple users. |
Oracle and SQL servers are examples of this. | Microsoft and XML are examples of this. |
In this normalization can be achieved. | But here normalization can't be achieved. |
There is no support for distributed database. | There is support for distributed databases. |
There is only low security while handling data. | It provides multiple layers of security while handling data. |
The database management system is of many types. Some of the main types are given below:
Relational database
Object-oriented database
Network database
Hierarchical database.
The important function of DBMS is to provide concurrency, security, integrity, and description of data. It can be costly and time-consuming too.
The different advantages of the database are
Increased consistency
Improved data security
Reduce the cost of data entry, data retrieval, and data storage
Improve access to data using query and host language.
The primary key is the key that identifies a record in the table. This key must contain a UNIQUE value and should not contain a NULL value. A table contains only a single primary key.
Some examples of specific systems that use RDBMS are Microsoft SQL Server, MySQL, PostgreSQL, where SQL is structured Query Language, IBM(International Business Machine), and Oracle.