diff --git a/2021/05/06/mysql-index2/index.html b/2021/05/06/mysql-index2/index.html index e55529bd..3e02ab13 100644 --- a/2021/05/06/mysql-index2/index.html +++ b/2021/05/06/mysql-index2/index.html @@ -285,14 +285,14 @@

zhangssxyz@xxx.com’的这条记录,取得 ID2 的值; +
  • 从 index1 索引树找到满足索引值是’zhangssxyz@xxx.com’的这条记录,取得 ID2 的值;
  • 到主键上查到主键值是 ID2 的行,判断 email 的值是正确的,将这行记录加入结果集;
  • -
  • 取 index1 索引树上刚刚查到的位置的下一条记录,发现已经不满足 email=‘zhangssxyz@xxx.com’的条件了,循环结束。
  • +
  • 取 index1 索引树上刚刚查到的位置的下一条记录,发现已经不满足 email=‘zhangssxyz@xxx.com’的条件了,循环结束。
  • 如果使用的是 index2

    1. 从 index2 索引树找到满足索引值是’zhangs’的记录,找到的第一个是 ID1;
    2. -
    3. 到主键上查到主键值是 ID1 的行,判断出 email 的值不是’zhangssxyz@xxx.com’,这行记录丢弃;
    4. +
    5. 到主键上查到主键值是 ID1 的行,判断出 email 的值不是’zhangssxyz@xxx.com’,这行记录丢弃;
    6. 取 index2 上刚刚查到的位置的下一条记录,发现仍然是’zhangs’,取出 ID2,再到 ID 索引上取整行然后判断,这次值对了,将这行记录加入结果集;
    7. 重复上一步,直到在 idxe2 上取到的值不是’zhangs’时,循环结束。
    diff --git a/css/main.css b/css/main.css index da890a9c..5b5fea53 100644 --- a/css/main.css +++ b/css/main.css @@ -1172,7 +1172,7 @@ pre .javascript .function { } .links-of-author a::before, .links-of-author span.exturl::before { - background: #de262f; + background: #1bdd8f; border-radius: 50%; content: ' '; display: inline-block; diff --git a/sitemap.xml b/sitemap.xml index 2abfcf38..56b1b226 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -261,28 +261,28 @@ - https://cwww3.github.io/2021/04/10/LRU/ + https://cwww3.github.io/2021/04/10/coding/ 2021-05-26 - https://cwww3.github.io/2021/04/10/coding/ + https://cwww3.github.io/2021/05/26/hello-world/ 2021-05-26 - https://cwww3.github.io/2021/05/26/hello-world/ + https://cwww3.github.io/2021/04/28/index/ 2021-05-26 - https://cwww3.github.io/2021/04/28/index/ + https://cwww3.github.io/2021/04/10/LRU/ 2021-05-26 @@ -303,49 +303,49 @@ - https://cwww3.github.io/2021/04/24/mysql-log/ + https://cwww3.github.io/2021/04/10/oauth/ 2021-05-26 - https://cwww3.github.io/2021/05/08/mysql-order-by/ + https://cwww3.github.io/2021/04/08/sort/ 2021-05-26 - https://cwww3.github.io/2021/04/10/oauth/ + https://cwww3.github.io/2021/05/08/mysql-order-by/ 2021-05-26 - https://cwww3.github.io/2021/04/08/sort/ + https://cwww3.github.io/2021/04/18/vim/ 2021-05-26 - https://cwww3.github.io/2021/04/18/vim/ + https://cwww3.github.io/2021/04/24/mysql-log/ 2021-05-26 - https://cwww3.github.io/categories/index.html + https://cwww3.github.io/tags/index.html 2021-05-26 - https://cwww3.github.io/tags/index.html + https://cwww3.github.io/categories/index.html 2021-05-26 @@ -403,7 +403,7 @@ - https://cwww3.github.io/tags/%E7%AE%97%E6%B3%95/ + https://cwww3.github.io/tags/Nginx/ 2024-06-06 daily 0.6 @@ -416,13 +416,6 @@ 0.6 - - https://cwww3.github.io/tags/Nginx/ - 2024-06-06 - daily - 0.6 - - https://cwww3.github.io/tags/%E7%BC%96%E7%A0%81/ 2024-06-06 @@ -472,6 +465,13 @@ 0.6 + + https://cwww3.github.io/tags/%E7%AE%97%E6%B3%95/ + 2024-06-06 + daily + 0.6 + + https://cwww3.github.io/tags/k8s/ 2024-06-06 @@ -487,7 +487,7 @@ - https://cwww3.github.io/tags/Makefile/ + https://cwww3.github.io/tags/os/ 2024-06-06 daily 0.6 @@ -501,21 +501,21 @@ - https://cwww3.github.io/tags/os/ + https://cwww3.github.io/tags/Makefile/ 2024-06-06 daily 0.6 - https://cwww3.github.io/tags/MongoDB/ + https://cwww3.github.io/tags/mq/ 2024-06-06 daily 0.6 - https://cwww3.github.io/tags/mq/ + https://cwww3.github.io/tags/MongoDB/ 2024-06-06 daily 0.6 @@ -571,21 +571,21 @@ - https://cwww3.github.io/tags/CDN/ + https://cwww3.github.io/tags/DNS/ 2024-06-06 daily 0.6 - https://cwww3.github.io/tags/DNS/ + https://cwww3.github.io/tags/%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1/ 2024-06-06 daily 0.6 - https://cwww3.github.io/tags/%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1/ + https://cwww3.github.io/tags/CDN/ 2024-06-06 daily 0.6 diff --git a/tags/Go/index.html b/tags/Go/index.html index 58980459..a4ca61ec 100644 --- a/tags/Go/index.html +++ b/tags/Go/index.html @@ -23,7 +23,7 @@ - + @@ -31,7 +31,7 @@ - + - 标签: Go | Cwww3's Blog + 标签: go | Cwww3's Blog @@ -158,7 +158,7 @@

    Cwww3's Blog

    -

    Go +

    go 标签

    @@ -173,15 +173,35 @@

    Go
    - +
    + + + + +