Database Basics
Hi Everyone , My name is Muskan and today we are going to learn about the basics , types and use of databases.
INTRODUCTION
All Databases serves a common purpose of Storing information whether it's a relational database or a non-relational database. The type of database you will require for your application depends heavily on the application use-case. But even then there are so many different different database products for the same category. They might differ with other in terms of their Scale and data models. Databases are designed different to meet different needs to access data.
TYPES OF DATABASES
Relational Database - It allows data to be stored in the form of table like structure with Rows and Columns. Developers defines the schema/structure of the table beforehand as well as the relations and Constraint on the rows ,Columns and tables in database. A database can consist of multiple tables. RDBs use Structured Query Language (SQL), which is a standard user application that provides an easy programming interface for database interaction. Relational Databases are still the most popularly used Category of databases in the world. As of August 2022 , the top 4 most used database engines are Oracle , MYSQL , Microsoft SQL Server , PostgreSQL. You can see DB engines ranking at -%[db-engines.com/en/ranking]
Document Database: A document database (also known as a document-oriented database or a document store) is a database that stores information in documents. Document databases are intuitive for developers to use because the data in the application tier is typically represented as a JSON document. Documents can be stored in formats like JSON, BSON, and XML.
In-memory Databases: These are fast access database as their response time is in microseconds. In-memory database is a database that stores the data in RAM, so you have faster access to your data. These types of databases are often taken in consideration when the performance of your application needs to be improved. To improve performance developers often implements Caching for their database driven web applications. Example of In Memory database includes Memcached and Redis. Redis is generally consider better
Graph Database - They are generally used to create and navigate the relationship between data.