<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>数据库 on 黄文卓 | DevOps Engineer</title><link>https://socake.github.io/tags/%E6%95%B0%E6%8D%AE%E5%BA%93/</link><description>Recent content in 数据库 on 黄文卓 | DevOps Engineer</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>17691281867@163.com (Wenzhuo Huang)</managingEditor><webMaster>17691281867@163.com (Wenzhuo Huang)</webMaster><copyright>© 2026 Wenzhuo Huang</copyright><lastBuildDate>Sun, 12 Apr 2026 14:00:00 +0800</lastBuildDate><atom:link href="https://socake.github.io/tags/%E6%95%B0%E6%8D%AE%E5%BA%93/index.xml" rel="self" type="application/rss+xml"/><item><title>MySQL 高可用实战：MGR + ProxySQL + Orchestrator 完整部署</title><link>https://socake.github.io/posts/mysql-ha-mgr-proxysql/</link><pubDate>Sun, 12 Apr 2026 14:00:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/mysql-ha-mgr-proxysql/</guid><description>详细讲解 MySQL 8.0 MGR 单主模式完整搭建过程、脑裂与 GTID 不一致处理方法、ProxySQL 读写分离配置和健康检查脚本、Orchestrator 自动故障转移与 ProxySQL 联动，以及 mysqld_exporter 监控集成。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/mysql-ha-mgr-proxysql/featured.jpg"/></item><item><title>PostgreSQL 高可用实战：Patroni + HAProxy + etcd 完整部署指南</title><link>https://socake.github.io/posts/postgresql-ha-patroni/</link><pubDate>Sun, 12 Apr 2026 10:00:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/postgresql-ha-patroni/</guid><description>详解 Patroni 自动故障转移机制，手把手完成 etcd 三节点集群搭建、Patroni 完整配置（含 pg_hba.conf 托管）、HAProxy 读写分离配置，以及 kill primary 故障切换演练全过程。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/postgresql-ha-patroni/featured.jpg"/></item><item><title>ClickHouse 生产运维实战：集群部署、副本分片、性能调优与故障排查</title><link>https://socake.github.io/posts/clickhouse-ops-practice/</link><pubDate>Sun, 15 Mar 2026 10:00:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/clickhouse-ops-practice/</guid><description>ClickHouse 高吞吐 OLAP 能力背后有一套独特的运维范式：ReplicatedMergeTree、ZooKeeper/Keeper、分布式表、物化视图、TTL、MergeTree 家族选型。本文按生产落地路径，从集群规划、副本分片、写入优化、查询调优、物化视图到慢查询排查，配套可直接复用的 SQL 与运维脚本。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/clickhouse-ops-practice/featured.jpg"/></item><item><title>数据库运维实践：MySQL 高可用与 PostgreSQL 调优经验</title><link>https://socake.github.io/posts/database-ops-practice/</link><pubDate>Tue, 08 Apr 2025 13:37:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/database-ops-practice/</guid><description>数据库运维不复杂，但细节多、出问题代价大。本文整理了 MySQL 主从复制、慢查询分析、PostgreSQL 连接池这几个高频话题的实战经验，以及一些日常运维 SQL 备忘。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/database-ops-practice/featured.jpg"/></item><item><title>MongoDB 运维入门：部署、备份与生产性能调优</title><link>https://socake.github.io/posts/mongodb-ops-practice/</link><pubDate>Mon, 31 Mar 2025 11:41:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/mongodb-ops-practice/</guid><description>MongoDB 运维从选型到调优：何时选 MongoDB、Replica Set 三节点部署、索引设计、mongodump 备份，以及 wiredTiger、连接池、大文档等生产踩坑。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/mongodb-ops-practice/featured.jpg"/></item><item><title>PostgreSQL 运维实战：配置调优、连接池、慢查询与高可用</title><link>https://socake.github.io/posts/postgresql-ops-practice/</link><pubDate>Tue, 18 Mar 2025 10:15:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/postgresql-ops-practice/</guid><description>系统梳理 PostgreSQL 运维核心技能：从 shared_buffers、WAL 参数调优，到 PgBouncer 事务模式配置；从 pg_stat_statements 慢查询分析到 PITR 时间点恢复；以及主从流复制、膨胀表清理和 Prometheus 监控指标的完整实践。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/postgresql-ops-practice/featured.jpg"/></item><item><title>数据库变更管理：从 gh-ost 到 Flyway 的完整工程化路径</title><link>https://socake.github.io/posts/database-change-management/</link><pubDate>Wed, 08 Jan 2025 10:00:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/database-change-management/</guid><description>很多团队把&amp;quot;数据库变更管理&amp;quot;当成几条 SQL + 一个工单，实际上这是工程化程度最低的一块地方。一边是开发随手写 ALTER 把线上锁住，一边是 DBA 手动盯着进度条祈祷不出事。这篇文章把我总结的 DB 变更管理最佳实践分成工具、流程、组织三个层面讲，每一层都有可以直接落地的方案。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/database-change-management/featured.jpg"/></item><item><title>Redis 运维实践：持久化配置、集群模式与生产监控</title><link>https://socake.github.io/posts/redis-ops-practice/</link><pubDate>Wed, 06 Nov 2024 10:20:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/redis-ops-practice/</guid><description>Redis 运维看起来简单，但真到了生产出了问题才知道水有多深。本文整理了持久化、集群、监控、故障处理等核心运维主题。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/redis-ops-practice/featured.jpg"/></item><item><title>MySQL 备份与恢复实战：从 mysqldump 到 XtraBackup 的完整方案</title><link>https://socake.github.io/posts/mysql-backup-restore/</link><pubDate>Fri, 01 Nov 2024 11:33:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/mysql-backup-restore/</guid><description>从 mysqldump 到 XtraBackup，从全量备份到基于 binlog 的时间点恢复，这篇文章覆盖了 MySQL 备份恢复的完整知识体系，包括生产环境的踩坑和自动化验证方案。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/mysql-backup-restore/featured.jpg"/></item></channel></rss>