Lec-2: Introduction to DBMS (Database Management System) With Real life examples | What is DBMS

Gate Smashers
9 Jul 201811:59

Summary

TLDRThis introductory lecture on Database Management Systems (DBMS) emphasizes its significance in competitive exams and the tech industry. It explains DBMS as a crucial tool for managing structured data through operations like insertion, deletion, and updating. The lecture introduces the concept of a database as a collection of related data and distinguishes between structured and unstructured data, highlighting the prevalence of structured data in systems like RDBMS. It also mentions various DBMS platforms like SQL Server and Oracle, underlining the importance of relational databases in storing and managing data efficiently.

Takeaways

  • 📘 DBMS is crucial for competitive exams like GATE and UGC NET as well as for interviews in top companies.
  • 🚀 The importance of DBMS has increased over the years, especially in the context of top companies relying heavily on databases.
  • 🗃️ A database is defined as a collection of related data, which can be structured or unstructured.
  • 🔍 Structured data is organized in a specific format, such as tables, and is commonly managed by RDBMS.
  • 🏢 Examples of structured databases include those of Indian Railways, IRCTC, and university systems, which follow a particular structure.
  • 📚 RDBMS is the most important type of DBMS for competitive exams, focusing on how to store and manage structured data in tables.
  • 🛠️ DBMS provides a set of operations that facilitate user interaction with the database, such as insertion, deletion, and updating of data.
  • 🌐 Users are not concerned with the physical location of the data; DBMS abstracts this away and allows for remote data manipulation.
  • 🛑 Different companies have developed various DBMS platforms, such as Microsoft's SQL Server and Oracle's database systems.
  • 📈 Despite the rise of unstructured data, structured data and RDBMS remain significant, especially in the context of competitive exams.
  • 🔑 The script emphasizes the fundamental concepts of RDBMS, setting the stage for further detailed exploration in subsequent lectures.

Q & A

  • Why is DBMS considered important for competitive exams like GATE and UGC NET?

    -DBMS is important for competitive exams because it is a crucial subject for B.Tech and BCA students and is frequently asked about in interviews and exams due to its relevance in top companies' operations.

  • What is the significance of DBMS in the current job market?

    -DBMS is significant in the job market because most top companies, including major MNCs like Facebook, Google, and Amazon, rely heavily on databases, making knowledge of DBMS essential for many job roles.

  • What is the basic definition of a database according to the script?

    -A database is defined as a collection of related data, where the data is organized in a way that it is relevant to a specific context or organization, such as Indian Railways or Facebook.

  • What are the two main components of a database system?

    -The two main components of a database system are the database itself, which is the collection of data, and the DBMS, which is the system that manages the database.

  • What is the difference between structured and unstructured data?

    -Structured data is data that is stored in a specific format or structure, like a table with rows and columns. Unstructured data, on the other hand, does not have a predefined format and can include various types of data like photos, videos, and text without a specific organization.

  • Why is RDBMS preferred for managing structured data?

    -RDBMS, or Relational Database Management System, is preferred for managing structured data because it uses tables to organize data in a way that is easy to access, update, and manage, making it suitable for applications like IRCTC where data needs to be consistently structured.

  • What are the common operations performed on a database?

    -Common operations performed on a database include insertion (adding new data), deletion (removing data), and updating (modifying existing data).

  • How does DBMS facilitate user interaction with the database?

    -DBMS facilitates user interaction by providing a system of operations that allows users to easily perform tasks such as searching, updating, inserting, and deleting data, without needing to know the physical location of the data.

  • What are some examples of different DBMS created by various companies?

    -Examples of different DBMS created by various companies include Microsoft SQL Server, Oracle's different versions of SQL, MySQL, and IBM's DB2.

  • Why is the focus on structured data in the context of RDBMS?

    -The focus on structured data in the context of RDBMS is because it is the type of data that RDBMS is designed to manage effectively. Structured data is organized in a predefined format, typically in tables, which RDBMS can handle through its relational model.

  • What percentage of data on Earth is unstructured according to the script?

    -According to the script, approximately 90% of the data on Earth is unstructured.

Outlines

00:00

📚 Introduction to Database Management Systems

The first paragraph introduces the significance of Database Management Systems (DBMS) in the context of competitive exams like GATE and UGC NET, as well as its importance for students of B.Tech and BCA. It highlights the increasing relevance of DBMS in job interviews, especially in top companies like Facebook, Google, and Amazon, which rely heavily on databases. The paragraph defines a database as a collection of related data, distinguishing it from unstructured data and explaining the concept of structured data using examples like Indian Railways and IRCTC. It also introduces the term 'relational database management system' (RDBMS), which is the focus of the lecture series.

05:01

🛠 Operations and Management of Structured Data

This paragraph delves into the functionalities of a database management system, emphasizing its role in facilitating operations such as insertion, deletion, and updating of data. It clarifies that the location of the data is irrelevant to the user, who is only concerned with performing operations. The paragraph also discusses various DBMS platforms developed by companies like Microsoft and Oracle, and their versions. The focus is on structured data, which is stored in a table format, and the importance of RDBMS in managing this data is underscored. The paragraph also touches on the concept of relations in databases and how they are used in systems like IRCTC for storing and accessing data.

10:02

🌐 Structured vs. Unstructured Data and the Scope of RDBMS

The third paragraph provides a brief overview of unstructured data, which lacks a predefined format and includes media like photos and videos. It contrasts this with structured data, which is organized in a specific format, typically a table. The paragraph mentions that while most current technologies focus on unstructured data, structured data still holds significance. It acknowledges that 90% of the world's data is unstructured but emphasizes that RDBMS, the subject of the lecture series, is concerned with structured data. The paragraph concludes by stating that future videos will explore structured data and RDBMS in more depth.

Mindmap

Keywords

💡DBMS

DBMS stands for Database Management System. It is a software system that allows users to create, retrieve, update, and manage data efficiently. In the context of the video, DBMS is highlighted as a crucial subject for competitive exams like GATE and UGC NET, and for job interviews, especially in top companies that rely heavily on databases for their operations.

💡Database

A database is defined as a collection of related data. It is a structured way to store information that can be easily accessed, managed, and updated. In the video, databases are mentioned as essential for entities like Indian Railways and Facebook, which use them to store and manage vast amounts of data related to their operations.

💡Structured Data

Structured data refers to information that is organized in a specific format, making it easily searchable and analyzable. The video script mentions that structured data is typically stored in a relational database management system (RDBMS), which uses tables with rows and columns to organize the data, like in an Excel spreadsheet.

💡Unstructured Data

Unstructured data is data that does not have a pre-defined format or organization. It can include various types of content like text documents, images, videos, and audio files. The script points out that most of the data on the internet is unstructured and does not fit neatly into tables or other structured formats.

💡RDBMS

RDBMS stands for Relational Database Management System. It is a specific type of DBMS that stores data in a structured format using rows and columns in tables. The video emphasizes RDBMS as the focus of study for exams like GATE and UGC NET, as it is widely used in the industry for managing structured data.

💡Data Operations

Data operations encompass the various actions performed on data, such as insertion, deletion, and updating. The video script explains that a DBMS facilitates these operations, allowing users to manage data efficiently without worrying about the data's physical location.

💡MNC Companies

MNC stands for Multi-National Corporations, which are large companies that operate in multiple countries. The script mentions top MNC companies like Facebook, Google, and Amazon, emphasizing their reliance on databases and the importance of DBMS knowledge for job seekers.

💡IRCTC

IRCTC stands for Indian Railway Catering and Tourism Corporation. In the video, IRCTC is used as an example of an organization that uses a database system to manage information about trains and passengers, illustrating the practical application of DBMS in real-world scenarios.

💡Competitive Exams

Competitive exams are tests that candidates take to secure positions in various sectors, including academia and the corporate world. The video script highlights the significance of DBMS knowledge for success in exams like GATE and UGC NET, which are gateways to higher studies and teaching positions.

💡Big Data

Big Data refers to the large volume of data, both structured and unstructured, that inundates a data system. The script briefly touches on big data and technologies like Hadoop, which are often used to manage and analyze unstructured data, indicating a shift towards handling large and complex data sets in the industry.

Highlights

DBMS is an important subject for competitive exams like GATE and UGC NET.

DBMS is crucial for B.Tech and BCA students and is an emerging subject.

Top companies like Facebook, Google, and Amazon rely heavily on databases.

DBMS is significant for interviews as companies focus on database knowledge.

A database system consists of a database and a DBMS.

A database is a collection of related data, such as Indian Railways or Facebook's data.

Data can be structured, semi-structured, or unstructured.

Structured data is organized in a specific format, like RDBMS.

RDBMS uses tables to store structured data, similar to Excel sheets.

DBMS facilitates operations like insertion, deletion, and updating of data.

Users are not concerned with the data's location, only with performing operations.

Different companies have created various DBMS, such as Microsoft's SQL Server and Oracle's versions.

RDBMS focuses on structured data stored in table format.

IRCTC's database system is an example of structured data in table format.

Unstructured data lacks a predefined format and includes photos, videos, and web pages.

90% of data on Earth is unstructured, but structured data remains relevant.

Technologies like big data and Hadoop are used for unstructured data.

Transcripts

play00:00

Hello friends, welcome to Gate Smashers

play00:02

today we are going to start with

play00:03

the very first lecture of DBMS

play00:05

i.e. database management system,

play00:07

DBMS is a very important system

play00:10

in terms of GATE exam, UGC NET exam

play00:13

and other competitive exam.

play00:14

Even if I say a simple thing,

play00:16

in today's time for a B.tech student

play00:18

and even BCA student,

play00:20

DBMS is very important subject,

play00:23

means you can also say that

play00:25

it's very emerging subject,

play00:27

means if I talk about 6-7 years ago from today,

play00:31

then at that time less questions were

play00:33

asked from DBMS in interviews,

play00:36

but today's time Most of the questions

play00:38

are being asked from the database.

play00:40

The major reason for this is that

play00:43

all the top companies,

play00:44

the major MNC companies, which we call

play00:46

Top Fifty Fortune Company like Facebook,

play00:50

Google, Amazon,

play00:53

So whatever major company are there,

play00:55

All their work is going on on whom,

play00:57

is running on the database.

play00:59

All this company whose work is based on the database,

play01:03

so obviously they will ask the question

play01:05

from the database itself.

play01:07

So that's why DBMS is a very important

play01:09

subject even from the interview point of view.

play01:12

so we are starting DBMS,

play01:14

I am starting from the very initial level,

play01:17

so first of all I have written here database system,

play01:20

I am not talking about DBMS right now,

play01:22

the first term I am talking about here Database system.

play01:25

Database system, what is database system

play01:28

as I just told about Facebook.

play01:30

Even let's talk about India then Indian Railways,

play01:33

if we talk about IRCTC,

play01:35

then Indian Railways has its own database system,

play01:40

Facebook has its own database system,

play01:43

what Flipkart has, its own database system.

play01:46

Now there are 2 terms in that database system,

play01:49

one is database, one is DBMS,

play01:53

which means database system is

play01:55

comprised of two things,

play01:57

one is database and another one is DBMS.

play02:00

Now if I talk about database,

play02:02

what is the database ?

play02:04

It has absolutely simple definition,

play02:06

database is a collection of related data.

play02:09

here I am telling you in a very layman language

play02:13

it is a collection of related data.

play02:20

As the name suggests, database means

play02:22

where a lot of data is collected.

play02:25

But related data,

play02:27

what is the meaning of related data

play02:29

like we talk about Indian Railways,

play02:30

IRCTC has its own database,

play02:33

a very big database.

play02:35

Now in that database, What will happen in that?

play02:37

What happens when you log in, first of all,

play02:40

like the information of the train,

play02:41

means if you want to go somewhere,

play02:43

then you are searching the information of the train in it.

play02:45

Apart from that, what IRCTC will have,

play02:48

information of the passenger,

play02:49

which passengers,

play02:50

Those who have ever traveled on a train

play02:53

or are logged into IRCTC account.

play02:57

Will they have the data of the people

play02:59

from all over India.

play03:01

No, what I am trying to tell you here,

play03:04

that database is a collection of related data.

play03:07

It is not that we club any data among themselves,

play03:10

means Indian Railways cannot club the

play03:13

data of Indian Passport with their data,

play03:15

they have their own data base,

play03:19

their own database of passport holders.

play03:21

Indian railway people have their own data base,

play03:23

that's why it is related data.

play03:26

Now here I have further bifurcated it.

play03:29

Generally database is structured & call it unstructured,

play03:33

although generally it is three structured,

play03:35

semi structured and unstructured.

play03:37

But actually if we talk about DBMS,

play03:39

then today's time, It doesn't come in so

play03:41

much details in gate or UGC NET,

play03:43

but you should know about

play03:46

what is structured data and unstructured data.

play03:49

What is structured data, such database

play03:51

which I can store in any particular shape or

play03:56

in a particular structure.

play03:59

And unstructured means which has no

play04:01

particular structure like I have written

play04:03

a simple example here,

play04:05

Indian railways data or university data.

play04:08

Now university data or railways data,

play04:11

Why it is structured because there is

play04:13

a particular structure for them.

play04:15

Which structures, the most important

play04:17

structures are used for structured data base

play04:21

that is RDBMS

play04:26

(Relational database management system)

play04:29

Now I am coming here on this term

play04:31

database management system.

play04:33

Now we are talking about that we saved the data

play04:36

means I have a lot of data,

play04:38

I saved the data in the backend,

play04:39

in hard drives, on the servers.

play04:42

Now What to do with that data,

play04:44

obvouisly users will search that data,

play04:47

user want to access the data,

play04:49

Now they will do some updates in the data,

play04:51

will insert some new data,

play04:53

will delete some old data,

play04:55

means they have to perform what

play04:58

operation on an average,

play04:59

have to do insertion means,

play05:01

some data has to be added,

play05:02

have to do deletion means some data has to be deleted,

play05:04

have to update. Update means some old data,

play05:07

like address, address of a student

play05:09

was something else,

play05:10

has updated means it has changed.

play05:12

so we call all these things operations,

play05:16

Operations

play05:19

now I should have some system to

play05:21

perform all these operation,

play05:25

so that system we called

play05:27

database management system.

play05:29

So data base management system has

play05:32

collection of operations

play05:33

which provides easiness to the users,

play05:36

so that the users can easily perform

play05:39

the operations in the database,

play05:41

which operations, insertion, deletion, updation

play05:45

Now where can be the data,

play05:47

the data may be in the remote area,

play05:49

that means for example

play05:51

if I am sitting in Delhi

play05:52

and where is my data stored, in Mumbai.

play05:55

So the data, I have nothing to do with the location,

play05:58

I have to access the data

play06:00

and make some changes in that data.

play06:01

Means we access the data of IRCTC,

play06:04

we do some reservation of train.

play06:07

So we know where that data is stored, no.

play06:09

Because users have nothing to do with it,

play06:11

they just have to perform their operations.

play06:13

And the DBMS helps them to

play06:16

perform those operations.

play06:19

Now DBMS also we have various,

play06:22

different- different companies have been

play06:23

created different-different database management system

play06:26

like, if I tell a simple example, Microsoft,

play06:28

Microsoft corporation has made SQL server,

play06:31

Oracle people have also made different

play06:33

versions of SQL server 2005, 2008, 2010,

play06:36

2016, various different version,

play06:39

same oracle has 2009, 2011, 2012 C, 2016,

play06:43

different versions, similarly with my SQL,

play06:46

its belongs to Oracle and DB2,

play06:49

its DBMS of IBM to manage the data,

play06:55

Now here we are talking about structured data,

play06:57

I am only focusing only on structured data

play07:00

out of this whole

play07:02

because what I told, structured data is

play07:05

such data Which has proper structure to store the data

play07:08

and that structure is relation.

play07:15

Relation means table,

play07:18

means we stored structured data

play07:21

in which format,

play07:24

in table format. Table means,

play07:26

even if you do not know about it,

play07:29

no problem,

play07:30

I am explaining it in a very simple point of view,

play07:33

means if you have seen the excel file,

play07:37

there are columns amd rows,

play07:40

you can compare that with it.

play07:42

Means what is a table,

play07:44

in which there are some columns

play07:46

and different different rows.

play07:49

Now technically we call this table, relation.

play07:53

But what is my point is that

play07:56

how we store data structure data

play08:01

can also have different ways

play08:03

but the most useable method is relation,

play08:07

means how to store data in relation form,

play08:10

in table form.

play08:12

Now when I am storing the data in the form of relation

play08:15

then obviously I also need some management system,

play08:20

i need some platform

play08:22

which support the relation.

play08:25

Means whenever the user access the data,

play08:27

it show the relation.

play08:29

whenever users store data,

play08:31

it goes and store the data in the relation,

play08:34

like IRCTC.

play08:36

Now if you remember that

play08:37

you have ever logged in to IRCTC,

play08:39

then you first check it,

play08:41

when you enter the source and destination,

play08:44

then you will get the information of all the trains,

play08:46

And it comes in which format,

play08:48

it comes in the table format,

play08:49

in which first column is train number,

play08:51

train name

play08:53

& also different like number of compartment,

play08:55

apartments, type of seats, departure time,

play08:59

departure date, different databases have their own columns.

play09:03

we're not talking about that right now.

play09:06

We are talking in simple format,

play09:07

whom I am talking about here,

play09:11

only structured data. Because in B.Tech

play09:14

which we study RDBMS

play09:15

(Relational Database Management System),

play09:17

in that all we are focusing on, on whom,

play09:20

the structure. In GATE also questions comes from this,

play09:24

in UGC NET, even in all the competitive

play09:26

exams the questions comes on structure data,

play09:28

and how to store structured data,

play09:31

in the form of relation.

play09:32

Now storing the relation and accessing it,

play09:36

What do I need, Management System.

play09:39

So what is a DBMS? A Management System,

play09:41

but for whom? for relation.

play09:44

So that's why a new term has come from

play09:46

here RDBMS,

play09:49

that is relational database management system,

play09:54

so this is our subject

play09:55

i.e. relational database management system,

play09:59

a system where we can perform, insert,

play10:01

delete, update many operations.,

play10:05

but on whom will we perform?

play10:07

On relations.

play10:09

So this is the basic introduction of the RDBMS.

play10:13

I forget to explain about unstructured data actually,

play10:16

unstructured data means

play10:18

data which does not have

play10:20

any particular structure to store it,

play10:22

means there is no predefined structure

play10:24

where I can store that data. Why ?

play10:26

Because the majority of the data in the

play10:29

unstructured data are like photos, videos,

play10:33

which do not have any particular format.

play10:35

As i am talking about a web page,

play10:37

what is in a web page,

play10:38

web page is a collection of photos, videos, chats

play10:43

they do not have any particular format,

play10:46

they can be in any format.

play10:48

It may means that the web page first

play10:50

contains the video, then your image,

play10:52

then some text in it or maybe

play10:54

the first few paragraphs came.

play10:55

But structured data will always be in a

play10:58

particular format and what is its format?

play11:01

Table.

play11:02

We are not talking about unstructured data

play11:05

because our main topic is,

play11:07

our subject is RDBMS is working only on structure data.

play11:11

This is just a extra thing,

play11:14

I just want to explain to you.

play11:15

And another one point is,

play11:17

if i talk about today's time,

play11:19

90% of the data on the Earth is actually

play11:23

unstructured.

play11:25

So all the technologies in today's time,

play11:28

the maximum technologies are coming

play11:30

on the unstructured data,

play11:33

But this doesn't mean that structure data is closed,

play11:36

structured data is also exist.

play11:37

But most of the technologies are on

play11:39

unstructured data which is being used

play11:41

the most at today's time,

play11:42

like if i tell a simple example then

play11:44

If we talk about big data or Hadoop,

play11:47

we use all these terms in unstructured data.

play11:51

But here i will explain only about

play11:54

structured data and RDBMS

play11:56

in further videos.

Rate This

5.0 / 5 (0 votes)

Related Tags
DBMS BasicsDatabase SystemsRelational DatabasesStructured DataCompetitive ExamsGATE UGC NETTech IndustryData ManagementInterview PrepRDBMS Overview