<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>SQL on 进击的骑士</title>
    <link>https://knight134.com/tags/sql/</link>
    <description>Recent content in SQL on 进击的骑士</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Fri, 17 May 2024 16:00:00 +0800</lastBuildDate>
    <atom:link href="https://knight134.com/tags/sql/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>SQL 查询优化：EXPLAIN 命令的妙用</title>
      <link>https://knight134.com/posts/2024-05-17-sql-optimization/</link>
      <pubDate>Fri, 17 May 2024 16:00:00 +0800</pubDate>
      <guid>https://knight134.com/posts/2024-05-17-sql-optimization/</guid>
      <description>&lt;p&gt;当数据量达到百万级时，一条慢查询足以拖垮整个服务。学会使用 &lt;code&gt;EXPLAIN&lt;/code&gt; 来分析 SQL 执行计划是必备技能。
主要关注 &lt;code&gt;type&lt;/code&gt; 列，如果是 &lt;code&gt;ALL&lt;/code&gt; 表示全表扫描，需要优化索引。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
