AfterAcademy Tech
•
04 Dec 2019

Today we deal with a large amount of data. Almost every website and mobile application are generating lots of data every day and these data need to be handled. This can't be handled with simple software or tool. We need to store all these data and then manage the data with some dedicated system. Here comes the role of Database and DBMS.
You all must be familiar with the term Database and DBMS. So, is there any difference between these two terms or they are almost the same term?? No, they are not the same term. In this blog, we will be learning about the term Database and DBMS. So, let's get started.
The database sometimes referred to as an electronic database, is an organized collection of logically related data that is stored in an efficient manner so that it can be easily accessed managed and updated. Let's divide the whole definition into parts and understand in an easier way:
Organized Collection
Data should be arranged in such a way that the user can easily process the data when required. Example: If we have some details about Computer specifications, then we can represent the specification in two ways:
Unorganized Data: Lenovo35000i58, HP55000i34. The computer specifications are provided here like its brand name, price generation and RAM but they are unorganized and it is not easy to process them. Here, you can't identify the difference between the generation of the computer i.e i5 and its RAM i.e. 8GB. So, we have to organize the data.
Organized Data: Lenovo/35000/i5/8, HP/55000/i3/4. Here, we have made a separation between each specification so that it can be easily distinguished and processed. Here, we can see that the generation and RAM of the system are separated by "/" and this helps us in distinguishing between the two features.
Logically Related Data
Logically related data means that the data should be relevant in some context. Example: If we are going to make a database for a customer then the database may include customer name, contact number, age, past orders, address, email id, etc. All these information are in the context of the customer. But the information like the number of siblings of the customer is out of context and logically not related to the customer database, though this information is related to the customer, we shouldn't include this data in our database.
The software which is used to manage the database is called Database Management System(DBMS). It provides us with an interface or a tool, to perform various operations like:
The changes in the database have to be made according to certain rules and these rules are defined in DBMS itself. A DBMS can limit what data the end-user sees and provides multiple views of the same database depending upon the user accessibility. For example, you can provide access to write on the database to some particular users only and for other users, you can provide the read access. The best part is that all you need to do is just use some DBMS software and you are good to go. Some popular DBMS software is MySQL, Oracle, SQLite, PostgreSQL, MariaDB etc.
Let's now understand the concept of Database and DBMS with the help of an example of a company's database. For this example, we will see how data is stored in Relational DBMS(a type of DBMS) using tables. This database maintains information about employee, department, projects.
The database is organised in the following three files:



Now for defining the database system:
DBMS provides an interface for many users to access and retrieve the data. This access type depends upon the software capabilities of the user. So, the users in a DBMS can be classified into the following three types on the basis of their software capabilities and expertise:
That's it for this blog. Hope you learned something new today.
Do share this blog with your friends to spread the knowledge. Visit our YouTube channel for more content. You can read more blogs from here.
Keep Learning 🙂
Team AfterAcademy!
AfterAcademy Tech
In this blog, we will learn what is DBMS and a traditional file system. We will also dive deep and understand the problems of the file system and get to know how DBMS resolved these problems.

AfterAcademy Tech
In this blog, we will learn about Queries and SubQueries that are used to perform operations on some database.

AfterAcademy Tech
In this blog, we will learn how to cross-join two tables in DBMS, and what are the benefits of doing it with example.

AfterAcademy Tech
In this blog, we will learn what is a stored procedure in DBMS, and how it is executed depending on the number of parameters passed.
