VOOZH about

URL: https://www.analyticsvidhya.com/blog/2021/07/a-beginners-guide-to-database-part-1/

โ‡ฑ Database for Beginners(Part 1) | What is Database


India's Most Futuristic AI Conference Is Back โ€“ Bigger, Sharper, Bolder

  • d
  • :
  • h
  • :
  • m
  • :
  • s

Reading list

A beginnerโ€™s Guide to Database: Part 1

Amruta Last Updated : 07 Jul, 2021
5 min read

This article was published as a part of the Data Science Blogathon

Pre-requisites

A Basic understanding of Databases.

Introduction

Here I am going to discuss with you that how databases are widely used in industry, what are they, and how it helps store and retrieve data.

Basically, DBMS (Data Base Management System)  is an efficient system or software by which we manage databases like MS Access, Oracle, SQL, and so on. We will look briefly at all these concepts.

Agenda

1. What is the database?

2. What is a Database management system?

3. Database Models

4. The Advantages and Disadvantages of DBMS(Database Management System)

5. Conclusion


What is the Database?

It is a collection of well-organized related records incoherent manner. These records are stored in the form of a table. As we know there rows and columns. Rows are known as tuples and columns are known as attributes of the database.

Example:- Employee records, Students records, telephone Directory, Inventory control, Patients records, Sales reports, etc.

The Database stores metadata in an area which is called the data dictionary, which represents the tables, columns, indexes, constraints, and other items that creates the database.

Metadata is the data that describes the structure of data within a database. If you know how your data is arranged, then you easily can retrieve it. Because the database consists of a description of its structure, itโ€™s โ€œself-describingโ€. The database is integrated because it includes not only data items but also the relationships between data items.

What is Database Management System(DBMS)?

A database management system (called DBMS) is a set of programs that are used to define, administer, and process databases and their associated applications. The database is being managed in essence, a structure that you build to hold valuable data.

We can say a DBMS is the tool you use to build that structure and operate on the data contained within the database. You can find many DBMS programs in the market today. Some DBMS programs will run on large and powerful machines, some on personal computers, notebooks, tablets, etc.
Some programs even run on smartphones.

This is for such products to work on multiple platforms or we can say on networks that contain various classes of machines. An even stronger trend is that to store data in data centers or even to store it out in the cloud also, which could be a public cloud run by a large company such as
Amazon, Google, or Microsoft, through the Internet, or it could be a private cloud that is operated by the same organization that is storing the data on its own intranet.

A DBMS that runs on platforms of multiple classes, large and small that is called Scalable.

Database Models

Database Model gives us a brief idea of our final system after its complete implementation. It defines the data elements and the relationships among the data elements. Database Models are used to show how data is stored, how it is connected, how it can be updated, and how to access the database management system that is nothing but its own structure.

Here, we are going to use a set of symbols and text to represent the information so that members of the organization can communicate and understand it very well. Although many database models are being used nowadays the Relational Model is the most widely used.

Apart from the Relational models, there are various other types of database models about which we will study in detail in this blog. Some of the Database Models in DBMS are as below:

1) Entity-Relationship Model:

The Entity-Relationship model (or we can say ER model) graphically shows the logical relationships of entities (or say objects) to create a database. It is also beneficial for the developers to understand the overall system by just looking at the โ€œER diagramโ€.

โ€“ Entity:- An entity is a real-world object, which is distinguishable from different objects. Like it can be a place, concept, or thing.

Example:-
Enrollment=000968347, Teacher, Building, etc

โ€“ Entity Set:-
Collection of entity is called entity set.

Example:- Employee Records table, Students Records table.

โ€“ Relationship (Mapping):- The Relations between attributes of any two entity sets are called Mapping.
There are four types of relationships as follow:-

1. 1:1(One to One) Mapping

2. 1: M (One to Many) Mapping

3. M: 1 (Many toOne) Mapping

4. M: N (Many to Many) Mapping

For Example:-

2) Network Model

The network model is a part/extension of the hierarchical model that we will see below. The network Model was the most famous model before the Relational model. The network model is the same as the hierarchical model, there is the only difference is that a โ€œrecord can have more than one parentโ€. It can replace the Hierarchical tree with a Graph.

For Example: In the example below, we can see that the node student has two parents i.e. Dept and Library of college. Hence It is not possible in the hierarchical model.

3) Hierarchical Model

The hierarchical model was the first โ€œDBMS modelโ€. This model arranges the data in the hierarchical tree structure. Basically, the hierarchy starts from the root which has root data, and then it expands in the form of a tree adding child node to the parent node and so on. The hierarchical model easily describes some real-world relationships like Food Recipes, etc.

For Example:- We can represent the relationship between the Employees that represent different types of employees in the Company in the following way:-

Advantages And Disadvantages of Database Management Systems (DBMS)

 

* Advantages of DBMS are:- 

1. DBMS has Centralized Control.

2. Data independence allows the dynamic changes and growth potential.

3. Data quality is enhanced.

4. Security enforcement of DBMS is possible.

* Disadvantages of DBMS are:- 

1. Problems associated with centralization are one of the disadvantages.

2. Cost of Software/Hardware required for database and migration too.

Conclusion

It was all about the basics of the Database, we will learn all advanced concepts in the upcoming article. I hope you liked my article. Do share with your friends. Thank You!

The media shown in this article are not owned by Analytics Vidhya and are used at the Authorโ€™s discretion.

I am Software Engineer, data enthusiast , passionate about data and its potential to drive insights, solve problems and also seeking to learn more about machine learning, artificial intelligence fields.

Login to continue reading and enjoy expert-curated content.

Free Courses

Generative AI - A Way of Life

Explore Generative AI for beginners: create text and images, use top AI tools, learn practical skills, and ethics.

Getting Started with Large Language Models

Master Large Language Models (LLMs) with this course, offering clear guidance in NLP and model training made simple.

Building LLM Applications using Prompt Engineering

This free course guides you on building LLM apps, mastering prompt engineering, and developing chatbots with enterprise data.

Improving Real World RAG Systems: Key Challenges & Practical Solutions

Explore practical solutions, advanced retrieval strategies, and agentic RAG systems to improve context, relevance, and accuracy in AI-driven applications.

Microsoft Excel: Formulas & Functions

Master MS Excel for data analysis with key formulas, functions, and LookUp tools in this comprehensive course.

Responses From Readers

Very nice and understanding You are genius

Flagship Programs

GenAI Pinnacle Program| GenAI Pinnacle Plus Program| AI/ML BlackBelt Program| Agentic AI Pioneer Program

Free Courses

Generative AI| DeepSeek| OpenAI Agent SDK| LLM Applications using Prompt Engineering| DeepSeek from Scratch| Stability.AI| SSM & MAMBA| RAG Systems using LlamaIndex| Building LLMs for Code| Python| Microsoft Excel| Machine Learning| Deep Learning| Mastering Multimodal RAG| Introduction to Transformer Model| Bagging & Boosting| Loan Prediction| Time Series Forecasting| Tableau| Business Analytics| Vibe Coding in Windsurf| Model Deployment using FastAPI| Building Data Analyst AI Agent| Getting started with OpenAI o3-mini| Introduction to Transformers and Attention Mechanisms

Popular Categories

AI Agents| Generative AI| Prompt Engineering| Generative AI Application| News| Technical Guides| AI Tools| Interview Preparation| Research Papers| Success Stories| Quiz| Use Cases| Listicles

Generative AI Tools and Techniques

GANs| VAEs| Transformers| StyleGAN| Pix2Pix| Autoencoders| GPT| BERT| Word2Vec| LSTM| Attention Mechanisms| Diffusion Models| LLMs| SLMs| Encoder Decoder Models| Prompt Engineering| LangChain| LlamaIndex| RAG| Fine-tuning| LangChain AI Agent| Multimodal Models| RNNs| DCGAN| ProGAN| Text-to-Image Models| DDPM| Document Question Answering| Imagen| T5 (Text-to-Text Transfer Transformer)| Seq2seq Models| WaveNet| Attention Is All You Need (Transformer Architecture) | WindSurf| Cursor

Popular GenAI Models

Llama 4| Llama 3.1| GPT 4.5| GPT 4.1| GPT 4o| o3-mini| Sora| DeepSeek R1| DeepSeek V3| Janus Pro| Veo 2| Gemini 2.5 Pro| Gemini 2.0| Gemma 3| Claude Sonnet 3.7| Claude 3.5 Sonnet| Phi 4| Phi 3.5| Mistral Small 3.1| Mistral NeMo| Mistral-7b| Bedrock| Vertex AI| Qwen QwQ 32B| Qwen 2| Qwen 2.5 VL| Qwen Chat| Grok 3

AI Development Frameworks

n8n| LangChain| Agent SDK| A2A by Google| SmolAgents| LangGraph| CrewAI| Agno| LangFlow| AutoGen| LlamaIndex| Swarm| AutoGPT

Data Science Tools and Techniques

Python| R| SQL| Jupyter Notebooks| TensorFlow| Scikit-learn| PyTorch| Tableau| Apache Spark| Matplotlib| Seaborn| Pandas| Hadoop| Docker| Git| Keras| Apache Kafka| AWS| NLP| Random Forest| Computer Vision| Data Visualization| Data Exploration| Big Data| Common Machine Learning Algorithms| Machine Learning| Google Data Science Agent
๐Ÿ‘ Av Logo White

Continue your learning for FREE

Forgot your password?
๐Ÿ‘ Av Logo White

Enter OTP sent to

Edit

Wrong OTP.

Enter the OTP

Resend OTP

Resend OTP in 45s

๐Ÿ‘ Popup Banner
๐Ÿ‘ AI Popup Banner