Database

19 articles tagged with Database.


What are Different Types of SQL Indexes?

What are Different Types of SQL Indexes?

Unlock database performance with our guide to SQL index types. Learn how B-Tree, clustered, non-clustered, and hash indexes speed up your queries.

ConceptsDatabase
Rohit LakhotiaApr 8, 2026
Normalized vs Denormalized Database?

Normalized vs Denormalized Database?

Choosing between a normalized vs denormalized database? This guide breaks down the performance trade-offs to help you make the right architectural choice.

ConceptsDatabase
Rohit LakhotiaMar 4, 2026
What Happens During a Database Migration?

What Happens During a Database Migration?

Discover what happens during a database migration. This practical guide covers planning, execution, validation, and strategies for a smooth transition.

ConceptsDatabaseSystem Design
Rohit LakhotiaDec 10, 2025
Acid vs Base: Which Database Consistency Model Should You Use?

Acid vs Base: Which Database Consistency Model Should You Use?

Discover whether acid vs base: which database consistency model should you use? Find out which approach suits your needs with real-world examples.

ConceptsDatabaseBeginner
Rohit LakhotiaOct 8, 2025
What Are Vector Databases? The Secret Sauce Behind AI Search Engines

What Are Vector Databases? The Secret Sauce Behind AI Search Engines

A vector database stores complex data, such as text, images, and audio, as high-dimensional numerical representations called vector embeddings.

ConceptsDevopsDatabaseDistributed System
Rohit LakhotiaSep 17, 2025
Write-Through, Write-Back & Write-Around in Cache: A Practical Guide

Write-Through, Write-Back & Write-Around in Cache: A Practical Guide

Your app writes data every second but how it writes can change everything. Write-Through, Write-Back & Write-Around hide big trade-offs.

ConceptsDatabaseSystem Design
Rohit LakhotiaSep 8, 2025
CDN vs Edge Cache: What You Need to Know

CDN vs Edge Cache: What You Need to Know

When people discuss CDN vs edge cache, they're often setting up a false comparison. The reality is simpler: edge caching is the core process that makes a modern Content Delivery Network (CDN) work.

ConceptsDatabaseDistributed System
Rohit LakhotiaSep 7, 2025
Redis vs Memcached: When to Use What?

Redis vs Memcached: When to Use What?

Redis: complex data, persistence & pub/sub. Memcached: simple, ultra-fast, volatile key-value caching.

ConceptsDatabaseBeginner
Rohit LakhotiaSep 6, 2025
What is Memcached?

What is Memcached?

Memcached is a high-performance, open-source caching system that stores frequently accessed data in RAM.

DatabaseBeginner
Rohit LakhotiaSep 5, 2025
Object vs File vs Block Storage Explained

Object vs File vs Block Storage Explained

File storage uses folders, object storage flattens data with metadata for scale, and block storage is a simpler form for raw binary data.

ConceptsDatabaseBeginner
Rohit LakhotiaSep 3, 2025
What is NoSQL? A Clear Guide to NoSQL Databases

What is NoSQL? A Clear Guide to NoSQL Databases

Running an online store? Products vary by size, color, reviews, ratings & sellers fitting all that into rigid tables quickly gets messy...

ConceptsDatabaseBeginner
Rohit LakhotiaSep 3, 2025
What is Read/Write Splitting? Boost Database Performance

What is Read/Write Splitting? Boost Database Performance

When apps scale, one database handling both reads and writes becomes a bottleneck. Read/write splitting fixes this by separating the two.

ConceptsDatabaseBeginner
Rohit LakhotiaSep 2, 2025
Data Management in Applications

Data Management in Applications

Whether you’re building a simple note-taking app, a social media platform, or a large-scale e-commerce system, your application’s success depends on how well...

ConceptsDatabaseSystem Design
Rohit LakhotiaAug 28, 2025
EP 63: How Quora Optimized their Databases?

EP 63: How Quora Optimized their Databases?

Quora optimized databases with caching, MyRocks for storage efficiency, and MySQL sharding to boost performance, cut costs, and handle scale.

DatabaseSystem Design
Rohit LakhotiaJan 27, 2025
EP 61: How Stripe achieved 99.999% uptime with DocDB (Document Database)

EP 61: How Stripe achieved 99.999% uptime with DocDB (Document Database)

Stripe achieved 99.999% uptime by building DocDB, a custom solution on MongoDB, enabling efficient data migration, scaling, and high availability.

DatabaseSystem DesignStripe
Rohit LakhotiaJan 13, 2025
What is MongoDB?

What is MongoDB?

MongoDB is a NoSQL database that stores data in flexible, JSON-like documents.

ConceptsDatabase
Rohit LakhotiaJul 1, 2024
What is ⁠PostgreSQL?

What is ⁠PostgreSQL?

PostgreSQL is a robust, open-source object-relational database system known for advanced features, scalability, and support for complex queries.

DatabaseSystem Design
Rohit LakhotiaJun 24, 2024
EP 29: What is Cassandra?

EP 29: What is Cassandra?

Cassandra is a scalable, distributed NoSQL database for handling large data with high availability.

ConceptsDatabaseSystem DesignBeginner
Rohit LakhotiaJun 3, 2024
What is an ORM?

What is an ORM?

Ever thought of skipping database languages? ORM is for you!

ConceptsDatabaseSystem Design
Rohit LakhotiaDec 11, 2023