Database management system (DBMS): an explanation

Almost no computer or web application is functional without an adequate database system . Precisely for this reason it may be useful to deepen the subject. As important as the actual data set , the database management system is what makes a database functional.

Index

  1. What is a DBMS?
  2. What are the components of a DBMS?
  3. Tasks, functions and requirements of a database management system
  4. What types of DBMS / database templates are there?
  5. Database management system: advantages and disadvantages at a glance
  6. Examples of DBMS: the most popular database management systems

What is a DBMS?

A database management system, abbreviated to DBMS, forms a database system together with a database (the general term “database” is also used for the latter). In general, a DBMS of this type is software that defines the model of a database system and is therefore the decisive component for building, managing and using a database. Only when the respective database management system has been installed and set up can users enter and read the desired databases. The ‘ write access and read and general administration functionsthey are enabled by application-specific interfaces and a suitable database language. The best known of these languages ​​is SQL ( S tructured Q uery L anguage).

N.B.

The terms “Database Management System” (DMBS) and “database” are often mistakenly equated to indicate the name of the software used to manage a database. In fact, a database is nothing more than a database in a structured form , while the DBMS is the tool used to create this structure .

What are the components of a DBMS?

A database management system consists of various components which all contribute to the smooth functioning of the software. The DBMS can be divided into three main components: the data dictionary, the data definition language and the data manipulation language.

  • Data dictionary: the Data Dictionary consists of a collection of metadata containing information on the content of the various data in the archive. They also provide information on the authorization and use of data sets and their physical representation. Put simply, the dictionary contains all relevant information about data stored in a database.
  • Data Definition Language : data definition language, English Data Definition Language (DDL), is designed to structure the contents of a database. Individual objects such as references, relationships or user rights can be modified, deleted and created using this language.
  • Data manipulation language : this language, in English data manipulation language (DML), is used to delete, insert, edit and read the data records in a database. It also allows you to compress and extract data.

Tasks, functions and requirements of a database management system

The DBMS is the most important component of a database system. Without such a system, the database could not be managed, controlled or monitored. The software is also responsible for managing all read and write access to the database. A term widely used to describe the functions and requirements of the transactions of a data base management system is ACID , the acronym atomicity , consistency , isolation and durability (in Italian atomicity, consistency, isolation and durability). These concepts are the requirements most important of a DBMS:

  • L ‘ atomicity is the “property all or nothing” of the DBMS; only if valid queries are executed in the correct order does the entire transaction complete successfully.
  • The consistency implies that successful transactions leave a stable database, which requires constant monitoring of all transactions.
  • The ‘ isolation is the requirement that transactions must not “interfere with each other” and is usually guaranteed by certain lock functions.
  • The durability means that all data is permanently stored in the DBMS, even after a transaction has been successfully completed. This also applies, or especially, in the event of system errors or DBMS problems. Transaction logs, which record all processes in the DBMS, are essential for durability.

Below is a breakdown of additional functions and requirements of a database management system.

Function / Details Explanation  
Data storage Databases store electronic texts, documents, passwords and other information that can be accessed via queries.  
Data review Most databases allow, depending on the access permissions, to directly modify the stored information.  
Deletion of data The records contained in the databases can be completely deleted. In some cases, the deleted data can be recovered, in others the information is lost forever.  
Metadata management The information is usually stored in databases with metadata or meta tags. These create order within the database and make a search function possible, for example. Access permissions are also often regulated via metadata. Data management follows four basic operations: Create, Read / Retrieve, Update and Delete. This concept, known as ((CRUD principle websites / web-development / crud-the-most-important-database-operations /)), è la base per la gestione dei dati.
Data security Databases must be protected so that unauthorized persons cannot access the stored data. In addition to an effective encryption method, essential for data security is careful administration, especially by the main administrator. Data security usually means taking technical precautions to prevent data manipulation or loss. It is therefore a central concept of data protection.  
Data integrity The data in a database adheres to certain rules to guarantee the correctness of the data and to define its functional logic. Only in this way is it possible to ensure that the database functions consistently and consistently as a whole. Relational database models are checked according to the following rules: domain integrity, entity integrity, referential integrity, and logical consistency.  
Multi-user operation Database applications allow access to the database from different devices. In multi-user operation, the assignment of permissions and data security are essential. Another challenge that multiuser operation poses to databases is maintaining consistent data without compromising performance too much when many users have read and write access at the same time.  
Query optimization From a technical point of view, a database must be able to process each query optimally to ensure good performance. If a database handles a request for data “in too many ways”, the overall performance of the database system suffers.  
Trigger e stored procedures These procedures are mini-applications stored within a database management system that are called (“triggered”) when performing certain modification actions. This helps to improve data integrity, among other things. In relational databases, triggers and stored procedures are routine processes, which can also contribute to system security when users can only perform operations with predefined procedures.  
System transparency System transparency is particularly important for distributed systems: by denying the user the distribution and implementation of data, the use of the distributed database resembles that of a centralized database. Different levels of system transparency reveal or hide background processes. The essential function, however, is to simplify the use as much as possible.  

N.B.

If you manage a database, a full backup is extremely important!

What types of DBMS / database templates are there?

A database management system is installed in a system in order to be able to optimally manage data records. As already mentioned, there are several models that differ mainly in the structuring of the data . Choosing a DBMS is therefore equivalent to defining a specific database model . The following database templates are available:

  • Relational
  • Hierarchical
  • Network oriented
  • Object oriented
  • Document oriented

The most popular model is the relational database . In this model, the data is structured in table rows . The advantage is the ability to create certain relationships between individual rows and display them in columns. The procedure is different in the hierarchical database model : here the various data are linked together according to a hierarchical system (parent-child).

Another approach to data organization is the network-oriented database model, in which data is structured within a network. The object-oriented database model works differently. In addition to dataset relationships, inheritance also plays an important role . The objects, regulated by the DBMS, can then pass properties to other objects.

Document-oriented database models involve storing data records in different documents.

Database management system: advantages and disadvantages at a glance

Database management systems, as backbone structures of databases, are characterized by different strengths and advantages. However, the DBMS, like any other software, also has several weaknesses, as the following list clearly demonstrates.

Advantages of a database management system :

  • simple administration of large data sets
  • simple and effective access to stored data
  • high flexibility
  • data integrity and consistency
  • access control for users (security and data protection)
  • high availability

Disadvantages of a database management system :

  • relatively expensive initial investment (including additional hardware costs)
  • for somewhat less efficient special software
  • skilled employees needed (database administrators)
  • increased vulnerability due to data centralization

Examples of DBMS: the most popular database management systems

There are a number of different database management systems. Below are the 15 most popular and common DBMSs:

  • Microsoft Access – relational
  • Microsoft SQL Server – relational
  • MySQL – relational
  • Oracle Database – relational
  • OrientDB – document oriented
  • CouchDB – document oriented
  • Db2 (IBM) – relational
  • IMS (IBM) – gerarchico
  • IBM Informix – relational
  • MariaDB – relational
  • Sybase ASE – relational
  • MongoDB – document oriented
  • PostgreSQL – object relational (mix of relational and object oriented approach)
  • Firebird – relational
  • Caché – hierarchical

 

Leave a Comment

Scroll to Top