What are the different types of databases in DBMS?

Learnaholic India
11 May 202010:20

Summary

TLDRIn this informative session by Learnaholic India, viewers are introduced to the concept of databases, exploring the definition of data and databases, and diving into various types such as centralized, distributed, relational, NoSQL, cloud, object-oriented, hierarchical, network, personal, operational, and enterprise databases. The video highlights the properties of relational databases, the flexibility of NoSQL, and the benefits of cloud databases, offering a comprehensive overview for those interested in database management systems.

Takeaways

  • πŸ“š Data is a collection of distinct small units of information that can be stored in various forms like text, numbers, media, and bytes.
  • πŸ’Ύ A database is an organized collection of data designed for easy access and management, often structured into tables, rows, and columns.
  • 🌐 Dynamic websites, such as those checking hotel room availability, rely on databases to manage and process data efficiently.
  • πŸ” Database Management Systems (DBMS) oversee the management of modern databases, using SQL for operations based on relational algebra and tuple relational calculus.
  • 🏒 Centralized Databases store data in a single location, offering advantages like decreased data management risk and consistent data quality.
  • 🌐 Distributed Databases distribute data across different systems, connected via communication links, offering modular development and resilience to server failures.
  • πŸ“Š Relational Databases organize data in tables with rows and columns, using SQL for data manipulation, and are characterized by ACID properties ensuring data integrity.
  • πŸ”‘ NoSQL Databases offer a flexible approach to data storage, accommodating various data types beyond the tabular form, and are divided into key-value, document-oriented, graph, and wide-column stores.
  • ☁️ Cloud Databases store data on virtual environments over cloud platforms, providing scalable services like SaaS, PaaS, and IaaS.
  • πŸ“ˆ Object-oriented Databases store data as objects, similar to those used in object-oriented programming, while Hierarchical and Network Databases organize data in tree-like and generalized graph structures, respectively.
  • πŸ‘€ Personal Databases are designed for single-user use, being simple and occupying less storage space, whereas Operational and Enterprise Databases cater to real-time data operations and large-scale data management in organizations.

Q & A

  • What is the definition of 'Data' as mentioned in the script?

    -Data is defined as a collection of distinct small units of information that can be used in various forms like text, numbers, media, bytes, etc., and can be stored in pieces of paper or electronic memory.

  • What is the origin of the word 'Data'?

    -The word 'Data' is derived from the Latin word 'datum,' which means a single piece of information. 'Data' is the plural form of 'datum.'

  • How is data represented in computing?

    -In computing, data is information that can be translated into a form for efficient movement and processing, and it is considered interchangeable.

  • What is a database and how is it organized?

    -A database is an organized collection of data designed for easy access and management, often organized into tables, rows, columns, and indexed for easier retrieval of relevant information.

  • What is the purpose of a database?

    -The main purpose of a database is to operate a large amount of information by storing, retrieving, and managing data efficiently.

  • Can you provide an example of a dynamic website that uses a database?

    -An example of a dynamic website that uses a database is a model that checks the availability of rooms in a hotel.

  • What is a Centralized Database and what are some of its advantages?

    -A Centralized Database stores data at a single centralized system, allowing access from various locations through applications with authentication processes. Advantages include decreased risk of data manipulation, maintained data consistency, better data quality, and lower costs due to fewer vendors.

  • What are some disadvantages of a Centralized Database?

    -Disadvantages of a Centralized Database include large size leading to increased response time, difficulty in updating the extensive system, and the risk of losing entire data if a server failure occurs.

  • What is a Distributed Database and how does it differ from a Centralized Database?

    -A Distributed Database stores data across different database systems connected via communication links, allowing end-users to access data easily. Unlike a Centralized Database, it does not store all data in one location but distributes it for better accessibility and fault tolerance.

  • What is the significance of ACID properties in Relational Databases?

    -ACID properties in Relational Databases ensure Atomicity, Consistency, Isolation, and Durability of data operations, guaranteeing reliable processing of transactions and data integrity.

  • Can you explain the concept of NoSQL Databases and their types?

    -NoSQL Databases are non-relational databases designed for storing a wide range of datasets in various formats. They can be categorized into Key-value storage, Document-oriented Databases, Graph Databases, and Wide-column stores, each serving different data storage needs.

  • What is a Cloud Database and what services does it provide?

    -A Cloud Database is a database where data is stored and executed over a cloud computing platform. It provides various cloud computing services such as SaaS, PaaS, and IaaS for accessing the database.

  • What are Object-oriented Databases and how do they store data?

    -Object-oriented Databases use an object-based data model approach, storing data as objects similar to those used in object-oriented programming languages.

  • How does a Hierarchical Database organize data?

    -A Hierarchical Database organizes data in a tree-like structure with parent-children relationships, where each child record contains only one parent, and each parent can have multiple child records.

  • What is the difference between Hierarchical and Network Databases?

    -While Hierarchical Databases organize data in a tree structure with a single parent per child, Network Databases allow each record to have multiple children and parent nodes, forming a more generalized graph structure.

  • What is a Personal Database and what are some of its advantages?

    -A Personal Database is designed for a single user to collect and store data on their system. Advantages include simplicity, ease of handling, and occupying less storage space due to its small size.

  • What is an Operational Database and how does it function in businesses?

    -An Operational Database is designed for real-time creation and updating of data, handling daily data operations in businesses, such as managing daily transactions.

  • What are Enterprise Databases and what benefits do they offer to large organizations?

    -Enterprise Databases are used by large organizations to manage massive amounts of data, improving efficiency and allowing simultaneous access to users. They support multi-process operations and enable parallel queries on the system.

Outlines

00:00

πŸ“š Introduction to Database Concepts

The first paragraph introduces the topic of databases, defining what data is and explaining its various forms and storage methods. It distinguishes 'data' from 'datum' and highlights the importance of data in computing. The paragraph then delves into the concept of a database, describing it as an organized collection of data accessible and manageable through tables, rows, and columns. It also touches on the role of database handlers and the significance of databases in dynamic websites, mentioning specific examples like hotel room availability systems. The paragraph concludes with an overview of different types of databases, such as centralized, distributed, relational, NoSQL, and more, and introduces the use of SQL for database operations.

05:01

πŸ” Exploring Different Types of Databases

This paragraph provides an in-depth exploration of various database types, starting with centralized databases and their advantages and disadvantages, such as data consistency and the risk of server failure. It then contrasts centralized databases with distributed databases, explaining their structure and examples like Apache Cassandra. The paragraph also covers the ACID properties of relational databases and mentions popular examples like MySQL and Oracle. NoSQL databases are discussed next, detailing their types, such as key-value storage and document-oriented databases, and their benefits like scalability and flexibility. Cloud databases and their services, object-oriented databases, hierarchical, and network databases are also briefly introduced, along with personal, operational, and enterprise databases, highlighting their unique uses and advantages.

10:01

πŸ“’ Closing Remarks and Call to Action

The final paragraph serves as a conclusion to the video, encouraging viewers to subscribe to Learnaholic India for more content and to use the bell icon for updates. It invites viewers to like and share the video if they found it useful and to leave comments if they have any questions. The paragraph ends with a reminder to stay tuned for the next video, providing a sense of continuity and engagement with the audience.

Mindmap

Keywords

πŸ’‘Data

Data refers to a collection of distinct units of information that can be in various forms such as text, numbers, and media. It is the fundamental building block of databases, serving as the raw material for processing and analysis. In the video, data is described as being storable in both physical and electronic forms, and its importance is emphasized in computing for efficient movement and processing.

πŸ’‘Database

A database is an organized collection of data designed to facilitate easy access and management. It is structured into tables, rows, and columns, and often indexed to improve searchability. The video script explains that databases are created by database handlers to ensure that one set of software provides access to all users, highlighting their role in operating large amounts of information.

πŸ’‘Database Management System (DBMS)

DBMS is a software system used to manage and control the creation, maintenance, and use of a database. It is central to the video's discussion on modern databases, which are managed by such systems. The script mentions SQL as a language used to operate on data within a DBMS, relying on relational algebra and tuple relational calculus.

πŸ’‘SQL (Structured Query Language)

SQL is a domain-specific language used in programming and managing data held in a relational database management system. The video script describes SQL as being integral to the operation of databases, with its origins in the work of Edgar F. Codd in 1970. It is used for storing, manipulating, and maintaining data within a database.

πŸ’‘Centralized Database

A centralized database is a system where data is stored in a single, central location, allowing for easy access from various locations through applications that include authentication processes. The video script provides the example of a Central Library in a college or university, which maintains a central database of each library, illustrating the concept of centralization.

πŸ’‘Distributed Database

A distributed database is one where data is spread across different locations, with the database systems connected through communication links. The video script differentiates between homogeneous and heterogeneous distributed databases, with examples such as Apache Cassandra and HBase, highlighting the modular development and resilience against server failures.

πŸ’‘Relational Database

A relational database is based on the relational model, storing data in tables composed of rows and columns, with each table having a unique key. The video script credits E.F. Codd for inventing the relational database and mentions ACID properties, which ensure the reliability and integrity of database transactions.

πŸ’‘NoSQL Database

NoSQL stands for 'Not Only SQL' and refers to a type of database that is used for storing a wide range of datasets in various formats, not just tabular. The video script explains that NoSQL databases emerged to meet the demands of modern application development, offering different types such as key-value storage, document-oriented databases, graph databases, and wide-column stores.

πŸ’‘Cloud Database

A cloud database is a type of database that stores data in a virtual environment and operates over a cloud computing platform. The video script discusses the various services provided by cloud platforms, such as SaaS, PaaS, and IaaS, and mentions popular cloud service providers like Amazon Web Services and Google Cloud SQL.

πŸ’‘Object-oriented Database

An object-oriented database is a type of database that uses an object-based data model, storing data as objects similar to those used in object-oriented programming languages. The video script briefly introduces this concept, positioning it as an alternative approach to data storage and retrieval compared to traditional relational databases.

πŸ’‘Hierarchical Database

A hierarchical database organizes data in a tree-like structure, with a parent-child relationship between records. The video script describes how each child record contains only one parent, while each parent can have multiple children, illustrating the hierarchical nature of the data organization.

πŸ’‘Network Database

A network database follows the network data model, allowing for a more complex structure where each record can have multiple children and parents, forming a generalized graph. The video script contrasts this with the hierarchical database, highlighting the flexibility in data relationships that a network database provides.

πŸ’‘Personal Database

A personal database is designed for a single user and is used for collecting and storing data on the user's system. The video script points out the simplicity and ease of handling of personal databases, as well as their small size and lower storage requirements.

πŸ’‘Operational Database

An operational database is used for creating and updating data in real-time, designed to handle daily data operations in businesses. The video script provides the example of an organization using operational databases for managing daily transactions, emphasizing the role of operational databases in day-to-day business activities.

πŸ’‘Enterprise Database

An enterprise database is used by large organizations to manage massive amounts of data, improving efficiency and allowing simultaneous access by multiple users. The video script discusses the advantages of enterprise databases, such as support for multi-processes and the ability to execute parallel queries.

Highlights

Introduction to the session on Types of Database with key topics including Data, Database, and various Database types.

Definition of Data as a collection of distinct units of information in various forms like text, numbers, and media.

Explanation of the term 'Data' being the plural of 'datum', meaning a single piece of information.

Data's role in computing as information translated for efficient movement and processing.

Database defined as an organized collection of data for easy access and management.

Description of how databases are organized into tables, rows, columns, and indexed for retrieval.

The purpose of a database in operating large amounts of information through storage, retrieval, and management.

Example of dynamic websites using databases, such as a hotel room availability checker.

List of popular databases like MySQL, Sybase, Oracle, MongoDB, and SQL Server.

Introduction to Database Management Systems (DBMS) and their role in managing modern databases.

The use of SQL and its reliance on relational algebra and tuple relational calculus in database operations.

Different types of databases presented, including Centralized, Distributed, Relational, NoSQL, Cloud, and more.

Centralized Database explained with its advantages like decreased data management risk and data consistency.

Distributed Database described, highlighting its modular development and resilience to server failures.

Relational Databases and their properties, including ACID properties ensuring data integrity and consistency.

NoSQL Databases introduced, explaining their flexibility for storing various data types beyond tabular forms.

Cloud Databases defined and their provision of cloud computing services for database access.

Object-oriented Databases and their use of object-based data models similar to object-oriented programming.

Hierarchical and Network Databases explained, detailing their data organization in tree-like and graph structures.

Personal Databases described for single-user data collection and storage with their simplicity and storage efficiency.

Operational Databases for real-time data creation and updates, crucial for daily business transactions.

Enterprise Databases for large organizations, supporting multi-process and parallel queries for improved efficiency.

Closing remarks with a call to action for subscriptions, likes, shares, and comments for further engagement.

Transcripts

play00:03

hello everyone !!!

play00:04

welcome to Learnaholic India.

play00:05

today we are going to learn -

play00:06

Types of Database.

play00:08

The topics that we are going to

play00:10

learn in today's

play00:11

session are :

play00:12

What is Data?

play00:13

What is Database?

play00:14

and

play00:15

Types of Database

play00:16

So without wasting time lets start with today's session.

play00:19

First we will see What is Data?

play00:22

Data is a collection of a distinct small unit

play00:24

of information.

play00:25

It can be used in a variety

play00:26

of forms like text, numbers,

play00:28

media, bytes,etc.

play00:29

it can be stored in pieces of paper

play00:32

or electronic memory, etc.

play00:33

Word 'Data' is originated from the word 'datum'

play00:36

that means 'single piece of information.'

play00:40

It is plural of the word datum.

play00:42

In computing, Data is information that can be

play00:44

translated into a form for efficient movement

play00:46

and processing.

play00:47

Data is interchangeable.

play00:49

Now lets take a look at What is Database?

play00:52

A database is an organized collection of data,

play00:54

so that it can be easily accessed and managed.

play00:57

You can organize data into tables, rows, columns,

play01:00

and index it to make it easier to find relevant information.

play01:04

Database handlers create a database in such

play01:06

a way that, only one set of software program

play01:09

provides access of data to all the users.

play01:12

The main purpose of the database is to operate

play01:14

a large amount of information by storing,

play01:16

retrieving, and managing data.

play01:19

There are many dynamic websites on the World

play01:21

Wide Web nowadays which are handled through databases.

play01:24

For example, a model that checks

play01:26

the availability of rooms in a hotel.

play01:28

It is an example of a dynamic website

play01:30

that uses a database.

play01:32

There are many databases available like

play01:34

MySQL, Sybase, Oracle, Mongo DB, Informix, Postgre

play01:39

SQL, SQL Server, etc.

play01:41

Modern databases are managed by the

play01:43

database management system (DBMS).

play01:46

SQL or Structured Query Language is used to

play01:49

operate on the data stored in a database.

play01:52

SQL depends on relational algebra and tuple

play01:55

relational calculus.

play01:56

A cylindrical structure is used to display

play01:58

the image of a database.

play02:00

Now we will learn Types of Database

play02:02

There are various types of databases used

play02:05

for storing different varieties of data such as

play02:08

Centralized Database

play02:09

Distributed Database

play02:11

Relational Database

play02:12

NoSQL Database

play02:14

Cloud Database

play02:15

Object-oriented Databases

play02:17

Hierarchical Databases

play02:19

Network Databases

play02:21

Personal Database

play02:22

Operational Database

play02:23

and Enterprise Database

play02:25

We will see each and every type in detail.

play02:28

Lets start with Centralized Database :

play02:30

It is the type of database that stores data

play02:32

at a centralized database system.

play02:35

It comforts the users to access the stored data from

play02:37

different locations through several applications.

play02:41

These applications contain the authentication process

play02:43

to let users access data securely.

play02:46

An example

play02:46

of a Centralized database can be Central Library

play02:49

that carries a central database of each library

play02:51

in a college or university.

play02:54

Some Advantages of Centralized Database are

play02:56

It has decreased the risk of data management,

play02:58

that is, manipulation of data will not affect

play03:01

the core data.

play03:02

Data consistency is maintained as it manages

play03:05

data in a central repository.

play03:07

It provides better data quality, which enables

play03:10

organizations to establish data standards.

play03:12

It is less costly because fewer vendors are

play03:15

required to handle the data sets.

play03:17

Disadvantages of Centralized Database

play03:20

The size of the centralized database is large,

play03:22

which increases the response time for fetching

play03:24

the data.

play03:25

It is not easy to update such an extensive

play03:28

database system.

play03:29

If any server failure occurs, entire data

play03:31

will be lost, which could be a huge loss.

play03:34

Next type of database is Distributed Database

play03:37

Unlike a centralized database system,

play03:39

in distributed systems,

play03:40

data is distributed among different

play03:42

database systems of an organization.

play03:45

These database systems are connected

play03:47

via communication links.

play03:48

Such links help the end-users to access

play03:51

the data easily.

play03:52

Examples of the Distributed

play03:54

database are Apache Cassandra, HBase, Ignite,etc.

play03:57

It can further divide a distributed database system into:

play04:01

Homogeneous Distributed Database: -

play04:03

Those database systems which execute on the

play04:05

same operating system and use the same application

play04:08

process and carry the same hardware devices.

play04:11

Heterogeneous Distributed Database: -

play04:13

Those database systems which execute on different

play04:16

operating systems under different application

play04:18

procedures, and carries different hardware devices.

play04:21

Some Advantages of Distributed Database are

play04:25

Modular development is possible in a distributed

play04:26

database, that is, the system can be expanded

play04:29

by including new computers and connecting

play04:31

them to the distributed system.

play04:33

One server failure will not affect the entire

play04:35

data set.

play04:37

Next type is Relational Database:

play04:38

This database is based on the relational data

play04:41

model, which stores data in the form of rows

play04:43

that is (tuple) and columns that is (attributes),

play04:46

and together forms a table that is (relation).

play04:48

A relational database uses SQL for storing,

play04:52

manipulating, as well as maintaining the data.

play04:55

EF Codd invented the database in 1970.

play04:58

Each table in the database carries a key that makes

play05:00

the data unique from others.

play05:02

Examples of Relational

play05:04

databases are My SQL, Microsoft SQL Server,

play05:07

Oracle, etc.

play05:09

Lets take a look at Properties of Relational Database

play05:12

There are following four commonly known properties

play05:14

of a relational model known as ACID properties, where :

play05:17

'A' means Atomicity:

play05:19

This ensures the data operation will complete

play05:21

either with success or with failure.

play05:23

It follows the all or nothing strategy.

play05:26

For example,

play05:27

a t ransaction will either be committed

play05:28

or will abort.

play05:30

'C' means Consistency:

play05:32

If we perform any operation over the data,

play05:34

its value before and after the operation should be preserved.

play05:37

For example, the account balance

play05:39

before and after the transaction should be correct,

play05:42

that is, it should remain conserved.

play05:44

'I' means Isolation:

play05:45

There can be concurrent users for accessing

play05:47

data at the same time from the database.

play05:50

Thus, isolation between the data should remain isolated.

play05:53

For example, when multiple transactions occur

play05:56

at the same time, one transaction effects

play05:58

should not be visible to the other

play06:00

transactions in the database.

play06:01

'D' means Durability:

play06:03

It ensures that once it completes the operation

play06:06

and commits the data,

play06:07

data changes should remain permanent.

play06:09

Next type of database is No SQL Database:

play06:12

Non-SQL or Not Only SQL is a type of database

play06:16

that is used for storing a wide range of datasets.

play06:19

It is not a relational database as it

play06:21

stores data not only in tabular form

play06:23

but in several different ways.

play06:25

It came into existence

play06:27

when the demand for building modern applications increased.

play06:30

Thus, No SQL presented a wide variety

play06:33

of database technologies in

play06:34

response to the demands.

play06:36

It can further divide a No SQL database

play06:38

into the following four types:

play06:40

first is Key-value storage: -

play06:42

It is the simplest type of database

play06:44

storage where it stores every

play06:45

single item as a key (or attribute name)

play06:48

holding its value, together.

play06:50

second is Document-oriented Database: -

play06:52

A type of database used to store

play06:54

data as J SON-like document.

play06:56

It helps developers in storing data

play06:58

by using the same document model format as

play07:01

used in the application code.

play07:03

third is Graph Databases: -

play07:04

It is used for

play07:05

storing vast amounts of data in a graph-like structure.

play07:09

Most commonly, social networking

play07:10

websites use the graph database.

play07:13

fourth is Wide-column stores: -

play07:14

It is similar

play07:15

to the data represented in relational databases.

play07:18

Here, data is stored in large columns together,

play07:21

instead of storing in rows.

play07:22

Some Advantages of no SQL Database are -

play07:25

It enables good productivity in the application

play07:27

development as it is not required to store

play07:30

data in a structured format.

play07:32

It is a better option for managing and handling

play07:34

large data sets.

play07:36

It provides high scalability.

play07:38

Users can quickly access data from

play07:40

the database through key-value.

play07:42

Next type is Cloud Database:

play07:44

A type of database where data is stored in

play07:46

a virtual environment and executes over the

play07:48

cloud computing platform.

play07:50

It provides users

play07:51

with various cloud computing services

play07:53

as (SaaS,PaaS, IaaS, etc)

play07:55

for accessing the database.

play07:57

There are numerous cloud platforms,

play07:59

but the best options are:

play08:01

Amazon Web Services(AWS)

play08:03

Microsoft Azure

play08:05

Kamatera

play08:05

PhonixNAP

play08:06

ScienceSoft

play08:07

Google Cloud SQL, etc.

play08:10

Next type is Object-oriented Databases -

play08:12

The type of database that uses the object-based

play08:15

data model approach for storing data in

play08:17

the database system.

play08:19

The data is represented and

play08:21

stored as objects which are similar to the objects

play08:22

used in the object-oriented programming language.

play08:26

Next is Hierarchical Databases-

play08:28

It is the type of database that stores data

play08:30

in the form of parent-children relationship nodes.

play08:33

it organizes data in a tree-like structure

play08:35

as shown in the figure.

play08:36

Data get stored in the form of records that

play08:39

are connected via links.

play08:40

Each child record in the tree will contain

play08:42

only one parent.

play08:44

On the other hand, each parent record can

play08:46

have multiple child records.

play08:48

Next type is Network Databases:

play08:50

It is the database that typically follows

play08:52

the network data model.

play08:54

Unlike the hierarchical database,

play08:56

it allows each record to have multiple

play08:58

children and parent nodes to form a

play08:59

generalized graph structure.

play09:01

Next type is Personal Database:

play09:03

Collecting and storing data on the user's

play09:05

system defines a Personal Database.

play09:08

This database is basically designed for a single user.

play09:11

Some Advantage of Personal Database are -

play09:13

It is simple and easy to handle.

play09:16

It occupies less storage space as it is small in size.

play09:19

Next is Operational Database:

play09:21

This type of database which creates and updates

play09:23

the database in real-time.

play09:25

It is basically designed for executing

play09:27

and handling the daily

play09:28

data operations in several businesses.

play09:31

For example, An organization uses operational

play09:34

databases for managing per day transactions.

play09:37

Last type is Enterprise Database:

play09:39

Large organizations or enterprises use this

play09:42

database for managing a massive amount of data.

play09:44

It helps organizations to increase and

play09:47

improve their efficiency.

play09:48

Such a database allows simultaneous

play09:50

access to users.

play09:52

Advantages of Enterprise Database are

play09:54

Multi processes are supportable over

play09:56

the Enterprise database.

play09:58

It allows executing parallel queries on the system.

play10:00

Thank you for watching today's session.

play10:02

If you are new to this channel then subscribe

play10:05

to Learnaholic India and dont forget to click on the bell icon for the latest video updates.

play10:10

if you like today's video then like it, share with your friends.

play10:13

If you have any query then

play10:14

please comment below.

play10:16

That's it for today.

play10:17

Stay tuned for next video.

play10:18

Thank you.

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Database TypesData ManagementRelational DBNoSQLCloud StorageSQL TutorialData AccessACID PropertiesDistributed SystemsObject-Oriented DB