{"id":14972077,"url":"https://github.com/diguage/mysql-notes","last_synced_at":"2025-05-16T10:06:25.772Z","repository":{"id":148167874,"uuid":"81306866","full_name":"diguage/mysql-notes","owner":"diguage","description":"MySQL 学习笔记","archived":false,"fork":false,"pushed_at":"2025-03-12T09:31:43.000Z","size":17275,"stargazers_count":282,"open_issues_count":7,"forks_count":81,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-04-06T11:07:24.206Z","etag":null,"topics":["distributed-database","distributed-storage","distributed-systems","distributed-transactions","mysql","mysql-database","mysql-server","transaction-management"],"latest_commit_sha":null,"homepage":"https://www.diguage.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diguage.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-08T08:37:56.000Z","updated_at":"2025-03-12T09:31:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"758b3117-728c-4ad1-a0b9-1dab63a467e2","html_url":"https://github.com/diguage/mysql-notes","commit_stats":{"total_commits":104,"total_committers":4,"mean_commits":26.0,"dds":"0.13461538461538458","last_synced_commit":"b4361783c2b706c81ed37ddf564113aa304fafdb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diguage%2Fmysql-notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diguage%2Fmysql-notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diguage%2Fmysql-notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diguage%2Fmysql-notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diguage","download_url":"https://codeload.github.com/diguage/mysql-notes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509476,"owners_count":22082891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["distributed-database","distributed-storage","distributed-systems","distributed-transactions","mysql","mysql-database","mysql-server","transaction-management"],"created_at":"2024-09-24T13:46:21.250Z","updated_at":"2025-05-16T10:06:25.734Z","avatar_url":"https://github.com/diguage.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"= MySQL 学习笔记^Alpha^\nD瓜哥 \u003chttps://www.diguage.com/\u003e\nv0.1.0, 2016-12-11\n\nifdef::env-github[]\n:tip-caption: :bulb:\n:note-caption: :information_source:\n:important-caption: :heavy_exclamation_mark:\n:caution-caption: :fire:\n:warning-caption: :warning:\nendif::[]\n\n\nD瓜哥的 MySQL 学习笔记。\n\nGithub 对 Asciidoctor 的支持不是特别完善，另外很多人可能没有处理 Asciidoc 的工具。所以，D瓜哥把该文档处理后发布出来了。查看该文档内容请看下面官网。\n\n*该笔记官网： https://notes.diguage.com/mysql/[^] 。*\n\n该笔记尚未完成，后续还会持续增加新内容。敬请关注！\n\n== 文档来源\n\n本文档可以看作是 D瓜哥 学习《高性能MySQL》时，做的读书笔记。为了让内容更丰富易懂，还参考了《MySQL技术内幕》和《数据库索引设计与优化》。\n\n本文档暂时只关注开发人员眼中的 MySQL。所以，内容暂时只覆盖数据库设计、索引及其数据结构和查询优化三块内容。其他内容视情况再做补充。\n\n== 友情支持\n\n如果您觉得这个笔记对您有所帮助，看在D瓜哥码这么多字的辛苦上，请友情支持一下，D瓜哥感激不尽，😜\n\n[cols=\"2*^\",frame=none]\n|===\n| image:assets/images/alipay.png[title=\"支付宝\", alt=\"支付宝\", width=\"85%\", align=\"center\"]\n| image:assets/images/wxpay.jpg[title=\"微信\", alt=\"微信\", width=\"85%\", align=\"center\"]\n|===\n\n有些打赏的朋友希望可以加个好友，欢迎关注D瓜哥的微信公众号，这样就可以通过公众号的回复直接给我发信息。\n\nimage::assets/images/wx-jikerizhi.png[title=\"微信公众号：jikerizhi\", alt=\"微信公众号：jikerizhi\",width=\"98%\",align=\"center\"]\n\nTIP: **公众号的微信号是: jikerizhi**。__因为众所周知的原因，有时图片加载不出来。如果图片加载不出来可以直接通过搜索微信号来查找我的公众号。__\n\n== 亟需完善的内容\n\n. 事务的实现原理 -- OK\n. 分形树（抱歉，我还没搞懂）\n. 索引优化实践\n. 索引优化实际案例分析\n. 分布式数据库\n.. 分库分表\n.. NewSQL\n.. 分布式事务\n\n== 免责声明\n\n本文档绝大部分内容是针对 MySQL 5.5 的，随着 MySQL 的发展，部分的内容可能会过时。所以，如有错误之处，还请以相应版本的官方文档为准！\n\n本文档部分的内容可能会过时！\n\n本文档部分的内容可能会过时！\n\n本文档部分的内容可能会过时！\n\n参考使用时，还请格外注意！\n\n由于本文档造成的任何问题以及损失，D瓜哥本人概不负责！\n\n== 参考书籍\n\n更多参考资料，请查看文档最末尾的“参考资料”章节。这里只列出最重要的参考书籍。\n\n* https://book.douban.com/subject/23008813/[高性能MySQL^]\n* https://book.douban.com/subject/24708143/[MySQL技术内幕^]\n* https://book.douban.com/subject/26419771/[数据库索引设计与优化^]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiguage%2Fmysql-notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiguage%2Fmysql-notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiguage%2Fmysql-notes/lists"}