{ "mysql": { "node_id": "mysql-5a1177c8ea254278855ed36089ddecd5", "keywords": [], "children": [ { "MySQL初阶": { "node_id": "mysql-a2097b15da334afeb39804bc57342da9", "keywords": [], "children": [ { "基本概念": { "node_id": "mysql-635d4c57d06a4e1abaecbd03d9f5e1ba", "keywords": [], "children": [ { "关系型数据库": { "node_id": "mysql-67b5ccfe50d34cf99c38d0e63f95c59e", "keywords": [ "关系型数据库", "database", "relational", "rdbms" ], "children": [], "keywords_must": [ "关系型数据库", "database", "relational", "rdbms" ], "keywords_forbid": [], "group": 0 } }, { "服务器和客户端": { "node_id": "mysql-86367300e7b643e18caf7b9349ab705a", "keywords": [ "server", "client", "数据库服务器", "数据库客户端" ], "children": [], "keywords_must": [ "服务器", "客户端" ], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "安装和登录": { "node_id": "mysql-c6fb4b9d5c13492289fd14d06911c1e5", "keywords": [], "children": [ { "数据库编码": { "node_id": "mysql-401a4084d56c4123afa3ced3aa0e5e98", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "安装": { "node_id": "mysql-95d0b7e5493e478f85ca49a77a13d194", "keywords": [ "安装", "PostgreSQL" ], "children": [], "keywords_must": [ "安装" ], "keywords_forbid": [], "group": 0 } }, { "登录": { "node_id": "mysql-932a42b96ee34177b3d980c30cbab717", "keywords": [ "登录", "身份验证", "授权" ], "children": [], "keywords_must": [ "登录" ], "keywords_forbid": [], "group": 0 } }, { "使用": { "node_id": "mysql-5720037d32894078aa03106e4d798984", "keywords": [ "login", "connect" ], "children": [], "keywords_must": [ "使用", "基本用法", "入门" ], "keywords_forbid": [], "group": 0 } }, { " 创建和删除数据库": { "node_id": "mysql-764d5080ddb943fe9236922984afa152", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "使用数据库": { "node_id": "mysql-ffe7d96945264633aa3ba54acd22b3a9", "keywords": [], "children": [ { "psql": { "node_id": "mysql-79f255c8025d4379b9782e445d37b8b5", "keywords": [ "sql", "psql", " 数据库客户端" ], "children": [], "keywords_must": [ "psql" ], "keywords_forbid": [], "group": 0 } }, { "SQL基本语法": { "node_id": "mysql-b1416d413b75470697201b9d6ffeebff", "keywords": [ "语法", "select" ], "children": [], "keywords_must": [ "语法", "SQL" ], "keywords_forbid": [], "group": 0 } }, { "SQL、DML和DDL": { "node_id": "mysql-d62d60e24fe14f049712c9db8cf25ea9", "keywords": [ "DML", "insert", "update", "delete" ], "children": [], "keywords_must": [ "DML", "DDL", "insert", "update", "delete" ], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "MySQL中阶": { "node_id": "mysql-4ccd6a9874f147bc9e5f368e3bd90850", "keywords": [], "children": [ { "基本结构": { "node_id": "mysql-eb03e9500ad143148847cd5130da4787", "keywords": [], "children": [ { "自增主键": { "node_id": "mysql-d2cdd250a5f24c8e9676e0fa1faf5772", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "视图": { "node_id": "mysql-98e926730d844f238dc9cd8ac5f65126", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "表": { "node_id": "mysql-0f0cd6ec82e343db95ed800a7d964cfc", "keywords": [ "表", "table" ], "children": [], "keywords_must": [ "表", "table" ], "keywords_forbid": [], "group": 0 } }, { "函数": { "node_id": "mysql-a6b27f219f3c47c981ed1dceffa8a1a6", "keywords": [ "函数", "function" ], "children": [], "keywords_must": [ "函数", "function" ], "keywords_forbid": [], "group": 0 } }, { "用户和权限": { "node_id": "mysql-d32f7bece92e436ba0a0eefd0bc4a86c", "keywords": [ "role", "login", "user", "用户", "角色", "权限", "privilege" ], "children": [], "keywords_must": [ "role", "login", "user", "用户", "角色", "权限", "privilege" ], "keywords_forbid": [], "group": 0 } }, { "索引和约束": { "node_id": "mysql-8bd217c396eb4f44b76cdb04c5d4674d", "keywords": [ "索引", " 约束", "constraints", "index" ], "children": [], "keywords_must": [ "索引", " 约束", "constraints", "index" ], "keywords_forbid": [], "group": 0 } }, { "存储引擎": { "node_id": "mysql-af89d54d66974111b4f67aeba2af7161", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " 触发器": { "node_id": "mysql-d1d26b008711441f82192c33e1fe4dd7", "keywords": [ "trigger", "触发器" ], "children": [], "keywords_must": [ "trigger", "触发器" ], "keywords_forbid": [], "group": 0 } }, { "存储引擎": { "node_id": "mysql-af89d54d66974111b4f67aeba2af7161", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " 查询": { "node_id": "mysql-ed0a3aa2ca704780ae72749842657fa7", "keywords": [], "children": [ { " WHERE": { "node_id": "mysql-2296dbe96d584a52bd28a3ad5f655518", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "CASE": { "node_id": "mysql-8e6cd4d5f4b446a2bc3f5402de9bd49c", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "DISTINCT": { "node_id": "mysql-153ce0dadc824af98de199f193c8c75c", "keywords": [ "distinct" ], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "ORDER BY": { "node_id": "mysql-fa20a81805b44975aed265dd058c542a", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "UNION": { "node_id": "mysql-b57b6c08f5f240c6a997284e4448f088", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "聚合和分组": { "node_id": "mysql-06b0b1a126e3440ab67e5ab103ef9e92", "keywords": [ "group by", "分组" ], "children": [ { " 计数": { "node_id": "mysql-ac3c072bc54749bdb82324f2b203890d", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " 求和": { "node_id": "mysql-c5654c150993418a96f692496837fbb7", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "最小值": { "node_id": "mysql-c1652108441c424197c0c3c526e4831c", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " 最大值": { "node_id": "mysql-77042376726743bea5c97e82a67a2016", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " 平均值": { "node_id": "mysql-11462fccf9d24d17a372d5c60af90f54", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "HAVING": { "node_id": "mysql-3b85e53dd88146798d21b7254ad85cae", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "WITH ROLLUP": { "node_id": "mysql-91829d4938034ce09e99badf23dbebf6", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [ "group by", "分组", "聚合" ], "keywords_forbid": [], "group": 0 } }, { "连接查询": { "node_id": "mysql-e12eca4c9358429f9222a3f32e1798f6", "keywords": [ "join", "连接查询" ], "children": [ { "INNER JOIN": { "node_id": "mysql-73bfbd883511436c85130b71fa108038", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " LEFT JOIN": { "node_id": "mysql-d7a8869fb798498c839c913ce930015d", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " RIGHT JOIN": { "node_id": "mysql-7c2331eea3e84eef9464ad4d7c03e2de", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " CROSS JOIN": { "node_id": "mysql-fd27af20b046463eac7b2712885ac018", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " 复杂连接": { "node_id": "mysql-a4773004e0cf432aa7ccdf6b9490838f", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [ "join", "连接查询" ], "keywords_forbid": [], "group": 0 } }, { "子查询": { "node_id": "mysql-787937c95738421ba7b1d5b8aafe55d0", "keywords": [ "子查询", "subquery" ], "children": [ { "ANY": { "node_id": "mysql-6bb279fa10fa4633a3af51ff7001f5ce", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "ALL": { "node_id": "mysql-87c2d9bc921643aabfd1b12b964ef557", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "EXISTS": { "node_id": "mysql-6c6789b86f714acaa76467fdf9623191", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "NOT EXISTS": { "node_id": "mysql-19bc57db42bd4615ba4f123745289407", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " IN": { "node_id": "mysql-8436069c855c4f1ead7cf11a026e004b", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " NOT IN": { "node_id": "mysql-06525286a9d4488d94e85b6bd36e3c1e", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " 列子查询": { "node_id": "mysql-7bc092b1b1854dd3b88eed3a517b96a2", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [ "子查询", "subquery" ], "keywords_forbid": [], "group": 0 } }, { "分页查询": { "node_id": "mysql-da7b258f8b0b4597924737902a5018d3", "keywords": [ "分页", "limit", "offset" ], "children": [], "keywords_must": [ "分页", "limit", "offset" ], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "MySQL高阶": { "node_id": "mysql-fba12490eaea4ed8b50866f878896338", "keywords": [], "children": [ { "生成列": { "node_id": "mysql-d3611482eecd4055816df4b1dd9ff90d", "keywords": [], "children": [ { "创建生成列": { "node_id": "mysql-5ad1d51a05444926ab17e9868e02415b", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "修改生成列": { "node_id": "mysql-75854dcb83984276b11cca6f5a39a18c", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "删除生成列": { "node_id": "mysql-1f86031fd0414f67b5e37e9fce981397", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "索引": { "node_id": "mysql-5b56965051d342849d665acb5f55a734", "keywords": [], "children": [ { "普通索引": { "node_id": "mysql-5b21eb9eb2f446288d80c6bd65a6416f", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "唯一索引": { "node_id": "mysql-db7153c698e8442eb5f71e8ec2f2e6cd", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "SQL高级技巧": { "node_id": "mysql-0cc4dd0b6c024a9e92abb4226bf7ff79", "keywords": [], "children": [ { "递归查询": { "node_id": "mysql-753300de6ef94af7be40fb91a05421a6", "keywords": [ "cte", "递归查询", "recursive" ], "children": [], "keywords_must": [ "cte", "递归查询", "recursive" ], "keywords_forbid": [], "group": 0 } }, { "Window Function": { "node_id": "mysql-0f7b5745d0b44251a678bbd2bbee5f2e", "keywords": [ "函数", "function" ], "children": [], "keywords_must": [ "函数", "function", "window" ], "keywords_forbid": [], "group": 0 } }, { "透视表 ": { "node_id": "mysql-88200dcbd2e848a5a1d74c086d8abe57", "keywords": [ "透视表", "交叉透视表", "pivot" ], "children": [], "keywords_must": [ "透视表", "交叉透视表", "pivot" ], "keywords_forbid": [], "group": 0 } }, { "写入和冲突": { "node_id": "mysql-f9f2ae841cf14d079c8433c833d3396d", "keywords": [ "conflict", "冲突", "唯一约束" ], "children": [], "keywords_must": [ "conflict", "冲突" ], "keywords_forbid": [], "group": 0 } }, { "事务": { "node_id": "mysql-a00dadd0e1e945e597adcd2b71452e07", "keywords": [ "事务", "transaction" ], "children": [], "keywords_must": [ "事务", "transaction" ], "keywords_forbid": [], "group": 0 } }, { "索引和优化": { "node_id": "mysql-7745c930b53c48d18afb4ba14e0510a7", "keywords": [ "索引", "index", "performance", "优化" ], "children": [], "keywords_must": [ "索引", "index", "performance", "优化" ], "keywords_forbid": [], "group": 0 } }, { " 游标": { "node_id": "mysql-459fd14ff096438d9b6460270bec4754", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " 过程化编程": { "node_id": "mysql-918d2ed90a1546e1aab23036eee5539a", "keywords": [], "children": [ { "IF": { "node_id": "mysql-d7f86bc2fcbb4b83a11f2ed73bde7ac0", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "LOOP": { "node_id": "mysql-8ef7f9a1bba04bd782d80e9459446228", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "LEAVE": { "node_id": "mysql-2f35dac71e6e42b189f7615fcf27a4e6", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "ITERATE": { "node_id": "mysql-cf916e42a060467ab25b16112780f246", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "REPEAT": { "node_id": "mysql-923c7bbf96cf4630a5dfb36f15e62d24", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "WHILE": { "node_id": "mysql-8bbe6f55f32b4a4a8a6011c5748b36fa", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "运维与架构": { "node_id": "mysql-1312f53e4f41430bab7873901dd64433", "keywords": [], "children": [ { "视图的维护": { "node_id": "mysql-95a29a6a448849029d548393bbdf283e", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "物化视图": { "node_id": "mysql-9e6db7d333c348c99d943774664792a7", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "触发器的维护": { "node_id": "mysql-72119f005a874aa2a67095952040f45f", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "查询优化": { "node_id": "mysql-310130dd922d4e2b832891cc0e157cbf", "keywords": [], "children": [ { " SHOW STATUS": { "node_id": "mysql-3574b2e5c9ca475789d9d582d7726906", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " EXPLAIN": { "node_id": "mysql-a42f617d4eb54aabbc649bdde4485117", "keywords": [ "explain" ], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " SHOW PROFILE": { "node_id": "mysql-f0b12126dd3e4be09010a308a822bc32", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { " PT-QUERY-DIGEST分析查询": { "node_id": "mysql-626f1ca763b344558b3a5eefdb4885a2", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } }, { "子查询优化": { "node_id": "mysql-4d5cfac3820648ffbe0b382898d9cf26", "keywords": [], "children": [], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } } ], "keywords_must": [], "keywords_forbid": [], "group": 0 } }