๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Databases Advanced

What is Replication?

The process of copying and maintaining database data across multiple servers for redundancy, failover, and read scaling.

Database replication copies data from a primary server to one or more replicas. Synchronous replication waits for replicas to confirm writes (strong consistency but slower). Asynchronous replication is faster but may have slight data lag.

Use cases include high availability (automatic failover), read scaling (distribute reads across replicas), geographic distribution (replicas near users), and disaster recovery. PostgreSQL supports streaming replication and logical replication.

Related Terms

View
A virtual table defined by a SQL query that provides a simplified or restricted view of data from one or more tables.
Full-Text Search
A technique for searching natural language text in databases using word stemming, ranking, and relevance scoring.
ACID
A set of four properties (Atomicity, Consistency, Isolation, Durability) that guarantee reliable database transactions.
EXPLAIN ANALYZE
A PostgreSQL command that shows the execution plan of a query along with actual runtime statistics for performance tuning.
Row-Level Security (RLS)
A database feature that restricts which rows a user can access in a table based on security policies.
Data Warehouse
A centralized repository optimized for analytical queries that integrates data from multiple operational sources.
View All Databases Terms โ†’