Skip to main content

33 docs tagged with "database"

View all tags

Advanced SQL

Window functions, CTEs, subqueries, recursive queries, lateral joins, pivot/unpivot, and advanced SQL patterns.

Amazon DynamoDB

DynamoDB mastery for DVA-C02. Covers partition keys, sort keys, GSI vs LSI, read/write capacity modes, DynamoDB Streams, DAX, TTL, transactions, and the most common exam scenarios and anti-patterns.

Amazon RDS & Aurora

Amazon RDS and Aurora for DVA-C02. Multi-AZ vs Read Replicas, Aurora Serverless, RDS Proxy, IAM authentication, connection pooling, encryption, and common developer patterns with Java/Spring Boot.

Backup & Recovery

RPO, RTO, backup strategies, point-in-time recovery, logical vs physical backups, and disaster recovery planning.

CAP Theorem: A Senior Engineer's Deep Dive

A comprehensive guide to the CAP theorem in distributed systems, covering network partitions, consistency models, microservice-level trade-offs, interview questions, and real-world implementations.

Change Data Capture (CDC)

Comprehensive guide on Change Data Capture (CDC), detailing how it works, alternatives comparison, implementation patterns with Debezium and Spring, and deep dives for senior engineers.

Chapters 30–32: The Database, Web & Frameworks Are Details

Databases, web frameworks, and all third-party frameworks are details — implementation choices that should be deferred and hidden behind boundaries. Learn why treating them as the center of your architecture leads to rigidity and how to protect your business rules from them.

Data Warehousing & OLAP

OLTP vs OLAP, dimensional modeling, star and snowflake schemas, ETL/ELT, materialized views, and modern data warehouse tools.

Database ACID Properties

A comprehensive guide to database ACID properties (Atomicity, Consistency, Isolation, Durability) for both beginners and experienced engineers.

Database Connection Pooling

A complete guide to database connection pooling — how connections work, pool mechanics, HikariCP tuning, pool sizing formulas, failure modes, PgBouncer, RDS Proxy, and production observability. Beginner through senior depth.

Database Knowledge Base

A comprehensive reference covering relational fundamentals, indexing, transactions, distributed systems, caching, and more — with common interview questions.

Database Security

Authentication, authorization, SQL injection, encryption at rest and in transit, auditing, and security best practices.

Database Sharding & Partitioning

A complete guide to horizontal scaling — sharding strategies, consistent hashing, cross-shard complexities, rebalancing, distributed ID generation, and real-world database comparisons.

Full-Text Search

Full-text search concepts, inverted indexes, relevance scoring, MySQL FULLTEXT, PostgreSQL tsvector, and Elasticsearch for advanced search.

Indexing & Query Optimization

Deep dive into database indexing mechanisms — covering disk I/O, B-Trees, hash indexes, composite index design, geospatial indexing, inverted indexes, EXPLAIN analysis, and Spring/JPA performance.

NoSQL & Distributed Databases

From first principles to production — key-value, document, wide-column, and graph databases with deep dives into MongoDB and Cassandra for Java/Spring engineers.

NoSQL & MongoDB — Complete Guide

What MongoDB is, why to use it, core concepts, data modelling, CRUD, aggregation, indexes, advanced architecture, and schema patterns. Covers beginner through senior depth.

Performance & Monitoring

Identifying slow queries, profiling tools, key metrics, connection pooling, and practical optimization workflow.

Query Planner & Optimizer

How databases parse, plan, and optimize SQL queries — cost-based optimization, statistics, plan hints, and common planner pitfalls.

Redis as In-Memory Database

Redis as a primary in-memory database — persistence mechanisms (RDB, AOF), durability guarantees, data modeling patterns, and when to use Redis as your primary store vs cache.

Relational Fundamentals

Core concepts of relational databases — tables, keys, joins, SQL basics, and the relational model.

Schema Migrations

Managing database schema changes safely in production — Flyway, Liquibase, zero-downtime migration patterns, and rollback strategies.

SQL Interview Questions

Common SQL interview questions on ranking queries, indexing, and practical query optimization.

Time-Series Databases

Time-series data characteristics, storage optimizations, InfluxDB, TimescaleDB, Prometheus, and common time-series patterns.

Transactional Outbox Pattern

A complete guide to the Transactional Outbox Pattern — from the Dual-Write problem for beginners to CDC vs polling internals, at-least-once guarantees, ordering semantics, and production monitoring for senior engineers.