ENGINEER · 엔지니어 가이드

데이터베이스

PostgreSQL·MySQL·Redis 설치·운영·쿼리 최적화

140 GUIDES · 9 CATEGORIES
← 전체 보기
GUIDES

데이터베이스 가이드19

데이터베이스중급
7월 16일

The Complete Guide to PostgreSQL Privilege Management — Roles, GRANT, REVOKE, and Schema Privileges

A role is both a user and a group; privileges stack in three layers (database → schema → table); DEFAULT PRIVILEGES covers tables that do not exist yet. Design read-only accounts and least privilege with production-ready SQL.

linux
데이터베이스중급
6월 18일

PostgreSQL VACUUM and autovacuum — Diagnosing and Tuning Table Bloat

Diagnose dead tuples and table bloat caused by PostgreSQL's MVCC, and tune VACUUM/autovacuum parameters. Covers pg_stat_user_tables, wraparound prevention, and alternatives to VACUUM FULL.

linux
데이터베이스고급
6월 18일

Redis Sentinel — High Availability and Automatic Failover Setup

Configure Redis Sentinel for master-replica monitoring, automatic failover, and service discovery. A hands-on walkthrough of quorum behavior, client integration, and operational pitfalls.

linux
데이터베이스고급
6월 18일

MySQL Replication — Complete Guide to Master-Slave High Availability

A practitioner’s walkthrough of building Master-Slave (Source-Replica) high availability with MySQL/MariaDB binlog replication, covering GTID, semi-sync, lag diagnosis, and failover.

linux
데이터베이스중급
5월 27일

MSSQL Log Shipping — Disaster Recovery Redundancy Setup

Set up a Primary–Secondary DR configuration with SQL Server Log Shipping, and practice scheduling backup, copy, and restore jobs plus monitoring.

windows
데이터베이스고급
5월 27일

MSSQL Always On Availability Groups — SQL Server HA Redundancy Configuration

This guide walks through configuring Primary–Secondary redundancy with SQL Server Always On Availability Groups, including automatic failover and read-only routing.

windows
데이터베이스고급
5월 27일

Building a PostgreSQL Automatic Failover HA Cluster with Patroni and etcd

Configure a 3-node PostgreSQL HA cluster with Patroni and etcd, including automatic failover when the Primary fails and HAProxy-based load balancing.

linux
데이터베이스고급
5월 27일

PostgreSQL Streaming Replication — Primary/Replica High Availability Setup

Configure Primary–Replica high availability with PostgreSQL Streaming Replication, and learn WAL-based real-time synchronization and failover principles through hands-on practice.

linux
데이터베이스중급
5월 27일

Slow Query Analysis — pg_stat_statements · MySQL Slow Log

How to find slow queries with PostgreSQL pg_stat_statements, diagnose index issues using the MySQL slow query log and EXPLAIN ANALYZE, and optimize your queries.

UbuntuDebianCentOS
데이터베이스중급
5월 27일

PgBouncer Connection Pooling — PostgreSQL Performance Optimization

Covers installing and configuring PgBouncer, choosing a pooling mode (session/transaction/statement), setting up user authentication, and using monitoring queries to cut PostgreSQL connection counts and improve performance.

UbuntuDebianCentOS
데이터베이스초급
5월 27일

MySQL Basics — Installation, Users, Privileges, and Essential Queries

Covers MySQL operational basics: installation, root security hardening, creating users and databases, granting privileges, essential CRUD queries, and configuration file tuning.

UbuntuDebianCentOS
데이터베이스초급
5월 27일

SQLite Practical Guide — CLI · Schema · Backup · Python Integration

A practical rundown of using SQLite as a lightweight database: CLI usage, table design, indexes and triggers, .dump backups, and CRUD with Python’s sqlite3 module.

UbuntuDebianCentOS
데이터베이스중급
5월 27일

Getting Started with Elasticsearch — Installation, Indexes, Queries, and Connecting Kibana

A hands-on introduction to search engine fundamentals: installing Elasticsearch, creating indexes and performing document CRUD, match/term/range queries, aggregations, and connecting Kibana.

UbuntuDebianCentOS
데이터베이스초급
5월 27일

MongoDB Fundamentals in Practice — CRUD, Indexes, and Aggregation Pipelines

A practical rundown of MongoDB for practitioners: install, collection CRUD, index creation, aggregation pipelines ($match/$group/$lookup), and mongodump backups.

UbuntuDebianCentOS
데이터베이스고급
5월 19일

PostgreSQL Replication, WAL, and PITR — A Complete Guide to Production HA

An in-depth PostgreSQL operations guide for building high availability with Streaming Replication and implementing point-in-time recovery (PITR) with WAL archiving.

UbuntuDebianCentOS
데이터베이스중급
5월 18일

Complete MySQL/MariaDB Backup and Restore Guide

Covers logical backup and restore with mysqldump, automation scripts, and binary-log point-in-time recovery.

UbuntuDebianCentOS
데이터베이스초급
5월 18일

Redis Fundamentals in Practice — Caching, Sessions, and Message Queues

A practitioner-focused guide covering Redis from installation through String, Hash, List, and Sorted Set data structures, plus caching strategies and TTL.

UbuntuDebianCentOS
데이터베이스고급
5월 18일

PostgreSQL Index Optimization — Diagnosing Slow Queries and Index Strategy

A practical guide to finding slow queries with EXPLAIN ANALYZE and choosing the right index types to improve performance.

UbuntuDebianCentOS
데이터베이스초급
5월 18일

PostgreSQL Installation and Basic Configuration

How to install PostgreSQL on Ubuntu, create users and databases, and configure remote access and backups.

ubuntudebiancentos