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

Categories

Databases Advanced

What is Database Proxy?

A middleware server that sits between applications and databases, providing connection pooling, load balancing, and query routing.

Database proxies intercept database connections and provide transparent features. PgBouncer (PostgreSQL) pools connections, dramatically reducing server overhead. ProxySQL (MySQL) adds query routing, caching, and read/write splitting.

Benefits include connection multiplexing (many app connections โ†’ few DB connections), transparent failover, query caching, read/write splitting (route reads to replicas), and traffic shaping. Proxies are essential for scaling database connections in microservices architectures.

Related Terms

Upsert
A database operation that inserts a new row if it does not exist, or updates the existing row if it does.
Full-Text Search
A technique for searching natural language text in databases using word stemming, ranking, and relevance scoring.
ETL (Extract, Transform, Load)
A data pipeline process that extracts data from sources, transforms it into a suitable format, and loads it into a destination system.
ORM (Object-Relational Mapping)
A technique that lets you interact with a database using object-oriented code instead of writing raw SQL queries.
Migration
A version-controlled change to a database schema that can be applied and reversed systematically.
JOIN
An SQL operation that combines rows from two or more tables based on a related column between them.
View All Databases Terms โ†’