{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.2832695245742798,
        "class": 0
      }
    ],
    "prob": 0.28326952,
    "class": 0,
    "models": [
      {
        "m": "az",
        "prob": 0.28326952,
        "class": 0
      }
    ],
    "version": "v17.17",
    "thresholds": [
      0.999503,
      0.9998882
    ],
    "analyzed_at": "2026-05-26T13:59:24Z"
  },
  "path": "innodb-implementation-of-mvcc.md",
  "raw": {
    "v": "5",
    "fs": [
      {
        "f": "O(C)Md",
        "x": 2,
        "ff": {
          "m": {
            "file": {
              "size": 18844.0,
              "entropy": 6.45,
              "size_bytes": 18844.0
            }
          },
          "s": [
            [
              4,
              "u8",
              "title: InnoDB"
            ],
            [
              46,
              "u8",
              "description:"
            ],
            [
              71,
              "u8",
              "InnoDB"
            ],
            [
              128,
              "u8",
              "do l"
            ],
            [
              129,
              "u8",
              "undo log"
            ],
            [
              149,
              "u8",
              "ReadView"
            ],
            [
              211,
              "u8",
              "MySQL"
            ],
            [
              269,
              "u8",
              "- MySQL"
            ],
            [
              285,
              "u8",
              "- - meta"
            ],
            [
              296,
              "u8",
              "- name: keywords"
            ],
            [
              317,
              "u8",
              "content: MVCC,"
            ],
            [
              472,
              "u8",
              "(Multi-Version Concurrency Control)"
            ],
            [
              877,
              "u8",
              "SELECT"
            ],
            [
              1546,
              "u8",
              "INSERT"
            ],
            [
              1555,
              "u8",
              "UPDATE"
            ],
            [
              1564,
              "u8",
              "DELETE"
            ],
            [
              2967,
              "u8",
              "Consistent Nonlocking Reads"
            ],
            [
              2997,
              "u8",
              "**](https://dev.mysql.com/doc/refman/5.7/en/innodb-consistent-read.html)"
            ],
            [
              3352,
              "u8",
              "`InnoDB`"
            ],
            [
              3396,
              "u8",
              "(multi versioning)](https://dev.mysql.com/doc/refman/5.7/en/innodb-multi-versioning.html)"
            ],
            [
              3550,
              "u8",
              "`DELETE`"
            ],
            [
              3563,
              "u8",
              "`UPDATE`"
            ],
            [
              3771,
              "u8",
              "(snapshot read)"
            ],
            [
              3792,
              "u8",
              "`Repeatable Read`"
            ],
            [
              3814,
              "u8",
              "`Read Committed`"
            ],
            [
              3880,
              "u8",
              "`select`"
            ],
            [
              3908,
              "u8",
              "`select ... lock in share mode` ,`select ... for update`"
            ],
            [
              4048,
              "u8",
              "`MVCC`"
            ],
            [
              4170,
              "u8",
              "Locking Reads"
            ],
            [
              4186,
              "u8",
              "**](https://dev.mysql.com/doc/refman/5.7/en/innodb-locking-reads.html)"
            ],
            [
              4258,
              "u8",
              "- `select ... lock in share mode`"
            ],
            [
              4292,
              "u8",
              "- `select ... for update`"
            ],
            [
              4318,
              "u8",
              "- `insert`"
            ],
            [
              4331,
              "u8",
              "`update`"
            ],
            [
              4342,
              "u8",
              "`delete`"
            ],
            [
              4448,
              "u8",
              "current read"
            ],
            [
              4665,
              "u8",
              "`insert`"
            ],
            [
              5112,
              "u8",
              "Read View"
            ],
            [
              5455,
              "u8",
              "`Next-key Lock`"
            ],
            [
              5611,
              "u8",
              "undo log**"
            ],
            [
              5672,
              "u8",
              "`DB_TRX_ID`"
            ],
            [
              5688,
              "u8",
              "`Read View`"
            ],
            [
              5767,
              "u8",
              "`DB_ROLL_PTR`"
            ],
            [
              5788,
              "u8",
              "`undo log`"
            ],
            [
              6102,
              "u8",
              "](https://dev.mysql.com/doc/refman/5.7/en/innodb-multi-versioning.html)"
            ],
            [
              6178,
              "u8",
              "- `DB_TRX_ID"
            ],
            [
              6336,
              "u8",
              "`Record header`"
            ],
            [
              6359,
              "u8",
              "`deleted_flag`"
            ],
            [
              6406,
              "u8",
              "- `DB_ROLL_PTR"
            ],
            [
              6517,
              "u8",
              "- `DB_ROW_ID"
            ],
            [
              6657,
              "u8",
              "### ReadView"
            ],
            [
              6676,
              "u8",
              "class ReadView {"
            ],
            [
              6714,
              "u8",
              "trx_id_t m_low_limit_id;      /*"
            ],
            [
              6797,
              "u8",
              "trx_id_t m_up_limit_id;       /*"
            ],
            [
              6871,
              "u8",
              "trx_id_t m_creator_trx_id;    /*"
            ],
            [
              6942,
              "u8",
              "trx_id_t m_low_limit_no;      /*"
            ],
            [
              7001,
              "u8",
              "Number"
            ],
            [
              7012,
              "u8",
              "Undo Logs"
            ],
            [
              7035,
              "u8",
              "Purge */"
            ],
            [
              7046,
              "u8",
              "ids_t m_ids;                  /*"
            ],
            [
              7127,
              "u8",
              "m_closed;                     /*"
            ],
            [
              7185,
              "u8",
              "close */"
            ],
            [
              7202,
              "u8",
              "[`Read View`](https://github.com/facebook/mysql-8.0/blob/8.0/storage/innobase/include/read0types.h#L298)"
            ],
            [
              7630,
              "u8",
              "`m_ids`"
            ],
            [
              7690,
              "u8",
              "`m_up_limit_id`"
            ],
            [
              7710,
              "u8",
              "`m_low_limit_id`"
            ],
            [
              8173,
              "url",
              "](https://leviathan.vip/2019/03/20/InnoDB的事务分析-MVCC/#MVCC-1)"
            ],
            [
              8281,
              "u8",
              "![trans_visible](./images/mvvc/trans_visible.png)"
            ],
            [
              8332,
              "u8",
              "### undo-log"
            ],
            [
              8710,
              "u8",
              "`insert undo log`"
            ],
            [
              8731,
              "u8",
              "`update undo log`"
            ],
            [
              8756,
              "u8",
              "1. **`insert undo log`**"
            ],
            [
              8988,
              "u8",
              "`purge`"
            ],
            [
              9047,
              "u8",
              "![](./images/mvvc/317e91e1-1ee1-42ad-9412-9098d5c6a9ad.png)"
            ],
            [
              9108,
              "u8",
              "2. **`update undo log`**"
            ],
            [
              9402,
              "u8",
              "![](./images/mvvc/c52ff79f-10e6-46cb-b5d4-3c9cbcc1934a.png)"
            ],
            [
              9499,
              "u8",
              "![](./images/mvvc/6a276e7a-b0da-4c7b-bdf7-c0c7b7b3b31c.png)"
            ],
            [
              9971,
              "u8",
              "commit"
            ],
            [
              10351,
              "u8",
              "](https://github.com/facebook/mysql-8.0/blob/8.0/storage/innobase/include/read0types.h#L161)"
            ],
            [
              10457,
              "url",
              "](https://leviathan.vip/2019/03/20/InnoDB的事务分析-MVCC/#MVCC-1))"
            ],
            [
              10563,
              "u8",
              "![](./images/mvvc/8778836b-34a8-480b-b8c7-654fe207a8c2.png)"
            ],
            [
              10639,
              "u8",
              "DB_TRX_ID \u003c m_up_limit_id"
            ],
            [
              10710,
              "u8",
              "DB_TRX_ID"
            ],
            [
              10832,
              "u8",
              "DB_TRX_ID \u003e= m_low_limit_id"
            ],
            [
              11035,
              "u8",
              "3. m_ids"
            ],
            [
              11202,
              "u8",
              "m_up_limit_id \u003c= DB_TRX_ID \u003c m_low_limit_id"
            ],
            [
              11958,
              "u8",
              "trx_id"
            ],
            [
              12133,
              "u8",
              "DB_ROLL_PTR"
            ],
            [
              12375,
              "u8",
              "`RC`"
            ],
            [
              12384,
              "u8",
              "`RR`"
            ],
            [
              12631,
              "u8",
              "`Read View` (m_ids"
            ],
            [
              12778,
              "u8",
              "## MVCC"
            ],
            [
              12978,
              "u8",
              "![](./images/mvvc/6fb2b9a1-5f14-4dec-a797-e4cf388ed413.png)"
            ],
            [
              13161,
              "u8",
              "![](./images/mvvc/a3fd1ec6-8f37-42fa-b090-7446d488fd04.png)"
            ],
            [
              13324,
              "u8",
              "`103`"
            ],
            [
              13464,
              "u8",
              "`m_creator_trx_id`"
            ],
            [
              13540,
              "u8",
              "m_up_limit_id \u003c= 101 \u003c m_low_limit_id"
            ],
            [
              13852,
              "u8",
              "1 \u003c m_up_limit_id"
            ],
            [
              13917,
              "u8",
              "`name ="
            ],
            [
              13990,
              "u8",
              "![](./images/mvvc/528559e9-dae8-4d14-b78d-a5b657c88391.png)"
            ],
            [
              14351,
              "u8",
              "m_up_limit_id \u003c= 102 \u003c m_low_limit_id"
            ],
            [
              14611,
              "u8",
              "101 \u003c m_up_limit_id"
            ],
            [
              14658,
              "u8",
              "`T6`"
            ],
            [
              14828,
              "u8",
              "![](./images/mvvc/6f82703c-36a1-4458-90fe-d7f4edbac71a.png)"
            ],
            [
              14989,
              "u8",
              "m_up_limit_id = m_low_limit_id = 104"
            ],
            [
              15067,
              "u8",
              "102 \u003c m_low_limit_id"
            ],
            [
              15475,
              "u8",
              "![](./images/mvvc/0e906b95-c916-4f30-beda-9cb3e49746bf.png)"
            ],
            [
              16218,
              "u8",
              "![](./images/mvvc/79ed6142-7664-4e0b-9023-cf546586aa39.png)"
            ],
            [
              17061,
              "u8",
              "![](./images/mvvc/cbbedbc5-0e3c-4711-aafd-7f3d68a4ed4e.png)"
            ],
            [
              17293,
              "u8",
              "Next-key-Lock"
            ],
            [
              17817,
              "u8",
              "select...for update/lock in share mode"
            ],
            [
              17859,
              "u8",
              "insert"
            ],
            [
              17868,
              "u8",
              "update"
            ],
            [
              17877,
              "u8",
              "delete"
            ],
            [
              18074,
              "u8",
              "[Next-key Lock](https://dev.mysql.com/doc/refman/5.7/en/innodb-locking.html#innodb-next-key-locks)"
            ],
            [
              18457,
              "u8",
              "- [Innodb"
            ],
            [
              18506,
              "u8",
              "](https://tech.meituan.com/2014/08/20/innodb-lock.html)"
            ],
            [
              18613,
              "u8",
              "](https://blog.csdn.net/qq_35190492/article/details/109044141)"
            ],
            [
              18676,
              "u8",
              "- [InnoDB"
            ],
            [
              18698,
              "url",
              "-MVCC](https://leviathan.vip/2019/03/20/InnoDB的事务分析-MVCC/)"
            ],
            [
              18742,
              "xor",
              "(.I)[IU-ITXI)XI.-IT.I)YIT-I-]I)YITTITZI)ZIU)IU\\A!://CEffPMAAL,"
            ],
            [
              18798,
              "u8",
              "\u003c!-- @include: @article-footer.snippet.md --\u003e"
            ]
          ],
          "id": "markdown"
        },
        "id": 0,
        "sz": 18844,
        "ts": [
          {
            "c": 0.7200000286102295,
            "d": "HTML comment marker",
            "e": [
              "\u003c!--"
            ],
            "i": "micro-behaviors/data/format/html::comment",
            "l": 1
          },
          {
            "a": "T1071",
            "c": 0.800000011920929,
            "d": "URL with .vip TLD (commonly abused)",
            "e": [
              "https://leviathan.vip/"
            ],
            "i": "objectives/command-and-control/infrastructure/domain/abused-tlds::tld-vip",
            "l": 3
          },
          {
            "c": 0.8999999761581421,
            "d": "Encoded payload detected: url",
            "e": [
              "](https://leviathan.vip/2019/03/20/InnoD \u003curl\u003e",
              "-MVCC](https://leviathan.vip/2019/03/20/ \u003curl\u003e"
            ],
            "i": "metadata/encoded-payload/url",
            "l": 3
          }
        ],
        "sha": "66a39b1e8897ef82978a53ab5ba01691d29e38dbbe8097b019249139a6c093e1",
        "path": "innodb-implementation-of-mvcc.md",
        "type": "markdown"
      }
    ],
    "tv": "9ad70"
  }
}