<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Database on Neat Guy Coding</title><link>https://neatguycoding.com/zh-cn/categories/database/</link><description>Recent content in Database on Neat Guy Coding</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><copyright>© 2026 NeatGuyCoding</copyright><lastBuildDate>Wed, 01 May 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://neatguycoding.com/zh-cn/categories/database/index.xml" rel="self" type="application/rss+xml"/><item><title>PostgreSQL vs MySQL：为你的 OLTP 工作负载找到合适的选择</title><link>https://neatguycoding.com/zh-cn/posts/pgsql-mysql/</link><pubDate>Wed, 01 May 2024 00:00:00 +0000</pubDate><guid>https://neatguycoding.com/zh-cn/posts/pgsql-mysql/</guid><description>PostgreSQL 和 MySQL 在 OLTP 场景下的全面比较，探讨它们在二级索引处理和 MVCC 实现方面的根本架构差异，以及何时选择每个数据库的实用见解。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://neatguycoding.com/posts/pgsql-mysql/featured.jpg"/></item><item><title>解决分片 MySQL 表的性能下降：理解根本原因和解决方案</title><link>https://neatguycoding.com/zh-cn/posts/recreate_table/</link><pubDate>Fri, 27 May 2022 00:00:00 +0000</pubDate><guid>https://neatguycoding.com/zh-cn/posts/recreate_table/</guid><description>全面指南，了解为什么 MySQL 查询在分片环境中随时间变慢，探讨存储碎片和 MVCC 相关问题的根本原因，并提供使用 OPTIMIZE TABLE 表重建技术维护最佳数据库性能的实用解决方案。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://neatguycoding.com/posts/recreate_table/featured.jpg"/></item><item><title>MySQL 优化器统计：为什么你的查询选择了错误的索引</title><link>https://neatguycoding.com/zh-cn/posts/sql-index/</link><pubDate>Thu, 24 Feb 2022 00:00:00 +0000</pubDate><guid>https://neatguycoding.com/zh-cn/posts/sql-index/</guid><description>深入探讨 MySQL 的 InnoDB 优化器统计以及采样不准确如何导致索引选择不当，造成相似查询之间的显著性能差异。学习防止由优化器误判导致的慢 SQL 查询的实用解决方案。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://neatguycoding.com/posts/sql-index/featured.jpg"/></item><item><title>通过 SQL 优化发现的隐藏生产问题</title><link>https://neatguycoding.com/zh-cn/posts/big-table-index-invalid/</link><pubDate>Sat, 07 Aug 2021 00:00:00 +0000</pubDate><guid>https://neatguycoding.com/zh-cn/posts/big-table-index-invalid/</guid><description>当我们的运维团队带来一个执行时间极长的复杂 SQL 查询时，我们以为这只是一个性能问题。我们不知道，这次调查会发现一个深深隐藏的字符编码不匹配问题，它一直在我们的生产数据库中默默地导致全表扫描。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://neatguycoding.com/posts/big-table-index-invalid/featured.jpg"/></item></channel></rss>