提交 4a56d7c8 编写于 作者: L luxin

update node_knowledge_mapping

上级 ea622de0
node_id,text,book_text,xx,tree_name,category
mysql-8e971f3c569a4e56bb83b5d75a2a425f,mysql初阶-关系型数据库-数据库基本概念,第1篇 MySQL基础,,mysql,blog
mysql-8e971f3c569a4e56bb83b5d75a2a425f,mysql初阶-关系型数据库-数据库基本概念,第2章 数据库技术,,mysql,blog
mysql-8e971f3c569a4e56bb83b5d75a2a425f,mysql初阶-关系型数据库-数据库基本概念,2.1 数据库系统,125069431,mysql,blog
mysql-8e971f3c569a4e56bb83b5d75a2a425f,mysql初阶-关系型数据库-数据库基本概念,2.2 SQL语言,125069469,mysql,blog
mysql-8e971f3c569a4e56bb83b5d75a2a425f,mysql初阶-关系型数据库-数据库基本概念,3.1 MySQL三大范式,125069703,mysql,blog
mysql-764d5080ddb943fe9236922984afa152,mysql初阶-使用数据库-创建和删除数据库,7.1 创建数据库,125071084,mysql,blog
mysql-764d5080ddb943fe9236922984afa152,mysql初阶-使用数据库-创建和删除数据库,7.2 查看数据库,125071098,mysql,blog
mysql-764d5080ddb943fe9236922984afa152,mysql初阶-使用数据库-创建和删除数据库,7.3 修改数据库名称,125071106,mysql,blog
mysql-764d5080ddb943fe9236922984afa152,mysql初阶-使用数据库-创建和删除数据库,7.4 数据库编码,125071116,mysql,blog
mysql-764d5080ddb943fe9236922984afa152,mysql初阶-使用数据库-创建和删除数据库,7.5 删除数据库,125071124,mysql,blog
mysql-426b0b1e04a4462e984ee77ca536f916,mysql初阶-使用数据库-表,8.1 创建数据表,125071140,mysql,blog
mysql-426b0b1e04a4462e984ee77ca536f916,mysql初阶-使用数据库-表,8.2 查看数据表结构,125071149,mysql,blog
mysql-426b0b1e04a4462e984ee77ca536f916,mysql初阶-使用数据库-表,8.3 修改数据表,125071160,mysql,blog
mysql-426b0b1e04a4462e984ee77ca536f916,mysql初阶-使用数据库-表,8.4 删除数据表,125071173,mysql,blog
mysql-0f0cd6ec82e343db95ed800a7d964cfc,mysql中阶-数据库组成-表,8.5 MySQL中的临时表,125071187,mysql,blog
mysql-1418d1a710ab4e7c8cacb0bad047179e,mysql初阶-数据类型-数值类型,9.1 数值类型,125071216,mysql,blog
mysql-7256fe88bcf241d486c9e2e254ef66d9,mysql初阶-数据类型-日期和时间类型,9.2 日期和时间类型,125071230,mysql,blog
mysql-27ff66e31d3d4118977cbbc04da6887e,mysql初阶-数据类型-文本字符串类型,9.3 文本字符串类型,125071237,mysql,blog
mysql-ec8f22f2c63a4f27bd12815644d0f3db,mysql初阶-数据类型-二进制字符串类型,9.4 二进制字符串类型,125071245,mysql,blog
mysql-8f2aac71ea494f1b84372d43aa436135,mysql初阶-数据查询-运算符,10.1 算术运算符,125070037,mysql,blog
mysql-8f2aac71ea494f1b84372d43aa436135,mysql初阶-数据查询-运算符,10.2 比较运算符,125070057,mysql,blog
mysql-8f2aac71ea494f1b84372d43aa436135,mysql初阶-数据查询-运算符,10.3 逻辑运算符,125070081,mysql,blog
mysql-8f2aac71ea494f1b84372d43aa436135,mysql初阶-数据查询-运算符,10.4 位运算符,125070092,mysql,blog
mysql-8f2aac71ea494f1b84372d43aa436135,mysql初阶-数据查询-运算符,10.5 运算符的优先级,125070113,mysql,blog
mysql-07b85d4c87c84a62a9b55299250cd9a3,mysql初阶-数据查询-函数,11.2 数学函数,125070168,mysql,blog
mysql-07b85d4c87c84a62a9b55299250cd9a3,mysql初阶-数据查询-函数,11.3 字符串函数,125070182,mysql,blog
mysql-07b85d4c87c84a62a9b55299250cd9a3,mysql初阶-数据查询-函数,11.4 日期和时间函数,125070194,mysql,blog
mysql-07b85d4c87c84a62a9b55299250cd9a3,mysql初阶-数据查询-函数,11.5 流程处理函数,125070210,mysql,blog
mysql-07b85d4c87c84a62a9b55299250cd9a3,mysql初阶-数据查询-函数,11.6 加密与解密函数,125070221,mysql,blog
mysql-07b85d4c87c84a62a9b55299250cd9a3,mysql初阶-数据查询-函数,11.7 聚合函数,125070232,mysql,blog
mysql-39c24ef50f5a48b2a0130260485980b1,mysql高阶-深入函数-mysql信息相关,11.8 获取MySQL信息函数,125070240,mysql,blog
mysql-e5c47aa105c5484c8871825dd622cc5e,mysql高阶-深入函数-锁相关,11.9 加锁与解锁函数,125070256,mysql,blog
mysql-2adc9f3d02b54abc893f288140109118,mysql高阶-深入函数-json函数,11.10 JSON函数,125070278,mysql,blog
mysql-5ccb985581644784ae82118849bc241c,mysql高阶-深入函数-窗口函数,11.11 窗口函数,125070293,mysql,blog
mysql-f2fe15b77d5d4ecb92e2840e8b831af2,mysql高阶-深入函数-其它函数,11.12 MySQL的其他函数,125070307,mysql,blog
mysql-fcca525ab0f04f16834ded9b2b3f38a4,mysql初阶-数据修改-插入,12.1 数据插入,125070343,mysql,blog
mysql-3cae643e21644d6d937d69b59014922f,mysql初阶-数据修改-删除,12.3 数据删除,125070376,mysql,blog
mysql-f5527eae7f3148108c92ff99a6d4ed4a,mysql初阶-数据查询-select,13.2 SELECT查询语句,125070424,mysql,blog
mysql-91cc9c73e58945d3ba654370a057a1c7,mysql初阶-数据查询-where,13.3 WHERE条件语句,125070437,mysql,blog
mysql-b57b6c08f5f240c6a997284e4448f088,mysql中阶-查询-union,13.7 UNION联合语句,125070503,mysql,blog
mysql-1d350c6226d443bdb76b5058d8ee23e7,mysql中阶-查询-别名,13.8 使用别名查询数据,125070514,mysql,blog
mysql-e6cbbff27cd04bc0b61ebbb3ef27d4b2,mysql中阶-查询-正则表达式,13.9 使用正则表达式查询数据,125070529,mysql,blog
mysql-bf629829370d405cbfcd5aa83adb536a,mysql中阶-索引-索引入门,14.1 索引简介,125070565,mysql,blog
mysql-bf629829370d405cbfcd5aa83adb536a,mysql中阶-索引-索引入门,14.2 索引的使用场景,125070580,mysql,blog
mysql-fe65d5c615ad40f8ac056cc654f2d788,mysql中阶-索引-创建索引,14.3 创建数据表时创建索引,125070595,mysql,blog
mysql-fe65d5c615ad40f8ac056cc654f2d788,mysql中阶-索引-创建索引,14.4 为已有数据表添加索引,125070611,mysql,blog
mysql-85ba0df78d754b00b30aa8e74ad35d06,mysql中阶-索引-删除索引,14.5 删除索引,125070622,mysql,blog
mysql-bf629829370d405cbfcd5aa83adb536a,mysql中阶-索引-索引入门,14.6 隐藏索引,125070632,mysql,blog
mysql-bf629829370d405cbfcd5aa83adb536a,mysql中阶-索引-索引入门,14.7 降序索引,125070649,mysql,blog
mysql-157170c2c7454b3ca78a4f7f7f6f3739,mysql高阶-深入索引-函数索引,14.8 函数索引,125070670,mysql,blog
mysql-95a29a6a448849029d548393bbdf283e,mysql中阶-视图-视图的基本概念,15.1 视图概述,125070689,mysql,blog
mysql-9339ebb389474492a0ba2c2ff29e78fb,mysql中阶-视图-创建视图,15.2 创建视图,125070703,mysql,blog
mysql-95a29a6a448849029d548393bbdf283e,mysql中阶-视图-视图的基本概念,15.3 查看视图,125070713,mysql,blog
mysql-3a51b0740b704d92a534335a7a8dfd6e,mysql中阶-视图-修改视图,15.4 修改视图的结构,125070726,mysql,blog
mysql-36171582b8324dc98ff16d9b0cac406d,mysql中阶-视图-删除视图,15.6 删除视图,125070749,mysql,blog
mysql-0666cae9faaa41b7b2413063e1214edd,mysql中阶-存储过程和函数-存储过程和函数简介,16.1 存储过程和函数简介,125070780,mysql,blog
mysql-101770860dbe48ad92566d296809b34d,mysql中阶-存储过程和函数-创建存储过程和函数,16.2 创建存储过程和函数,125070791,mysql,blog
mysql-5af12dac5321409baa0479ba2824e0bf,mysql中阶-存储过程和函数-查看存储过程和函数,16.3 查看存储过程和函数,125070803,mysql,blog
mysql-9d19fedcc1fd48c9a450e71403b9099f,mysql中阶-存储过程和函数-修改存储过程和函数,16.4 修改存储过程和函数,125070812,mysql,blog
mysql-2fd94590dfca4068bc713bbf132f8653,mysql中阶-存储过程和函数-调用存储过程和函数,16.5 调用存储过程和函数,125070821,mysql,blog
mysql-24789b2078dc4f44b8ad150ce571314e,mysql中阶-存储过程和函数-删除存储过程和函数,16.6 删除存储过程和函数,125070837,mysql,blog
mysql-cece7ee8078441a6a032cf1a71cac21c,mysql中阶-存储过程和函数-变量,16.7 MySQL中使用变量,125070851,mysql,blog
mysql-cece7ee8078441a6a032cf1a71cac21c,mysql中阶-存储过程和函数-变量,16.8 MySQL中使用变量案例,125070864,mysql,blog
mysql-459fd14ff096438d9b6460270bec4754,mysql高阶-过程化编程-游标,16.12 MySQL中游标的使用案例,125070899,mysql,blog
mysql-459fd14ff096438d9b6460270bec4754,mysql高阶-过程化编程-游标,16.13 MySQL中控制流程的使用,125070907,mysql,blog
mysql-6724aaaef7d3404fb06d322f9d9534ed,mysql中阶-触发器-创建触发器,17.1 创建触发器,125070935,mysql,blog
mysql-ec8ee43f3a6340638362d38157fbc66b,mysql中阶-触发器-查看触发器,17.2 查看触发器,125070942,mysql,blog
mysql-876f66d6f6404fe8813a932df024cb5d,mysql中阶-触发器-删除触发器,17.3 删除触发器,125070959,mysql,blog
mysql-ac73930a15c149b9ba0b250e46a109e2,mysql高阶-运维与架构-分区,18.1 分区介绍,125070968,mysql,blog
mysql-ac73930a15c149b9ba0b250e46a109e2,mysql高阶-运维与架构-分区,18.2 RANGE分区,125070980,mysql,blog
mysql-ac73930a15c149b9ba0b250e46a109e2,mysql高阶-运维与架构-分区,18.3 LIST分区,125070987,mysql,blog
mysql-ac73930a15c149b9ba0b250e46a109e2,mysql高阶-运维与架构-分区,18.4 COLUMNS分区,125070997,mysql,blog
mysql-ac73930a15c149b9ba0b250e46a109e2,mysql高阶-运维与架构-分区,18.5 HASH分区,125071009,mysql,blog
mysql-ac73930a15c149b9ba0b250e46a109e2,mysql高阶-运维与架构-分区,18.6 KEY分区,125071016,mysql,blog
mysql-ac73930a15c149b9ba0b250e46a109e2,mysql高阶-运维与架构-分区,18.7 子分区,125071030,mysql,blog
mysql-ac73930a15c149b9ba0b250e46a109e2,mysql高阶-运维与架构-分区,18.8 分区中的NULL值处理,125071036,mysql,blog
mysql-753300de6ef94af7be40fb91a05421a6,mysql高阶-sql高级技巧-cte和递归查询,19.1 公用表表达式,125071054,mysql,blog
mysql-d3611482eecd4055816df4b1dd9ff90d,mysql高阶-设计优化-生成列,19.2 生成列,125071065,mysql,blog
mysql-3574b2e5c9ca475789d9d582d7726906,mysql高阶-查询优化-showstatus,20.1 SHOW STATUS语句解析,125071261,mysql,blog
mysql-a42f617d4eb54aabbc649bdde4485117,mysql高阶-查询优化-explain,20.2 EXPLAIN语句解析,125071266,mysql,blog
mysql-f0b12126dd3e4be09010a308a822bc32,mysql高阶-查询优化-showprofile,20.3 SHOW PROFILE语句解析,125071271,mysql,blog
mysql-626f1ca763b344558b3a5eefdb4885a2,mysql高阶-查询优化-pt-query-digest分析查询,20.4 pt-query-digest分析查询,125071281,mysql,blog
mysql-4d5cfac3820648ffbe0b382898d9cf26,mysql高阶-查询优化-子查询优化,20.5 优化子查询,125071288,mysql,blog
mysql-5b21eb9eb2f446288d80c6bd65a6416f,mysql高阶-深入索引-索引概述,21.1 索引的类型,125071304,mysql,blog
mysql-5b21eb9eb2f446288d80c6bd65a6416f,mysql高阶-深入索引-索引概述,21.2 使用索引的场景,125071315,mysql,blog
mysql-5b21eb9eb2f446288d80c6bd65a6416f,mysql高阶-深入索引-索引概述,21.3 无法使用索引的场景,125071324,mysql,blog
mysql-5b21eb9eb2f446288d80c6bd65a6416f,mysql高阶-深入索引-索引概述,21.4 使用索引提示,125071334,mysql,blog
mysql-9f8881b9f30544149327af68e3007603,mysql高阶-深入索引-json索引,21.5 使用生成列为JSON建立索引,125071347,mysql,blog
mysql-4381bed0477f412e80f0509b0e2bb3f9,mysql高阶-查询优化-嵌套查询,22.1 嵌套查询的优化,125071363,mysql,blog
mysql-c140ce4a6f0a4557a3a5ce0b471fd6da,mysql高阶-查询优化-orderby优化,22.3 ORDER BY语句的优化,125071378,mysql,blog
mysql-66fc4566eaf34994b072ca83bf79ceb4,mysql高阶-查询优化-groupby优化,22.4 GROUP BY语句的优化,125071389,mysql,blog
mysql-6e063c40f1ba485288eba2376097b79c,mysql高阶-查询优化-分页查询优化,22.5 分页查询的优化,125071395,mysql,blog
mysql-4e93793f51a24f0eb00f7824ecc8929b,mysql高阶-写优化-插入优化,22.6 插入数据的优化,125071403,mysql,blog
mysql-ff4222264013437da2214ff77ca92961,mysql高阶-写优化-删除优化,22.7 删除数据的优化,125071415,mysql,blog
mysql-3e4c837b471c454c90bfbc32445f2780,mysql高阶-设计优化-反范式设计,23.3 反范式化设计,125071458,mysql,blog
mysql-a2ddae1b044149ecbb74db3b6eb32721,mysql高阶-设计优化-增加中间表,23.4 增加中间表,125071476,mysql,blog
mysql-cde6eae01784468fa0171ff3042f221f,mysql高阶-设计优化-分析数据表,23.5 分析数据表,125071485,mysql,blog
mysql-fbcc654d6a86452aa349d2ed6003adb6,mysql高阶-设计优化-检查数据表,23.6 检查数据表,125071504,mysql,blog
mysql-f5775462ae784d44a4b2bce5f456311a,mysql高阶-设计优化-优化数据表,23.7 优化数据表,125071512,mysql,blog
mysql-ccb6fcf2983b4b3e8b37abbcbc776f21,mysql高阶-设计优化-拆分数据表,23.8 拆分数据表,125071522,mysql,blog
mysql-6d4f4d7aecfb4546a8163256859562e1,mysql高阶-服务器优化-配置项优化,24.2 MySQL配置项的优化,125071549,mysql,blog
mysql-36d638345c1949f7bb032baf8d9f996e,mysql高阶-服务器优化-performance_schema,26.1 使用performance_schema数据库分析MySQL,125071607,mysql,blog
mysql-3d5c8647b1674de18c8348454d16fee5,mysql高阶-服务器优化-sys数据库,26.2 使用sys数据库分析MySQL,125071615,mysql,blog
mysql-343463029f6d41068885687f4dd8bfbd,mysql初阶-命令行工具-mysql,27.2 mysql命令,125071650,mysql,blog
mysql-daca74b56aca48cea2da14078b518051,mysql初阶-命令行工具-mysqladmin,27.3 mysqladmin命令,125071666,mysql,blog
mysql-b34e3244a8ba4166bd22bc4fe5f7d8db,mysql初阶-命令行工具-myisampack,27.4 myisampack命令,125071673,mysql,blog
mysql-fe9caf0e07a94efc8b7c8f2a4c683efe,mysql初阶-命令行工具-mysqlbinlog,27.5 mysqlbinlog命令,125071680,mysql,blog
mysql-d9cdafd993bf41bbb860e5087dd54bd1,mysql初阶-命令行工具-mysqlcheck,27.6 mysqlcheck命令,125071690,mysql,blog
mysql-430b0de67c294d64aff35c85fec8393e,mysql初阶-命令行工具-mysqlshow,27.7 mysqlshow命令,125071705,mysql,blog
mysql-a4998d140f024982989ed4647c78ba65,mysql初阶-命令行工具-mysqldump,27.8 mysqldump命令,125071717,mysql,blog
mysql-e782e10839d843c0ad36a05ae7d0366f,mysql初阶-命令行工具-mysqlimport,27.9 mysqlimport命令,125071727,mysql,blog
mysql-4964024c989c4346861b67ae013d746c,mysql中阶-mysql日志-查询日志,28.1 查询日志,125069479,mysql,blog
mysql-6f74222f9e3d422c87b6b2dd30c2cc80,mysql中阶-mysql日志-慢查询日志,28.2 慢查询日志,125071750,mysql,blog
mysql-7645195ec078406c9303d39ea9c3738c,mysql中阶-mysql日志-错误日志,28.3 错误日志,125071760,mysql,blog
mysql-ab25d57bc9704572bc3c54abb83b769b,mysql中阶-mysql日志-二进制日志,28.4 二进制日志,125071772,mysql,blog
mysql-c9a8e4223b6c47efb08e2015f7570317,mysql中阶-备份与恢复-mysqldump,29.1 基于mysqldump备份并恢复数据,125071788,mysql,blog
mysql-40cf0134521849d891d6135e2316491a,mysql中阶-备份与恢复-mysqldumper,29.3 基于mydumper备份并恢复数据,125071802,mysql,blog
mysql-0b976462e6314fa499a9f086c0eded8f,mysql中阶-备份与恢复-mysqlhotcopy,29.4 基于mysqlhotcopy备份并恢复数据,125071815,mysql,blog
mysql-6064766016164bfebb475090c0979d2a,mysql中阶-备份与恢复-xtrabackup,29.5 基于xtrabackup备份并恢复数据,125071820,mysql,blog
mysql-76b4d2f260f94ea1a6692d5a8dab2709,mysql中阶-备份与恢复-灾难恢复,29.7 MySQL灾难恢复,125071839,mysql,blog
mysql-3c8b76e8fa914a7a87c74f511fd39680,mysql中阶-备份与恢复-自动备份,29.8 实现数据库的自动备份,125071853,mysql,blog
mysql-e2eefb85984643f8adb95f4eee16bc8f,mysql中阶-备份与恢复-数据导入和导出,29.9 导出数据,125071862,mysql,blog
mysql-e2eefb85984643f8adb95f4eee16bc8f,mysql中阶-备份与恢复-数据导入和导出,29.10 导入数据,125071873,mysql,blog
mysql-1d0dd362995d4ee0b59e9e8d2e918d5f,mysql中阶-用户和权限-权限表,30.1 MySQL中的权限表,125071901,mysql,blog
mysql-25808aa5b4ba4e78bd3dc59e09b403ed,mysql中阶-用户和权限-创建普通用户,30.2 创建普通用户,125071906,mysql,blog
mysql-291ab4c99fa945ae8629b1956bc1ecc9,mysql中阶-用户和权限-为用户授权,30.3 为用户授权,125071915,mysql,blog
mysql-d2b788a8200140a693297356c02ce872,mysql中阶-用户和权限-查看用户权限,30.4 查看用户权限,125071930,mysql,blog
mysql-ae1794fcc925471cb8b1972cbfbf2951,mysql中阶-用户和权限-修改用户权限,30.5 修改用户权限,125071941,mysql,blog
mysql-d47605d2cb134cdc98e6fbefc0651e8f,mysql中阶-用户和权限-撤销用户权限,30.6 撤销用户权限,125071951,mysql,blog
mysql-12a66fd74a2741bbbfc0df7a59801123,mysql中阶-用户和权限-修改用户密码,30.7 修改用户密码,125071965,mysql,blog
mysql-0bb8146d9ee54ff6934e45ce4e3b2f99,mysql中阶-用户和权限-删除用户,30.8 删除用户,125071977,mysql,blog
mysql-ab80d0d8af69427ab91a65b89de7e30c,mysql中阶-用户和权限-限制用户使用资源,30.9 限制用户使用资源,125071988,mysql,blog
mysql-8689980164b1428c865cf33ad889a088,mysql中阶-用户和权限-mysql8的账户管理,30.10 MySQL 8.x版本中的账户管理,125072005,mysql,blog
mysql-cc8606a40aac43cb8b063a65f51e4df1,mysql高阶-运维与架构-主从复制,31.1 搭建MySQL主从复制环境,125072022,mysql,blog
mysql-91ba7f7a6b684b8aad01abd583cf0442,mysql高阶-运维与架构-多主复制,31.2 搭建MySQL主主复制环境,125072032,mysql,blog
mysql-1c778aa1adfd43d4ac9da32df9e44238,mysql高阶-运维与架构-添加从库,31.3 添加MySQL从库,125072041,mysql,blog
mysql-88333dcb84a946a78bfd9f413c6e795b,mysql高阶-运维与架构-从主从复制到链式复制,31.4 切换主从复制到链式复制,125072051,mysql,blog
mysql-2f6f847907d4415788e98d2f70f64d3c,mysql高阶-运维与架构-从链式复制到主从复制,31.5 切换链式复制到主从复制,125072062,mysql,blog
mysql-5026c95794f44de081e2aefd3af8bb32,mysql高阶-运维与架构-多源复制,31.6 搭建MySQL多源复制环境,125072076,mysql,blog
mysql-b3cba2e9c7ea46d5beeb1948b41a74d5,mysql高阶-运维与架构-复制过滤器,31.7 添加复制过滤器,125072088,mysql,blog
mysql-9dee640902204fcbbe780c0f04bc7c18,mysql高阶-运维与架构-延迟复制,31.8 设置延迟复制,125072098,mysql,blog
mysql-cc8606a40aac43cb8b063a65f51e4df1,mysql高阶-运维与架构-主从复制,31.9 基于GTID搭建MySQL主从复制环境,125072109,mysql,blog
mysql-cc8606a40aac43cb8b063a65f51e4df1,mysql高阶-运维与架构-主从复制,31.10 基于半同步模式搭建MySQL主从复制环境,125072122,mysql,blog
mysql-f4d43d35c4c846baa2761d02fff5b09a,mysql高阶-运维与架构-读写分离,32.1 基于MySQL Proxy实现读写分离,125072143,mysql,blog
mysql-f4d43d35c4c846baa2761d02fff5b09a,mysql高阶-运维与架构-读写分离,32.2 基于Atlas实现读写分离,125072150,mysql,blog
mysql-f4d43d35c4c846baa2761d02fff5b09a,mysql高阶-运维与架构-读写分离,32.3 基于ProxySQL实现读写分离,125072164,mysql,blog
mysql-f4d43d35c4c846baa2761d02fff5b09a,mysql高阶-运维与架构-读写分离,32.4 基于Amoeba实现读写分离,125072170,mysql,blog
mysql-f4d43d35c4c846baa2761d02fff5b09a,mysql高阶-运维与架构-读写分离,32.5 基于Mycat实现读写分离,125072177,mysql,blog
mysql-46c46e16ac404db99e61412a948e3a3c,mysql高阶-运维与架构-ha高可用,33.1 基于Keepalived搭建MySQL高可用环境,125072200,mysql,blog
mysql-46c46e16ac404db99e61412a948e3a3c,mysql高阶-运维与架构-ha高可用,33.2 基于HAProxy搭建Mycat高可用环境,125072209,mysql,blog
mysql-46c46e16ac404db99e61412a948e3a3c,mysql高阶-运维与架构-ha高可用,33.3 基于Keepalived搭建HAProxy高可用环境,125072219,mysql,blog
此差异已折叠。
{
"1.1 数据库的定义": "https://download.csdn.net/learn/37413/580851",
"1.2 数据库的发展": "https://download.csdn.net/learn/37413/580852",
"2.1 数据库系统": "https://download.csdn.net/learn/37413/580853",
"2.2 SQL语言": "https://download.csdn.net/learn/37413/580859",
"2.3 数据库访问技术": "https://download.csdn.net/learn/37413/580860",
"3.1 MySQL三大范式": "https://download.csdn.net/learn/37413/580861",
"3.2 MySQL存储引擎": "https://download.csdn.net/learn/37413/580862",
"4.1 安装VMware虚拟机": "https://download.csdn.net/learn/37413/580879",
"4.2 安装Windows操作系统": "https://download.csdn.net/learn/37413/580880",
"4.3 安装Mac OS X操作系统": "https://download.csdn.net/learn/37413/580881",
"4.4 安装CentOS操作系统": "https://download.csdn.net/learn/37413/580882",
"5.1 配置CentOS 6.8服务器环境": "https://download.csdn.net/learn/37413/580884",
"5.2 添加mysql用户身份": "https://download.csdn.net/learn/37413/580885",
"6.1 基于MSI文件安装Windows版本的MySQL": "https://download.csdn.net/learn/37413/580886",
"6.2 基于ZIP文件安装Windows版本的MySQL": "https://download.csdn.net/learn/37413/580887",
"6.3 基于DMG文件安装Mac OS X版本的MySQL": "https://download.csdn.net/learn/37413/580888",
"6.4 基于GZ文件安装Mac OS X版本的MySQL": "https://download.csdn.net/learn/37413/580889",
"6.5 基于RPM文件安装CentOS版本的MySQL": "https://download.csdn.net/learn/37413/580890",
"6.6 基于源码安装CentOS版本的MySQL": "https://download.csdn.net/learn/37413/580891",
"6.7 遇到的问题和解决方案": "https://download.csdn.net/learn/37413/580894",
"7.1 创建数据库": "https://download.csdn.net/learn/37413/580895",
"7.2 查看数据库": "https://download.csdn.net/learn/37413/580896",
"7.3 修改数据库名称": "https://download.csdn.net/learn/37413/580897",
"7.4 数据库编码": "https://download.csdn.net/learn/37413/580898",
"7.5 删除数据库": "https://download.csdn.net/learn/37413/580899",
"8.1 创建数据表": "https://download.csdn.net/learn/37413/580904",
"8.2 查看数据表结构": "https://download.csdn.net/learn/37413/580905",
"8.3 修改数据表": "https://download.csdn.net/learn/37413/580906",
"8.4 删除数据表": "https://download.csdn.net/learn/37413/580907",
"8.5 MySQL中的临时表": "https://download.csdn.net/learn/37413/580908",
"9.1 数值类型": "https://download.csdn.net/learn/37413/580917",
"9.2 日期和时间类型": "https://download.csdn.net/learn/37413/580918",
"9.3 文本字符串类型": "https://download.csdn.net/learn/37413/580919",
"9.4 二进制字符串类型": "https://download.csdn.net/learn/37413/580920",
"10.1 算术运算符": "https://download.csdn.net/learn/37413/581005",
"10.2 比较运算符": "https://download.csdn.net/learn/37413/581006",
"10.3 逻辑运算符": "https://download.csdn.net/learn/37413/581007",
"10.4 位运算符": "https://download.csdn.net/learn/37413/581008",
"10.5 运算符的优先级": "https://download.csdn.net/learn/37413/581009",
"11.1 MySQL函数简介": "https://download.csdn.net/learn/37413/581010",
"11.2 数学函数": "https://download.csdn.net/learn/37413/581012",
"11.3 字符串函数": "https://download.csdn.net/learn/37413/581013",
"11.4 日期和时间函数": "https://download.csdn.net/learn/37413/581014",
"11.5 流程处理函数": "https://download.csdn.net/learn/37413/581015",
"11.6 加密与解密函数": "https://download.csdn.net/learn/37413/581016",
"11.7 聚合函数": "https://download.csdn.net/learn/37413/581017",
"11.8 获取MySQL信息函数": "https://download.csdn.net/learn/37413/581018",
"11.9 加锁与解锁函数": "https://download.csdn.net/learn/37413/581019",
"12.1 数据插入": "https://download.csdn.net/learn/37413/581025",
"12.2 数据更新": "https://download.csdn.net/learn/37413/581026",
"12.3 数据删除": "https://download.csdn.net/learn/37413/581027",
"13.1 数据准备": "https://download.csdn.net/learn/37413/581029",
"13.2 SELECT查询语句": "https://download.csdn.net/learn/37413/581030",
"13.3 WHERE条件语句": "https://download.csdn.net/learn/37413/581031",
"13.4 数据聚合查询": "https://download.csdn.net/learn/37413/581032",
"13.5 JOIN语句": "https://download.csdn.net/learn/37413/581033",
"13.6 子查询语句": "https://download.csdn.net/learn/37413/581034",
"13.7 UNION联合语句": "https://download.csdn.net/learn/37413/581035",
"13.8 使用别名查询数据": "https://download.csdn.net/learn/37413/581036",
"13.9 使用正则表达式查询数据": "https://download.csdn.net/learn/37413/581037",
"14.1 索引简介": "https://download.csdn.net/learn/37413/581039",
"14.2 索引的使用场景": "https://download.csdn.net/learn/37413/581040",
"14.3 创建数据表时创建索引": "https://download.csdn.net/learn/37413/581041",
"14.4 为已有数据表添加索引": "https://download.csdn.net/learn/37413/581042",
"14.5 删除索引": "https://download.csdn.net/learn/37413/581043",
"14.6 隐藏索引": "https://download.csdn.net/learn/37413/581044",
"14.7 降序索引": "https://download.csdn.net/learn/37413/581045",
"14.8 函数索引": "https://download.csdn.net/learn/37413/581046",
"15.1 视图概述": "https://download.csdn.net/learn/37413/581047",
"15.2 创建视图": "https://download.csdn.net/learn/37413/581048",
"15.3 查看视图": "https://download.csdn.net/learn/37413/581049",
"15.4 修改视图的结构": "https://download.csdn.net/learn/37413/581050",
"15.5 更新视图的数据": "https://download.csdn.net/learn/37413/581051",
"15.6 删除视图": "https://download.csdn.net/learn/37413/581052",
"16.1 存储过程和函数简介": "https://download.csdn.net/learn/37413/581053",
"16.2 创建存储过程和函数": "https://download.csdn.net/learn/37413/581054",
"16.3 查看存储过程和函数": "https://download.csdn.net/learn/37413/581055",
"16.4 修改存储过程和函数": "https://download.csdn.net/learn/37413/581056",
"16.5 调用存储过程和函数": "https://download.csdn.net/learn/37413/581057",
"16.6 删除存储过程和函数": "https://download.csdn.net/learn/37413/581058",
"16.7 MySQL中使用变量": "https://download.csdn.net/learn/37413/581059",
"16.8 MySQL中使用变量案例": "https://download.csdn.net/learn/37413/581060",
"16.9 定义条件和处理程序": "https://download.csdn.net/learn/37413/581061",
"16.10 定义条件和处理程序案例": "https://download.csdn.net/learn/37413/581062",
"16.11 MySQL中游标的使用": "https://download.csdn.net/learn/37413/581063",
"16.12 MySQL中游标的使用案例": "https://download.csdn.net/learn/37413/581064",
"16.13 MySQL中控制流程的使用": "https://download.csdn.net/learn/37413/581065",
"17.1 创建触发器": "https://download.csdn.net/learn/37413/581191",
"17.2 查看触发器": "https://download.csdn.net/learn/37413/581192",
"17.3 删除触发器": "https://download.csdn.net/learn/37413/581193",
"18.1 分区介绍": "https://download.csdn.net/learn/37413/581194",
"18.2 RANGE分区": "https://download.csdn.net/learn/37413/581195",
"18.3 LIST分区": "https://download.csdn.net/learn/37413/581196",
"18.4 COLUMNS分区": "https://download.csdn.net/learn/37413/581197",
"18.5 HASH分区": "https://download.csdn.net/learn/37413/581198",
"18.6 KEY分区": "https://download.csdn.net/learn/37413/581199",
"18.7 子分区": "https://download.csdn.net/learn/37413/581200",
"18.8 分区中的NULL值处理": "https://download.csdn.net/learn/37413/581201",
"19.1 公用表表达式": "https://download.csdn.net/learn/37413/581203",
"19.2 生成列": "https://download.csdn.net/learn/37413/581204",
"20.1 SHOW STATUS语句解析": "https://download.csdn.net/learn/37413/581206",
"20.2 EXPLAIN语句解析": "https://download.csdn.net/learn/37413/581207",
"20.3 SHOW PROFILE语句解析": "https://download.csdn.net/learn/37413/581208",
"20.4 pt-query-digest分析查询": "https://download.csdn.net/learn/37413/581210",
"20.5 优化子查询": "https://download.csdn.net/learn/37413/581211",
"21.1 索引的类型": "https://download.csdn.net/learn/37413/581212",
"21.2 使用索引的场景": "https://download.csdn.net/learn/37413/581213",
"21.3 无法使用索引的场景": "https://download.csdn.net/learn/37413/581214",
"21.4 使用索引提示": "https://download.csdn.net/learn/37413/581215",
"21.5 使用生成列为JSON建立索引": "https://download.csdn.net/learn/37413/581216",
"22.1 嵌套查询的优化": "https://download.csdn.net/learn/37413/581220",
"22.2 OR条件语句的优化": "https://download.csdn.net/learn/37413/581221",
"22.3 ORDER BY语句的优化": "https://download.csdn.net/learn/37413/581222",
"22.4 GROUP BY语句的优化": "https://download.csdn.net/learn/37413/581223",
"22.5 分页查询的优化": "https://download.csdn.net/learn/37413/581224",
"22.6 插入数据的优化": "https://download.csdn.net/learn/37413/581225",
"22.7 删除数据的优化": "https://download.csdn.net/learn/37413/581226",
"23.1 优化数据类型": "https://download.csdn.net/learn/37413/581227",
"23.2 删除重复索引和冗余索引": "https://download.csdn.net/learn/37413/581228",
"23.3 反范式化设计": "https://download.csdn.net/learn/37413/581229",
"23.4 增加中间表": "https://download.csdn.net/learn/37413/581230",
"23.5 分析数据表": "https://download.csdn.net/learn/37413/581231",
"23.6 检查数据表": "https://download.csdn.net/learn/37413/581232",
"23.7 优化数据表": "https://download.csdn.net/learn/37413/581233",
"23.8 拆分数据表": "https://download.csdn.net/learn/37413/581234",
"24.1 MySQL服务器硬件的优化": "https://download.csdn.net/learn/37413/581235",
"24.2 MySQL配置项的优化": "https://download.csdn.net/learn/37413/581236",
"25.1 复用数据库连接": "https://download.csdn.net/learn/37413/581237",
"25.2 减少数据访问": "https://download.csdn.net/learn/37413/581238",
"25.3 开启查询缓存": "https://download.csdn.net/learn/37413/581239",
"25.4 使用外部缓存": "https://download.csdn.net/learn/37413/581240",
"25.5 使用分布式MySQL架构": "https://download.csdn.net/learn/37413/581241",
"26.1 使用performance_schema数据库分析MySQL": "https://download.csdn.net/learn/37413/581242",
"26.2 使用sys数据库分析MySQL": "https://download.csdn.net/learn/37413/581243",
"26.3 MySQL 8.x中的资源组": "https://download.csdn.net/learn/37413/581244",
"27.1 查看MySQL命令": "https://download.csdn.net/learn/37413/581245",
"27.2 mysql命令": "https://download.csdn.net/learn/37413/581246",
"27.3 mysqladmin命令": "https://download.csdn.net/learn/37413/581247",
"27.4 myisampack命令": "https://download.csdn.net/learn/37413/581248",
"27.5 mysqlbinlog命令": "https://download.csdn.net/learn/37413/581249",
"27.6 mysqlcheck命令": "https://download.csdn.net/learn/37413/581250",
"27.7 mysqlshow命令": "https://download.csdn.net/learn/37413/581251",
"27.8 mysqldump命令": "https://download.csdn.net/learn/37413/581252",
"27.9 mysqlimport命令": "https://download.csdn.net/learn/37413/581253",
"28.1 查询日志": "https://download.csdn.net/learn/37413/581254",
"28.2 慢查询日志": "https://download.csdn.net/learn/37413/581255",
"28.3 错误日志": "https://download.csdn.net/learn/37413/581256",
"28.4 二进制日志": "https://download.csdn.net/learn/37413/581257",
"29.1 基于mysqldump备份并恢复数据": "https://download.csdn.net/learn/37413/581258",
"29.2 基于mysqlpump备份并恢复数据": "https://download.csdn.net/learn/37413/581259",
"29.3 基于mydumper备份并恢复数据": "https://download.csdn.net/learn/37413/581260",
"29.4 基于mysqlhotcopy备份并恢复数据": "https://download.csdn.net/learn/37413/581261",
"29.5 基于xtrabackup备份并恢复数据": "https://download.csdn.net/learn/37413/581262",
"29.6 数据备份与恢复案例": "https://download.csdn.net/learn/37413/581263",
"29.7 MySQL灾难恢复": "https://download.csdn.net/learn/37413/581264",
"29.8 实现数据库的自动备份": "https://download.csdn.net/learn/37413/581265",
"29.9 导出数据": "https://download.csdn.net/learn/37413/581266",
"29.10 导入数据": "https://download.csdn.net/learn/37413/581267",
"30.1 MySQL中的权限表": "https://download.csdn.net/learn/37413/581269",
"30.2 创建普通用户": "https://download.csdn.net/learn/37413/581270",
"30.3 为用户授权": "https://download.csdn.net/learn/37413/581271",
"30.4 查看用户权限": "https://download.csdn.net/learn/37413/581272",
"30.5 修改用户权限": "https://download.csdn.net/learn/37413/581273",
"30.6 撤销用户权限": "https://download.csdn.net/learn/37413/581274",
"30.7 修改用户密码": "https://download.csdn.net/learn/37413/581275",
"30.8 删除用户": "https://download.csdn.net/learn/37413/581276",
"30.9 限制用户使用资源": "https://download.csdn.net/learn/37413/581277",
"30.10 MySQL 8.x版本中的账户管理": "https://download.csdn.net/learn/37413/581278",
"31.1 搭建MySQL主从复制环境": "https://download.csdn.net/learn/37413/581285",
"31.2 搭建MySQL主主复制环境": "https://download.csdn.net/learn/37413/581286",
"31.3 添加MySQL从库": "https://download.csdn.net/learn/37413/581287",
"31.4 切换主从复制到链式复制": "https://download.csdn.net/learn/37413/581288",
"31.5 切换链式复制到主从复制": "https://download.csdn.net/learn/37413/581289",
"31.6 搭建MySQL多源复制环境": "https://download.csdn.net/learn/37413/581290",
"31.7 添加复制过滤器": "https://download.csdn.net/learn/37413/581291",
"31.8 设置延迟复制": "https://download.csdn.net/learn/37413/581292",
"31.9 基于GTID搭建MySQL主从复制环境": "https://download.csdn.net/learn/37413/581293",
"31.10 基于半同步模式搭建MySQL主从复制环境": "https://download.csdn.net/learn/37413/581294",
"32.1 基于MySQL Proxy实现读写分离": "https://download.csdn.net/learn/37413/581295",
"32.2 基于Atlas实现读写分离": "https://download.csdn.net/learn/37413/581296",
"32.3 基于ProxySQL实现读写分离": "https://download.csdn.net/learn/37413/581297",
"32.4 基于Amoeba实现读写分离": "https://download.csdn.net/learn/37413/581298",
"32.5 基于Mycat实现读写分离": "https://download.csdn.net/learn/37413/581299",
"33.1 基于Keepalived搭建MySQL高可用环境": "https://download.csdn.net/learn/37413/581300",
"33.2 基于HAProxy搭建Mycat高可用环境": "https://download.csdn.net/learn/37413/581301",
"33.3 基于Keepalived搭建HAProxy高可用环境": "https://download.csdn.net/learn/37413/581302"
}
\ No newline at end of file
此差异已折叠。
{
"1.1 数据库的定义": 125068379,
"1.2 数据库的发展": 125069340,
"1.3 本章总结": 125069363,
"2.1 数据库系统": 125069431,
"2.2 SQL语言": 125069469,
"28.1 查询日志": 125069479,
"2.3 数据库访问技术": 125069492,
"2.4 本章总结": 125069688,
"3.1 MySQL三大范式": 125069703,
"3.2 MySQL存储引擎": 125069721,
"3.3 本章总结": 125069736,
"4.1 安装VMware虚拟机": 125069752,
"4.2 安装Windows操作系统": 125069769,
"4.3 安装Mac OS X操作系统": 125069789,
"4.4 安装CentOS操作系统": 125069809,
"4.5 本章总结": 125069830,
"5.1 配置CentOS 6.8服务器环境": 125069847,
"5.2 添加mysql用户身份": 125069861,
"5.3 本章总结": 125069876,
"6.1 基于MSI文件安装Windows版本的MySQL": 125069892,
"6.2 基于ZIP文件安装Windows版本的MySQL": 125069910,
"6.3 基于DMG文件安装Mac OS X版本的MySQL": 125069925,
"6.4 基于GZ文件安装Mac OS X版本的MySQL": 125069950,
"6.5 基于RPM文件安装CentOS版本的MySQL": 125069966,
"6.6 基于源码安装CentOS版本的MySQL": 125069983,
"6.7 遇到的问题和解决方案": 125070006,
"6.8 本章总结": 125070019,
"10.1 算术运算符": 125070037,
"10.2 比较运算符": 125070057,
"10.3 逻辑运算符": 125070081,
"10.4 位运算符": 125070092,
"10.5 运算符的优先级": 125070113,
"10.6 本章总结": 125070128,
"11.1 MySQL函数简介": 125070151,
"11.2 数学函数": 125070168,
"11.3 字符串函数": 125070182,
"11.4 日期和时间函数": 125070194,
"11.5 流程处理函数": 125070210,
"11.6 加密与解密函数": 125070221,
"11.7 聚合函数": 125070232,
"11.8 获取MySQL信息函数": 125070240,
"11.9 加锁与解锁函数": 125070256,
"11.10 JSON函数": 125070278,
"11.11 窗口函数": 125070293,
"11.12 MySQL的其他函数": 125070307,
"11.13 本章总结": 125070325,
"12.1 数据插入": 125070343,
"12.2 数据更新": 125070358,
"12.3 数据删除": 125070376,
"12.4 本章总结": 125070385,
"13.1 数据准备": 125070407,
"13.2 SELECT查询语句": 125070424,
"13.3 WHERE条件语句": 125070437,
"13.4 数据聚合查询": 125070449,
"13.5 JOIN语句": 125070464,
"13.6 子查询语句": 125070488,
"13.7 UNION联合语句": 125070503,
"13.8 使用别名查询数据": 125070514,
"13.9 使用正则表达式查询数据": 125070529,
"13.10 本章总结": 125070550,
"14.1 索引简介": 125070565,
"14.2 索引的使用场景": 125070580,
"14.3 创建数据表时创建索引": 125070595,
"14.4 为已有数据表添加索引": 125070611,
"14.5 删除索引": 125070622,
"14.6 隐藏索引": 125070632,
"14.7 降序索引": 125070649,
"14.8 函数索引": 125070670,
"14.9 本章总结": 125070678,
"15.1 视图概述": 125070689,
"15.2 创建视图": 125070703,
"15.3 查看视图": 125070713,
"15.4 修改视图的结构": 125070726,
"15.5 更新视图的数据": 125070737,
"15.6 删除视图": 125070749,
"15.7 本章总结": 125070764,
"16.1 存储过程和函数简介": 125070780,
"16.2 创建存储过程和函数": 125070791,
"16.3 查看存储过程和函数": 125070803,
"16.4 修改存储过程和函数": 125070812,
"16.5 调用存储过程和函数": 125070821,
"16.6 删除存储过程和函数": 125070837,
"16.7 MySQL中使用变量": 125070851,
"16.8 MySQL中使用变量案例": 125070864,
"16.9 定义条件和处理程序": 125070870,
"16.10 定义条件和处理程序案例": 125070875,
"16.11 MySQL中游标的使用": 125070891,
"16.12 MySQL中游标的使用案例": 125070899,
"16.13 MySQL中控制流程的使用": 125070907,
"16.14 本章总结": 125070924,
"17.1 创建触发器": 125070935,
"17.2 查看触发器": 125070942,
"17.3 删除触发器": 125070959,
"18.1 分区介绍": 125070968,
"18.2 RANGE分区": 125070980,
"18.3 LIST分区": 125070987,
"18.4 COLUMNS分区": 125070997,
"18.5 HASH分区": 125071009,
"18.6 KEY分区": 125071016,
"18.7 子分区": 125071030,
"18.8 分区中的NULL值处理": 125071036,
"18.9 本章总结": 125071046,
"19.1 公用表表达式": 125071054,
"19.2 生成列": 125071065,
"19.3 本章总结": 125071072,
"7.1 创建数据库": 125071084,
"7.2 查看数据库": 125071098,
"7.3 修改数据库名称": 125071106,
"7.4 数据库编码": 125071116,
"7.5 删除数据库": 125071124,
"7.6 本章总结": 125071132,
"8.1 创建数据表": 125071140,
"8.2 查看数据表结构": 125071149,
"8.3 修改数据表": 125071160,
"8.4 删除数据表": 125071173,
"8.5 MySQL中的临时表": 125071187,
"8.6 本章总结": 125071199,
"9.1 数值类型": 125071216,
"9.2 日期和时间类型": 125071230,
"9.3 文本字符串类型": 125071237,
"9.4 二进制字符串类型": 125071245,
"9.5 本章总结": 125071253,
"20.1 SHOW STATUS语句解析": 125071261,
"20.2 EXPLAIN语句解析": 125071266,
"20.3 SHOW PROFILE语句解析": 125071271,
"20.4 pt-query-digest分析查询": 125071281,
"20.5 优化子查询": 125071288,
"20.6 本章总结": 125071297,
"21.1 索引的类型": 125071304,
"21.2 使用索引的场景": 125071315,
"21.3 无法使用索引的场景": 125071324,
"21.4 使用索引提示": 125071334,
"21.5 使用生成列为JSON建立索引": 125071347,
"21.6 本章总结": 125071357,
"22.1 嵌套查询的优化": 125071363,
"22.2 OR条件语句的优化": 125071368,
"22.3 ORDER BY语句的优化": 125071378,
"22.4 GROUP BY语句的优化": 125071389,
"22.5 分页查询的优化": 125071395,
"22.6 插入数据的优化": 125071403,
"22.7 删除数据的优化": 125071415,
"22.8 本章总结": 125071420,
"23.1 优化数据类型": 125071439,
"23.2 删除重复索引和冗余索引": 125071452,
"23.3 反范式化设计": 125071458,
"23.4 增加中间表": 125071476,
"23.5 分析数据表": 125071485,
"23.6 检查数据表": 125071504,
"23.7 优化数据表": 125071512,
"23.8 拆分数据表": 125071522,
"23.9 本章总结": 125071535,
"24.1 MySQL服务器硬件的优化": 125071544,
"24.2 MySQL配置项的优化": 125071549,
"24.3 本章总结": 125071557,
"25.1 复用数据库连接": 125071565,
"25.2 减少数据访问": 125071571,
"25.3 开启查询缓存": 125071580,
"25.4 使用外部缓存": 125071588,
"25.5 使用分布式MySQL架构": 125071593,
"25.6 本章总结": 125071600,
"26.1 使用performance_schema数据库分析MySQL": 125071607,
"26.2 使用sys数据库分析MySQL": 125071615,
"26.3 MySQL 8.x中的资源组": 125071621,
"26.4 本章总结": 125071633,
"27.1 查看MySQL命令": 125071639,
"27.2 mysql命令": 125071650,
"27.3 mysqladmin命令": 125071666,
"27.4 myisampack命令": 125071673,
"27.5 mysqlbinlog命令": 125071680,
"27.6 mysqlcheck命令": 125071690,
"27.7 mysqlshow命令": 125071705,
"27.8 mysqldump命令": 125071717,
"27.9 mysqlimport命令": 125071727,
"27.10 本章总结": 125071733,
"28.2 慢查询日志": 125071750,
"28.3 错误日志": 125071760,
"28.4 二进制日志": 125071772,
"28.5 本章总结": 125071783,
"29.1 基于mysqldump备份并恢复数据": 125071788,
"29.2 基于mysqlpump备份并恢复数据": 125071794,
"29.3 基于mydumper备份并恢复数据": 125071802,
"29.4 基于mysqlhotcopy备份并恢复数据": 125071815,
"29.5 基于xtrabackup备份并恢复数据": 125071820,
"29.6 数据备份与恢复案例": 125071825,
"29.7 MySQL灾难恢复": 125071839,
"29.8 实现数据库的自动备份": 125071853,
"29.9 导出数据": 125071862,
"29.10 导入数据": 125071873,
"29.11 遇到的问题和解决方案": 125071884,
"29.12 本章总结": 125071892,
"30.1 MySQL中的权限表": 125071901,
"30.2 创建普通用户": 125071906,
"30.3 为用户授权": 125071915,
"30.4 查看用户权限": 125071930,
"30.5 修改用户权限": 125071941,
"30.6 撤销用户权限": 125071951,
"30.7 修改用户密码": 125071965,
"30.8 删除用户": 125071977,
"30.9 限制用户使用资源": 125071988,
"30.10 MySQL 8.x版本中的账户管理": 125072005,
"30.11 本章总结": 125072011,
"31.1 搭建MySQL主从复制环境": 125072022,
"31.2 搭建MySQL主主复制环境": 125072032,
"31.3 添加MySQL从库": 125072041,
"31.4 切换主从复制到链式复制": 125072051,
"31.5 切换链式复制到主从复制": 125072062,
"31.6 搭建MySQL多源复制环境": 125072076,
"31.7 添加复制过滤器": 125072088,
"31.8 设置延迟复制": 125072098,
"31.9 基于GTID搭建MySQL主从复制环境": 125072109,
"31.10 基于半同步模式搭建MySQL主从复制环境": 125072122,
"31.11 本章总结": 125072134,
"32.1 基于MySQL Proxy实现读写分离": 125072143,
"32.2 基于Atlas实现读写分离": 125072150,
"32.3 基于ProxySQL实现读写分离": 125072164,
"32.4 基于Amoeba实现读写分离": 125072170,
"32.5 基于Mycat实现读写分离": 125072177,
"32.6 本章总结": 125072185,
"33.1 基于Keepalived搭建MySQL高可用环境": 125072200,
"33.2 基于HAProxy搭建Mycat高可用环境": 125072209,
"33.3 基于Keepalived搭建HAProxy高可用环境": 125072219,
"33.4 本章总结": 125072227
}
\ No newline at end of file
......@@ -7,6 +7,7 @@
# here put the import lib
import re
import os
import ipdb
import pandas as pd
......@@ -16,7 +17,6 @@ from treelib import Node
from path import get_tree_dir
from path import get_index_dir
from path import get_sample_id_dir
from utils import load_json
from utils import load_markdown
......@@ -29,12 +29,10 @@ class NodeKnowledgeMapping():
self.tree = Tree()
self.text_id_dict = None
self.section_text_dict = None
self.section_sample_dict = None
def load(self):
self.__load_tree()
self.__load_index()
self.__load_sample_id()
def __construct_tree(self, tree_dict, parent):
for node_text, node_info in tree_dict.items():
......@@ -83,11 +81,8 @@ class NodeKnowledgeMapping():
else:
_index += 1
def __load_sample_id(self):
self.section_sample_dict = load_json(get_sample_id_dir())
def get_node_knowledge_mapping(self, file_name):
columns = ["node_id", "text", "book_text", "sample_id", "tree_name", "category"]
def get_node_knowledge_mapping(self, file_name, section_xx_dict):
columns = ["node_id", "text", "book_text", "xx", "tree_name", "category"]
contents = []
for section, text in self.section_text_dict.items():
if text in self.text_id_dict:
......@@ -95,21 +90,24 @@ class NodeKnowledgeMapping():
else:
print("路径 \"{}\" 不存在!".format(text))
continue
sample_id = self.section_sample_dict.get(section, None)
if sample_id is not None:
sample_id = str(int(sample_id))
contents.append([node_id, text, section, sample_id, self.tree_name, self.category])
xx = section_xx_dict.get(section, None)
if xx is not None:
if isinstance(xx, (int, float)):
xx = str(int(xx))
contents.append([node_id, text, section, xx, self.tree_name, self.category])
output_file_name = os.path.splitext(file_name)[0] + ".csv"
df = pd.DataFrame(contents, columns=columns)
df.to_csv(file_name, index=False)
df.to_csv(output_file_name, index=False)
def main():
nkm = NodeKnowledgeMapping()
nkm.load()
file_name = "./data/mysql_update_4_top.csv"
nkm.get_node_knowledge_mapping(file_name)
file_name = "./data/chapter_to_article.json"
section_xx_dict = load_json(file_name)
nkm.get_node_knowledge_mapping(file_name, section_xx_dict)
if __name__=='__main__':
......
......@@ -19,6 +19,3 @@ def get_tree_dir():
def get_index_dir():
return '../index.md'
def get_sample_id_dir():
return './data/section_id_dict.json'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册