0% found this document useful (0 votes)
57 views23 pages

Cloud Databases 1

Cloud databases allow storing and accessing data over the internet. There are two main types - relational databases using SQL and non-relational NoSQL databases. Relational databases are best for structured data like transactions, while NoSQL is for unstructured data like photos. Databases can be run on the cloud in two ways - using virtual machine images or as a database-as-a-service. Popular cloud database providers include Amazon RDS, Microsoft Azure, and Google Cloud SQL. Cloud databases provide advantages like automatic scaling, backups, and lower costs compared to on-premise databases.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views23 pages

Cloud Databases 1

Cloud databases allow storing and accessing data over the internet. There are two main types - relational databases using SQL and non-relational NoSQL databases. Relational databases are best for structured data like transactions, while NoSQL is for unstructured data like photos. Databases can be run on the cloud in two ways - using virtual machine images or as a database-as-a-service. Popular cloud database providers include Amazon RDS, Microsoft Azure, and Google Cloud SQL. Cloud databases provide advantages like automatic scaling, backups, and lower costs compared to on-premise databases.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

CLOUD DATABASE

1/
What is Cloud database?

●cloud database is the database system that is hosted by a


third-party service provider on a remote server and
accessed over the internet.
● A database that runs on cloud computing platform.
● It access as a service such as Amazon EC2 and Rack space.

2/
Structure Data

●In Cloud database it has structure data and unstructured


data.
● Based on cloud database is categorized as:
● 1)Relational database
● 2)Non-relational database

3/
RELATIONAL DATABASE

● A relational database is written in structured query


language(SQL).
●SQL database is highly consistent in its format like banking
transcations or telephone directory.
Popular cloud platforms and cloud providers are

MySQL,Oracle,IBM DB2 and Microsoft SQL Server.

4/
NON-RELATIONAL DATABASE

● Non-relational database is an unstructured data.


● Non-relational database is also called NOSQL.
● These stores content in single document.
● Unstructured data such as photos and videos.

5/
Evolution of Database on cloud

● It started with Paas-deploy code and import data


● Microsoft Azure had SQL DB since 2009
● Amazon announced RDS in 2009
● Google App engine introduced SQL DB in 2011

6/
Popular RDBMS on Cloud

● MySQL
● PostgreSQL
● Microsoft SQL Server
● Oracle

7/
Methods to run a database in a cloud:

● There are two methods to run a database in a cloud:


● 1)Virtual machine image
● 2)Database-as-a-service(DBaas)

8/
1)Virtual machine image:

●Cloud platforms allow users to purchase virtual machine


instances for a limited time,and one can run a database on
virtual machine.
●Users can either upload their own machine image with a
database installed on it.

9/
Virtual Machine Image

10 /
2)Database-as-a-service(DBaas)

●With a database as a service model,application owners do


not have to install and maintain the database themselves.
●The database service provider takes responsibility for
installing and maintaining the database.
●Application owners are charged according to their usage of
the service.

11 /
Database as a service

12 /
AWS CLOUD DATABASE

● Relational Database- Amazon Relational Database


● NoSQL database
1)simple DB- It ia a schema-less DB meant for smaller

workloads.
●2)DYNAMO DB- It is a solid-state type SSD pack DB that
automatically replicates workloads across atleast three
availability zones.

13 /
Factors to be consider

● Database container types


● Compatibility & supported database size
● Purchasing options
● License mobility

14 /
INDEXING

●A database index maps the items in a database to their


locations in the database.
●When you send a database a query,the database can use
an index to quickly lookup the location of item you
requested.
●Cloud firestore features that reduce the amount of time
you need to spend managing indexes.

15 /
Index Types

● Cloud firestore uses two types of indexes:


● 1) Single-field indexes
● 2) Composite indexes

16 /
Index Types

●A single-field index stores a sorted mapping of all


documents in a collection that contain specific field.
●It records document value and location from that specific
field
● A composite index which it contain multiple specific field .

17 /
ARCHITECTURE

18 /
Advantages

● Fast automated recovery from failures


● Managed backups,restores,and automated scheduling.
● Better performance
● Widely accessible
● Cost savings

19 /
Disadvantages

● Security and privacy issues


● Loss of control over resources
● Data is tied to the provider
● Lack of support

20 /
21 /
22 /
Thank You

23 /

You might also like