AWS Notes by Quality Thoughts
AWS Notes by Quality Thoughts
AWS Notes by Quality Thoughts
Databases in an Enterprise
Topic-1.
What is Database
1. Database is generally used to store the
organized data i.e. master and
transactional records of an application.
2.Data present in the databases is referred
as structure data as we can query it.
3. Database is controlled by Data Base
Management System(DBMS).
4. Types of Databases
1. Relational Databases
2. NoSQL Databases
3. Cache-Database
Topic-2
Relational Databases
What is SQL?
2. NoSQL Databases:
This is a broad category that includes a
database that doesn’t use SQL as its
primary access language.
NoSQL database doesn’t have to
confirm to pre-defined schema.
This is popular for organizations
dealing with semi-structured or
unstructured data.
Examples:
Mongo DB
Apache Cassandra
The database types that can be derived
from NoSQL are
Key-Value
Document Database
Graph Database.
Data WareHouse:
These type of databases
generally deal with large data
stores and OLAP/OLTP
Examples:
Terradata
Informatica
3.Cache Databases
All the databases discussed above store
the data on the disk. Disk is not a very
high speed device, There might be
some information of your application
which does not change frequently.
RAM is a faster device than disk, If we
can store the data in the RAM and
when application queries if this
infrequently changed data is returned
from RAM the application
performance increases. Databases
which can do this are called Cache-
Databases. Examples
Redis
Memcached.
Database as a Service
Generally when we use Database as a
Service (i.e. cloud databases), CSP like
AWS
1. will support only few database engines
not all.
2. Will support only fewer versions
(generally latest)
3. Will give users the option to directly
create database (no need to install)
4. Will give options for easier backups and
restores (one-click)
5. Will give easier options for replications
across datacenters (one-click)
6. Charges will be applied based on the
size of the engine, DB Engine used.
(Hourly charges)