Ankita.eth
GithubContact
  • About Ankita
  • experience
    • TECHNOLOGIES
    • Frontend
      • Javascript
      • React
      • NextJS
      • HTML & CSS
      • UI Libraries & Frameworks
        • Tailwind CSS
        • Comprehensive Guide to UI Libraries and Frameworks
    • Backend
      • Node.js
      • Express.js
    • Database
      • Mongodb, Mongoose
      • PostgresSQl
      • MySQL
    • Packege Mangers
      • NPM-Node Packege Manager
      • Yarn
      • Yarn 2 (Berry)
      • PNPM
      • BUN
      • Commands cheatsheet
    • API Providers
      • Alchemy
      • Telegram Bot
      • CoinMarket
      • Thirdweb
      • Infura
      • Moralis
    • DevOps/Infrastructure
      • Docker
      • Kubernetes
      • CI/CD
      • Docker Swam
    • Protocols
      • ERCs & EIPs
        • ERC-20
        • ERC-721
        • ERC-1155
        • ERC-4337
        • ERC-6551
        • ERC-777
        • ERC-3643
        • EIP-7702
        • ERC-7715
        • ERC-7739
        • EIP-6780
        • EIP-5792
        • ERC-4626
        • EIP-1559
        • ERC-404
        • ERC-3643
        • ERC-223
    • Web3 Toolkits
      • Foundry
      • Hardhat
      • RemixIDE
    • Messaging/Caching
      • Kafka
      • Redis
      • Sendgrid
    • Blockchain
      • Solana
      • Ethereum
      • Polygon & Zero knowldge Proof
      • Bitcoin
      • Solidity
    • Deployment Platforms
      • AWS
      • Vercel
      • Heroku, Render
      • Domain setup
  • SDKs
    • Google Cloud SDK
    • AWS SDK
    • Firebase SDK
  • EOF EVM Object Format
  • Articles
    • Medium Articles
    • 🌐 My Work
  • 📞 Get in Touch
Powered by GitBook
On this page

Was this helpful?

  1. experience

Database

Types of Databases

Databases are categorized based on their structure, data organization, and access methods. Here are some common types:

1. Relational/SQL Databases

  • Relational Database Management System (RDBMS): Organizes data in tables with rows and columns. Each row represents a record, and each column represents a field. Relationships between tables are defined using foreign keys.

    • Examples: MySQL,PostgreSQL,Oracle,SQL Server

  • Object-Relational Database Management System (ORDBMS): Combines the features of relational databases with object-oriented programming concepts. It allows for the storage and retrieval of complex data objects.

    • Examples: Microsoft SQL Server,Oracle Database,PostgreSQL,DB2

2. NoSQL Databases

  • Document Databases: Store data in flexible, document-oriented structures, often using JSON or BSON.

    • Examples:MongoDB,CouchDB,Firebase

  • Key-Value Stores: Store data as key-value pairs, where keys are unique identifiers and values can be any type of data.

    • Examples:Redis,Memcached,DynamoDB

  • Wide-Column Stores: Store data in wide columns, where each column can have multiple values associated with a specific row.

    • Examples:Cassandra,HBase

  • Graph Databases: Store data as nodes and relationships between them, forming a graph structure.

    • Examples:Neo4j,ArangoDB,OrientDB

3. Other Types

  • Time Series Databases: Specialized for handling time-stamped data, often used in IoT, finance, and scientific applications.

    • Examples:InfluxDB,TimescaleDB

  • Spatial Databases: Designed to store and query spatial data, such as geographic locations and shapes.

    • Examples:PostGIS,MongoDB

  • Multi-Model Databases: Support multiple data models, allowing you to choose the best approach for different types of data.

    • Examples:Couchbase,ArangoDB

Types of Databases and Their Examples

Here's a more detailed table with examples for each type:

Database Type
Data Format
Example

Relational Database (RDBMS)

Tables with rows and columns

Customer database with tables for customers, orders, and products

Object-Relational Database (ORDBMS)

Tables with complex data types

E-commerce database storing products as objects

Document Database

JSON or BSON documents

Blog database storing posts, comments, and authors as documents

Key-Value Store

Key-value pairs

Caching system storing frequently accessed data

Wide-Column Store

Wide columns

Sensor data database storing measurements

Graph Database

Nodes and relationships

Social network database representing users and connections

Time Series Database

Time-stamped data

Financial database storing stock prices

Spatial Database

Spatial data

Mapping application storing locations

Multi-Model Database

Varies

Complex application using document, graph, and key-value models

The choice of database and data format depends on the specific requirements of application, such as the type of data, query patterns, and scalability needs.

PreviousExpress.jsNextMongodb, Mongoose

Last updated 9 months ago

Was this helpful?