- Types of databases
- [[#Types of databases#Centralized Database|Centralized Database]]
- [[#Types of databases#Distributed|Distributed]]
- [[#Types of databases#Relational database|Relational database]]
- [[#Types of databases#NOSQL database|NOSQL database]]
- [[#Types of databases#Cloud database|Cloud database]]
- [[#Types of databases#Object oriented databases|Object oriented databases]]
- [[#Types of databases#Hierarchical database|Hierarchical database]]
Types of databases
There are various types of databases used for storing different varieties of data
Centralized Database
- It is the type of database that stores data at a centralized database system.
- It comforts the users to access the stored data from different locations through several applications.
- These applications contain the authentication process to let users access data securely.
- An example of a Centralized database can be Central Library that carries a central database of each library in a college/university.
PROS
- It has decreased the risk of data management, i.e., manipulation of data will not affect the core data.
- Data consistency is maintained as it manages data in a central repository.
- It provides better data quality, which enables organizations to establish data standards.
- It is less costly because fewer vendors are required to handle the data sets.
CONS
- The size of the centralized database is large, which increases the response time for fetching the data
- It is not easy to update such a wide database system.
- If any server failure occurs, entire data will be lost, which could be a huge loss.
Distributed
- Unlike a centralized database system, in distributed systems, data is distributed among different database systems of an organization.
- These database systems are connected via communication links.
- Such links help the end-users to access the data easily.
- There are two kinds of distributed database, viz. homogenous and heterogeneous.

- Homogeneous DDB: Those database systems which execute on the same operating system and use the same application process and carry the same hardware devices.
- Heterogeneous DDB: Those database systems which execute on different operating systems under different application procedures, and carries different hardware devices.
PROS
- Modular development is possible in a distributed database, i.e., the system can be expanded by including new computers and connecting them to the distributed system.
- One server failure will not affect the entire data set
Relational database
- Considered the most mature of all databases
- these databases lead in the production line along with their management systems.
- In this database, every piece of information has a relationship with every other piece of information.
- This is on account of every data value in the database having a unique identity in the form of a record. -Note that all data is tabulated in this model.
- Therefore, every row of data in the database is linked with another row using a primary key.
- Similarly, every table is linked with another table using a foreign key.
- This database is based on the relational data model, which stores data in the form of rows(tuple) and columns(attributes), and together forms a table(relation).
- Examples of Relational databases are MySQL, Microsoft SQL Server, Oracle, etc.

NOSQL database
- A NoSQL originally referring to non SQL or non-relational is a database that provides a mechanism for storage and retrieval of data.
- Non-SQL/Not Only SQL is a type of database that is used for storing a wide range of data sets.
- It came into existence when the demand for building modern applications increased.
- Thus, NoSQL presented a wide variety of database technologies in response to the demands.
- Key-value storage: It is the simplest type of database storage where it stores every single item as a key (or attribute name) holding its value, together.
- Document-oriented Database: A type of database used to store data as JSON-like document. It helps developers in storing data by using the same document-model format as used in the application code.
- Graph Databases: It is used for storing vast amounts of data in a graph-like structure. Most commonly, social networking websites use the graph database.
- Wide-column stores: It is similar to the data represented in relational databases. Here, data is stored in large columns together, instead of storing in rows

- Advantages of NoSQL Database
- It enables good productivity in the application development as it is not required to store data in a structured format
- It is a better option for managing and handling large data sets.
- It provides high scalability.
- Users can quickly access data from the database through key-value.
Cloud database
- A type of database where data is stored in a virtual environment and executes over the cloud computing platform.
- It provides users with various cloud computing services for accessing the database.
- There are numerous cloud platforms, but the best options are: - -
- Amazon Web Services (AWS)
- Microsoft Azure
- Google Cloud SQL
Object oriented databases
- The type of database that uses the object-based data model approach for storing data in the database system.
- The data is represented and stored as objects which are similar to the objects used in the object-oriented programming language.
Hierarchical database
- stores data in the form of parent-children relationship nodes.
- it organizes data in a tree-like structure
- Data get stored in the form of records that are connected via links.
- Each child record in the tree will contain only one parent.
- each parent record can have multiple child records.
