<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>数据库 on 正能量</title><link>https://www.znl.net/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/</link><description>Recent content in 数据库 on 正能量</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><copyright>© 2026 正能量</copyright><lastBuildDate>Sun, 18 Oct 2026 15:01:32 +0800</lastBuildDate><atom:link href="https://www.znl.net/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/index.xml" rel="self" type="application/rss+xml"/><item><title>在 Kubernetes 中部署 PostgreSQL 16（单机版，集群内全放开访问）</title><link>https://www.znl.net/posts/k8s-postgres/</link><pubDate>Sat, 20 Dec 2025 16:36:28 +0800</pubDate><guid>https://www.znl.net/posts/k8s-postgres/</guid><description>&lt;code&gt;hostPath&lt;/code&gt; 将数据留在指定节点，&lt;code&gt;ClusterIP&lt;/code&gt; 提供集群内访问入口，两者都不能单独提供备份或账号权限控制。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.znl.net/posts/k8s-postgres/featured.png"/></item><item><title>缓存穿透，缓存击穿，缓存雪崩出现的原因及解决方案</title><link>https://www.znl.net/posts/cache-failures/</link><pubDate>Thu, 12 Dec 2024 11:04:01 +0800</pubDate><guid>https://www.znl.net/posts/cache-failures/</guid><description>先判断访问的是不存在的数据、单个热点过期，还是大量键或整个缓存服务失效，再选择参数校验、空值缓存、互斥重建或降级等措施。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.znl.net/posts/cache-failures/featured.webp"/></item><item><title>Centos6.9下通过yum命令安装mysql</title><link>https://www.znl.net/posts/centos-mysql/</link><pubDate>Fri, 29 Sep 2017 21:14:44 +0800</pubDate><guid>https://www.znl.net/posts/centos-mysql/</guid><description>这份记录对应旧系统与旧版数据库；原文安装源和账号修改语句不应直接套用到其他主版本。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.znl.net/posts/centos-mysql/featured.jpg"/></item></channel></rss>