diff --git a/README.md b/README.md index 32eccbc2271b950101f9450b3aad33ac4c1c5094..c71ba39f6f59db1b71e1a27bf4f371d1cd32f2a6 100644 --- a/README.md +++ b/README.md @@ -117,46 +117,6 @@ log 'hello'; 这是一个最基本的习题结构,它包含标题、答案、选项,注意这几个一级和二级标题必须填写正确,解释器会读取这几个标题。而选项的标题会被直接忽略掉,在最终生成的习题中不包含选项的三级标题,所以这个标题可以用来标注一些编辑信息,例如“此选项没有关闭文件连接”,“类型错误”等等。 -### 增强信息 - - 为了编写习题和生成 notebook 的需要,markdown 解释器支持两种模板能力,具体到 oceanbase ,现在还没有对应的 notebook 支持,所以这部分内容仅供参考,未来如果支持了 oceanbase notebook,就按照下文规范。 - -````markdown - -## aop - -### before - -```sql -create table test(id integer primary key, content varchar(256)); -``` - -### after - -```java -drop table test; -``` -```` - -那么在创建notebook的时候,before 会插入到源代码前一个单元,after 则会插入到源代码后。aop 章节可以只包含 before 或 after 中的某一个,也可以两个都有。 - -另一些情况下,我们可能需要把各个选项中重复的代码提取出来,建立一个模板,此时可以在答案之前建立一个名为 template 的二级标题,例如: - -````markdwon - -## template - -```sql -begin -$code -end; - -``` -```` - -注意这里的代码中,有一个 `$code` 占位符,它在管道程序处理过程中,会替换成答案和个选项内容中的代码。 - -在后续的数据处理流程中,markdown 会被编译为 prepared 类型的习题。 ## 技能树合成 diff --git "a/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/1.\345\256\211\350\243\205OBD/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/1.\345\256\211\350\243\205OBD/config.json" index 507b5bd5896d7ab3b689396974fa2851313bea36..c713c9b2061c4eef640329d1229156c9ce783647 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/1.\345\256\211\350\243\205OBD/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/1.\345\256\211\350\243\205OBD/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-a4c730f9873b4d1c985048c5e63990cf", + "node_id": "ob-84787e0a055640d2af669b7ff61bd08a", "title": "安装OBD" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/2.\344\275\277\347\224\250OBD\351\203\250\347\275\262/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/2.\344\275\277\347\224\250OBD\351\203\250\347\275\262/config.json" index 3bef630f0b4a1aca2322519c9081d06a26068c0a..2c5d2c3f73e75881aabfbbd0a27d6c1cf8c12c53 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/2.\344\275\277\347\224\250OBD\351\203\250\347\275\262/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/2.\344\275\277\347\224\250OBD\351\203\250\347\275\262/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-e175537376e64d88840ca4d9d1e81610", + "node_id": "ob-3c6f0c81923943bab108563f409738c1", "title": "使用OBD部署" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/3.\351\227\256\351\242\230\346\216\222\346\237\245/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/3.\351\227\256\351\242\230\346\216\222\346\237\245/config.json" index a354706e5ebf6d323e7f52fa9f1696acf5d0cccb..c0a25e12b9aee803085fc02dae9f4fac302ff1a5 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/3.\351\227\256\351\242\230\346\216\222\346\237\245/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/3.\351\227\256\351\242\230\346\216\222\346\237\245/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-15525a96d7f24538a3d449ae623efd48", + "node_id": "ob-853a46feb30842b5bafea317687e04df", "title": "问题排查" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/4.\344\275\277\347\224\250OBD/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/4.\344\275\277\347\224\250OBD/config.json" index f73e11a2dec01415666e10d23155c7a51820e0a2..09bb771f7179086aa5a61d05cd6fd62522f41ad5 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/4.\344\275\277\347\224\250OBD/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/4.\344\275\277\347\224\250OBD/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-9c2a5df2e2c34cf3a1103cd2e2a3267b", + "node_id": "ob-9ebb7b7c868d41b489286a631c86f918", "title": "使用OBD" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/config.json" index 113ab59a39f609e21cc71d600ef4bdaf4a503fba..f99321cf1956b264bd34b385b951621ca3e62522 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/1.\345\277\253\351\200\237\345\205\245\351\227\250/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-79d5327189b34b5a90fa74ad32b27305", + "node_id": "ob-a70706dc6bd340fc960132aad2c87707", "title": "快速入门" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/1.\346\225\260\346\215\256\345\272\223\346\223\215\344\275\234/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/1.\346\225\260\346\215\256\345\272\223\346\223\215\344\275\234/config.json" index a40ab9adab932828b8bcd2263e54581be97ed630..84db7a92e5c499cd905ffd4c54982eab973f9e65 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/1.\346\225\260\346\215\256\345\272\223\346\223\215\344\275\234/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/1.\346\225\260\346\215\256\345\272\223\346\223\215\344\275\234/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-cae5477828d14b448afb6660947859d0", + "node_id": "ob-013bdab5013c4ce4913233f87592f844", "title": "数据库操作" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/2.\350\241\250\346\223\215\344\275\234/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/2.\350\241\250\346\223\215\344\275\234/config.json" index f7df7a6c84724baecc7e1ac0e1ba41264dad4a60..0cff9d9ac5946882694ca0dbc9fa8c0c79a5af24 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/2.\350\241\250\346\223\215\344\275\234/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/2.\350\241\250\346\223\215\344\275\234/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-e675cce191c3420aa85b7c6b96580635", + "node_id": "ob-d9a4ab293b494b1e8b5dcc4bc6e28685", "title": "表操作" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/3.\347\264\242\345\274\225\346\223\215\344\275\234/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/3.\347\264\242\345\274\225\346\223\215\344\275\234/config.json" index 6f3f5b5e6888009b3b988b239f9b87b8d4e8bc39..b4791f13f012638b33636b6fafc62e481565aa5c 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/3.\347\264\242\345\274\225\346\223\215\344\275\234/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/3.\347\264\242\345\274\225\346\223\215\344\275\234/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-c50584a0656e495bb7e800a8b6ceaf77", + "node_id": "ob-22610873050f4f219af2dd3516442690", "title": "索引操作" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/4.\346\217\222\345\205\245\346\225\260\346\215\256/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/4.\346\217\222\345\205\245\346\225\260\346\215\256/config.json" index 639b6df2e874344294783b6b8ed999822f70bb24..b0c5108380fb3a2b8c86292996962d28ab2066e3 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/4.\346\217\222\345\205\245\346\225\260\346\215\256/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/4.\346\217\222\345\205\245\346\225\260\346\215\256/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-999212d4ca42491ca47f34b936399fcf", + "node_id": "ob-0f74a0152cc54bac9fe0f4875c7b22d3", "title": "插入数据" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/5.\345\210\240\351\231\244\346\225\260\346\215\256/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/5.\345\210\240\351\231\244\346\225\260\346\215\256/config.json" index 0afe8a8fe9c4c771306473da5b6868a763c369d1..9712fb03f9198c1335780b98f02817dfeb4558ba 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/5.\345\210\240\351\231\244\346\225\260\346\215\256/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/5.\345\210\240\351\231\244\346\225\260\346\215\256/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-70958f7d51b54425b958cefc6ac45269", + "node_id": "ob-24f2d9140dae40cba5714ad8b91cc233", "title": "删除数据" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/6.\346\233\264\346\226\260\346\225\260\346\215\256/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/6.\346\233\264\346\226\260\346\225\260\346\215\256/config.json" index 6a4c365cba1982873f4ef2686e008ae143ab9689..5186b12d7c486bf734489b37e8f5635e7d5138b4 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/6.\346\233\264\346\226\260\346\225\260\346\215\256/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/6.\346\233\264\346\226\260\346\225\260\346\215\256/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-be0d2dee8d904f6cb886a7056d9e46f8", + "node_id": "ob-d4735b0199e041cea568eaf5da3d5bfd", "title": "更新数据" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/7.\346\237\245\350\257\242\346\225\260\346\215\256/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/7.\346\237\245\350\257\242\346\225\260\346\215\256/config.json" index 59c91c27656759be97a418aae6364bc5099bf9c1..8279cc93855777cd4b606e06a22475c37cf9db23 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/7.\346\237\245\350\257\242\346\225\260\346\215\256/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/7.\346\237\245\350\257\242\346\225\260\346\215\256/config.json" @@ -1,6 +1,8 @@ { "keywords": [], - "node_id": "c-a7151df5705f4579bf5f63413385242e", + "node_id": "ob-c9288cdb530e4af789dfc76150e922d8", "title": "查询数据", - "export": ["hello.json"] + "export": [ + "hello.json" + ] } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/7.\346\237\245\350\257\242\346\225\260\346\215\256/hello.json" "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/7.\346\237\245\350\257\242\346\225\260\346\215\256/hello.json" index 42b7643948cf5bd4a077a1f45f21dac4d3c0e99b..fc4ad17f7ea4ee83a4b90f21a21335b1a6584561 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/7.\346\237\245\350\257\242\346\225\260\346\215\256/hello.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/7.\346\237\245\350\257\242\346\225\260\346\215\256/hello.json" @@ -1,5 +1,6 @@ { - "type": "code_options", - "author": "刘鑫", - "source": "hello.md" + "type": "code_options", + "author": "刘鑫", + "source": "hello.md", + "exercise_id": "89b7c140d8734edcbab44cb16f0e836d" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/8.\346\217\220\344\272\244\344\272\213\345\212\241/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/8.\346\217\220\344\272\244\344\272\213\345\212\241/config.json" index 8d8a5b174a846d7ee58df7489e34e5608dc15376..80c66a667d8c1c1016ed4be814c5ec978ab4a45a 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/8.\346\217\220\344\272\244\344\272\213\345\212\241/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/8.\346\217\220\344\272\244\344\272\213\345\212\241/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-3a77f96aec6e43d7ac98d4d300c02cf5", + "node_id": "ob-511b322d90f9484d9a25108a6ad63aa0", "title": "提交事务" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/9.\345\233\236\346\273\232\344\272\213\345\212\241/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/9.\345\233\236\346\273\232\344\272\213\345\212\241/config.json" index ee3b724b0e3eafc69ad3b232bd74f2e3cef2d61a..d7409af853de6d9ba5ef5d2de7f11e8707f8ef2f 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/9.\345\233\236\346\273\232\344\272\213\345\212\241/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/9.\345\233\236\346\273\232\344\272\213\345\212\241/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-f35dcc63713745a6876ab5d4ff328dfe", + "node_id": "ob-ab9965aed5794e7d84cfad5d10ec5599", "title": "回滚事务" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/config.json" index db4e78f2f83e30902129a4f36a423313eacbb5e2..69f2260df0a0ddf08a7ff4bd863139174ac0e3ce 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/2.\345\237\272\346\234\254\346\223\215\344\275\234/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-5021529f00ca4b9daa02569d4cddbb24", + "node_id": "ob-ec5c1a3d85db4ac4b51891002c9585db", "title": "基本操作" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/1.\346\225\264\344\275\223\346\236\266\346\236\204/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/1.\346\225\264\344\275\223\346\236\266\346\236\204/config.json" index 96017ba777f1c5656551dbe1abd8e202d460c2f9..ae552670316adbc7562e6db502327019b3e79f7c 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/1.\346\225\264\344\275\223\346\236\266\346\236\204/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/1.\346\225\264\344\275\223\346\236\266\346\236\204/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-f599bcb975bd48f89e54e072a988bfb7", + "node_id": "ob-68ab7889257b44979a53385573f73505", "title": "整体架构" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/2.\346\225\260\346\215\256\345\210\206\345\270\203/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/2.\346\225\260\346\215\256\345\210\206\345\270\203/config.json" index 33648a16404c41dcc246da0330a3362615415ccd..414727f72fc4f2033841a3ead624ff216b205ea7 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/2.\346\225\260\346\215\256\345\210\206\345\270\203/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/2.\346\225\260\346\215\256\345\210\206\345\270\203/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-0dc6506e5e594e30990147b7265bbaa1", + "node_id": "ob-ec3fe81c7bab4cd79c54d6b74e1c1113", "title": "数据分布" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/3.\346\225\260\346\215\256\346\250\241\345\236\213/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/3.\346\225\260\346\215\256\346\250\241\345\236\213/config.json" index 416d5e8629c5d1395483d218e7d60cdbd6124857..7ef68761050e55af6166f47005f436027373fa81 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/3.\346\225\260\346\215\256\346\250\241\345\236\213/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/3.\346\225\260\346\215\256\346\250\241\345\236\213/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-b9d8c4a7d8a14f398f73c521107017db", + "node_id": "ob-3b0443341ac0408b9488952de107adff", "title": "数据模型" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/4.\351\253\230\345\217\257\347\224\250/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/4.\351\253\230\345\217\257\347\224\250/config.json" index 1a8b2fed2b3efb803a48985d8819484c467d9399..38cb3949682a41ca0406464f5e952891709601c7 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/4.\351\253\230\345\217\257\347\224\250/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/4.\351\253\230\345\217\257\347\224\250/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-43e78261e6bb42fe92e5a5c238bf826a", + "node_id": "ob-47ce8e30a33f479594bf6d2ff0da1bfa", "title": "高可用" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/5.\344\272\213\345\212\241\347\256\241\347\220\206/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/5.\344\272\213\345\212\241\347\256\241\347\220\206/config.json" index f6ce7f689b5668e0f7ac56905751e470358332c5..99d6937d05651c785b7818eb8a952655c9bb3bbf 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/5.\344\272\213\345\212\241\347\256\241\347\220\206/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/5.\344\272\213\345\212\241\347\256\241\347\220\206/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-c2c32929d7c0478d8f93884568b5c13d", + "node_id": "ob-1ec046c02a77404eb53ff06b91573a40", "title": "事务管理" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/6.\345\255\230\345\202\250\346\236\266\346\236\204/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/6.\345\255\230\345\202\250\346\236\266\346\236\204/config.json" index b96cd273f0f79eed3d4350442c4023761020bbf8..7c1e89d6423cb507ca94948d2adef82a0b880dde 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/6.\345\255\230\345\202\250\346\236\266\346\236\204/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/6.\345\255\230\345\202\250\346\236\266\346\236\204/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-5a0baf4394b84466aca8c703366843cc", + "node_id": "ob-b50c55d09413418d90bb648ea9e98c43", "title": "存储架构" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/7.SQL\345\274\225\346\223\216/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/7.SQL\345\274\225\346\223\216/config.json" index 3118bc032b7a0331403de43020f67739d77b3139..fd3c1feb63ca4750539934d51c40f4b26c895c2e 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/7.SQL\345\274\225\346\223\216/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/7.SQL\345\274\225\346\223\216/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-b3ea14fb38134f089c8583d1fd427cf6", + "node_id": "ob-d86684074ed34222b7fb7896de920dc4", "title": "SQL引擎" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/config.json" index 370663ab2b4c665487e129ae6bf78d2281b7d8ce..b8a59665c819c17da83a0b2fa4470cf853f1e93d 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/8.\345\244\207\344\273\275\344\270\216\346\201\242\345\244\215/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-517b0507b9994e7aab49c3af40479af4", + "node_id": "ob-f31680ba954b4a358f9506f3195c84ee", "title": "备份与恢复" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/config.json" index 30cd6d69d3355a687c0beb5a51af63036428f22e..78ff65de6cb6a3b04d46ecbeeafb5c59693ba263 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/3.\346\225\264\344\275\223\346\246\202\350\247\210/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-cb9ef6b2ddcc4a76a8031f32c4e10ad0", + "node_id": "ob-013816a853dc48469ac7b9cff78de825", "title": "整体概览" } \ No newline at end of file diff --git "a/data/1.OceanBase\345\210\235\351\230\266/config.json" "b/data/1.OceanBase\345\210\235\351\230\266/config.json" index 459a4b41d785308c6aa980e8b159a80e9f147f15..ca38f06f6a24e54f01077d57928ed104b53ecaff 100644 --- "a/data/1.OceanBase\345\210\235\351\230\266/config.json" +++ "b/data/1.OceanBase\345\210\235\351\230\266/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-9304eceab88a41fca82a970dbafc92d8", + "node_id": "ob-f09fe5be766942d787941675c5c0a9bb", "title": "OceanBase初阶" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/1.\346\225\260\346\215\256\345\272\223\345\237\272\347\241\200\347\273\204\344\273\266/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/1.\346\225\260\346\215\256\345\272\223\345\237\272\347\241\200\347\273\204\344\273\266/config.json" index 77dbd015210b653f35faf3fb0e3fb2958ec75e2d..a773107ff60029068f4e0dd1991cd2150235dc49 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/1.\346\225\260\346\215\256\345\272\223\345\237\272\347\241\200\347\273\204\344\273\266/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/1.\346\225\260\346\215\256\345\272\223\345\237\272\347\241\200\347\273\204\344\273\266/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-a917487b75574a68bb956d210da1170f", + "node_id": "ob-1df64a4e78e94dbdb51b3a233114360a", "title": "数据库基础组件" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/2.\346\225\260\346\215\256\345\272\223\347\256\241\347\220\206\345\267\245\345\205\267/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/2.\346\225\260\346\215\256\345\272\223\347\256\241\347\220\206\345\267\245\345\205\267/config.json" index 1d66e9912730e4dfe6ea3bbece501b815076bda0..b7736597eaa1a6fddd5af0aa24d842683dfe670c 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/2.\346\225\260\346\215\256\345\272\223\347\256\241\347\220\206\345\267\245\345\205\267/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/2.\346\225\260\346\215\256\345\272\223\347\256\241\347\220\206\345\267\245\345\205\267/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-226ffd9c22e9419b912ba9a9ee965307", + "node_id": "ob-1bd2eb6cbd8d439881cd2737cf2996d0", "title": "数据库管理工具" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/3.\346\225\260\346\215\256\345\272\223\345\237\272\347\241\200\347\256\241\347\220\206/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/3.\346\225\260\346\215\256\345\272\223\345\237\272\347\241\200\347\256\241\347\220\206/config.json" index 947f1973dc79ab33e47f9e8c48824a071ec497bf..19cd58177d8b71a4029cf846ab9a57b88a7bf095 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/3.\346\225\260\346\215\256\345\272\223\345\237\272\347\241\200\347\256\241\347\220\206/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/3.\346\225\260\346\215\256\345\272\223\345\237\272\347\241\200\347\256\241\347\220\206/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-d5165a59206347949d45b8f95b7400f2", + "node_id": "ob-a343d533aeea43f08458c09eb810a6a0", "title": "数据库基础管理" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/4.\346\225\260\346\215\256\345\272\223\345\257\271\350\261\241\347\256\241\347\220\206/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/4.\346\225\260\346\215\256\345\272\223\345\257\271\350\261\241\347\256\241\347\220\206/config.json" index f5d106cfb78e6537e3b805ce25bb5881b87dd5a7..77c3e442ceb84d30a0912c38f09343f4a952be91 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/4.\346\225\260\346\215\256\345\272\223\345\257\271\350\261\241\347\256\241\347\220\206/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/4.\346\225\260\346\215\256\345\272\223\345\257\271\350\261\241\347\256\241\347\220\206/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-88118ffc8e1741c6aa44dd1be3606e03", + "node_id": "ob-8e9f8e33ac984fe89b3b9187d3742093", "title": "数据库对象管理" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/5.\346\225\260\346\215\256\345\272\223\345\210\206\345\270\203\345\222\214\351\223\276\350\267\257\347\256\241\347\220\206/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/5.\346\225\260\346\215\256\345\272\223\345\210\206\345\270\203\345\222\214\351\223\276\350\267\257\347\256\241\347\220\206/config.json" index 9666aa5d65e13c22bc3cb7912261b5f2374c1a54..91e1e46843465b7edfa17328aac9149ccc8c283e 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/5.\346\225\260\346\215\256\345\272\223\345\210\206\345\270\203\345\222\214\351\223\276\350\267\257\347\256\241\347\220\206/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/5.\346\225\260\346\215\256\345\272\223\345\210\206\345\270\203\345\222\214\351\223\276\350\267\257\347\256\241\347\220\206/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-52d13d48fb1b4ac4a2ed73cf1f3afd09", + "node_id": "ob-341cfdd78a2a4fb0abe587342bd9b4fa", "title": "数据库分布和链路管理" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/6.\344\272\213\345\212\241\347\256\241\347\220\206/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/6.\344\272\213\345\212\241\347\256\241\347\220\206/config.json" index 189205dc2d0c437a32525efe04c57801bc214f02..778768db1b425db0eca2c81227c8faf5949cf05f 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/6.\344\272\213\345\212\241\347\256\241\347\220\206/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/6.\344\272\213\345\212\241\347\256\241\347\220\206/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-539923037c6a46b5b1ad94f6059a01fd", + "node_id": "ob-9d7b7e878a364a82a3b4362ed78c7803", "title": "事务管理" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/7.\347\224\250\346\210\267\346\235\203\351\231\220\347\256\241\347\220\206/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/7.\347\224\250\346\210\267\346\235\203\351\231\220\347\256\241\347\220\206/config.json" index e0acbd7e9951f1447b6b2ef8102f65a198aa66c3..baf87f0f0ede5147b31603ad5a30bb380f117360 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/7.\347\224\250\346\210\267\346\235\203\351\231\220\347\256\241\347\220\206/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/7.\347\224\250\346\210\267\346\235\203\351\231\220\347\256\241\347\220\206/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-3d5e9c3efc2447cfabf92042ec2f1e8b", + "node_id": "ob-1f1088a4c2214c50a7e2a36cfa8a75a8", "title": "用户权限管理" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/8.\346\225\260\346\215\256\351\253\230\345\217\257\347\224\250/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/8.\346\225\260\346\215\256\351\253\230\345\217\257\347\224\250/config.json" index 869c6c0371cad8c5e536a330360656117bbee86a..7bcaf92152614a793c6479cc052d8185a171d7ea 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/8.\346\225\260\346\215\256\351\253\230\345\217\257\347\224\250/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/8.\346\225\260\346\215\256\351\253\230\345\217\257\347\224\250/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-6b15f53d05dc48ae8ba5459334e14533", + "node_id": "ob-7ed2708b1407433794ab475437749b6e", "title": "数据高可用" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/config.json" index 08f57a973ecc462ce842ac345c0d1163c7a0b27f..b166b0096b097ca25c929983825ab7c2cf1a3576 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/1.\347\256\241\347\220\206\345\221\230\346\214\207\345\215\227/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-1aa1f8af64dc43fca95163e01ced58b1", + "node_id": "ob-799a2e57c16c48cb9db7756365234b26", "title": "管理员指南" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/10.\344\272\213\345\212\241\344\277\235\345\255\230\347\202\271/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/10.\344\272\213\345\212\241\344\277\235\345\255\230\347\202\271/config.json" index 532e573ad3444dc367602541e30f68d3e7bec5e1..a4c628a107cf5a6e82a6e78bce8f529f6e9a9b13 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/10.\344\272\213\345\212\241\344\277\235\345\255\230\347\202\271/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/10.\344\272\213\345\212\241\344\277\235\345\255\230\347\202\271/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-18974cc7c0b7434fa77fc3d5e7e6eeba", + "node_id": "ob-a16e1992943c444ab01d885294fb5474", "title": "事务保存点" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/11.\344\272\213\345\212\241\350\266\205\346\227\266/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/11.\344\272\213\345\212\241\350\266\205\346\227\266/config.json" index 52c840ad80279187d3f13ff5e717b615073541c5..f0cbf5c8dfe5ab0fa7ee5f5bb4d1a913414d16d5 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/11.\344\272\213\345\212\241\350\266\205\346\227\266/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/11.\344\272\213\345\212\241\350\266\205\346\227\266/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-f167b583bd154a468f7748da99330693", + "node_id": "ob-f91c9ce7233e4c83a2cb476963b4682c", "title": "事务超时" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/12.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\350\241\250/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/12.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\350\241\250/config.json" index 90f6e416aa961b3eacba92b0760c8999e5ed85dd..41a64741d515d6b4fee4d671245ef785d01c6314 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/12.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\350\241\250/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/12.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\350\241\250/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-c13e52bd07294f7ea94a025436658e18", + "node_id": "ob-6cf0404835ee406c914db0a311dab7db", "title": "创建和管理表" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/13.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\345\210\206\345\214\272\350\241\250/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/13.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\345\210\206\345\214\272\350\241\250/config.json" index a5952e7a9bdb08fb6af3912a9c4badfabf443c88..f4210116fcb7daac7b3743638a0bf1c89d9b192d 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/13.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\345\210\206\345\214\272\350\241\250/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/13.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\345\210\206\345\214\272\350\241\250/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-b1093113f6a349a096f9259fce155d11", + "node_id": "ob-3ba77eca63574cd3a1ded9b4e22053fb", "title": "创建和管理分区表" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/14.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\350\241\250\347\273\204/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/14.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\350\241\250\347\273\204/config.json" index 43936231d23cfd950276e799afc284801331bbd7..fd8c4d4bcd71b951b2c908b2e3a2de7570393ff4 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/14.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\350\241\250\347\273\204/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/14.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\350\241\250\347\273\204/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-6624753925a54634aa9f995024130db5", + "node_id": "ob-f859f7e05996436aae79d84abb787d77", "title": "创建和管理表组" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/15.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\350\247\206\345\233\276/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/15.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\350\247\206\345\233\276/config.json" index 8acda8adf0703fbfc662466511b045b20e7d2367..c300933e610e952b7b5b549eee1bf2b3ffd79ec3 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/15.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\350\247\206\345\233\276/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/15.\345\210\233\345\273\272\345\222\214\347\256\241\347\220\206\350\247\206\345\233\276/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-242155c0caf846b1b0862c969da53f21", + "node_id": "ob-e1173a9545f94652bc68383ac3540c3a", "title": "创建和管理视图" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/16.\350\277\201\347\247\273\345\222\214\345\220\214\346\255\245/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/16.\350\277\201\347\247\273\345\222\214\345\220\214\346\255\245/config.json" index 671bfb16a5c2194ab060d85ad1def0afbf894e12..fe2d35664c66dff3d04acb31620044aff04f963c 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/16.\350\277\201\347\247\273\345\222\214\345\220\214\346\255\245/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/16.\350\277\201\347\247\273\345\222\214\345\220\214\346\255\245/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-cdc5f596c1d64103a3c139e470a0df1b", + "node_id": "ob-b759630e2e1344b68c5f358f06751b21", "title": "迁移和同步" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/1.\346\225\260\346\215\256\345\272\223\351\233\206\347\276\244/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/1.\346\225\260\346\215\256\345\272\223\351\233\206\347\276\244/config.json" index f3f7c8b749fd66b9ddfb430ddce8086b996c5029..72c85ce817886e00170f52d90cd00af6a5e9e7a4 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/1.\346\225\260\346\215\256\345\272\223\351\233\206\347\276\244/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/1.\346\225\260\346\215\256\345\272\223\351\233\206\347\276\244/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-43de7039f5b64679b681eb361c0aaee7", + "node_id": "ob-005963893ef748439ec3f0eee2a62213", "title": "数据库集群" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/2.OceanBase\347\247\237\346\210\267/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/2.OceanBase\347\247\237\346\210\267/config.json" index 04ac5ab1a256190029b665d75398abd67d76046a..8f31344a01f81393ac2fae73897fc51c4a3df8eb 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/2.OceanBase\347\247\237\346\210\267/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/2.OceanBase\347\247\237\346\210\267/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-8ef5ac8069114f5f87f50a856cdde5eb", + "node_id": "ob-4836c61e243a42b787aec151f427b0d9", "title": "OceanBase租户" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/3.MySQL\347\247\237\346\210\267/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/3.MySQL\347\247\237\346\210\267/config.json" index b628b5164ed699c7c02e17575c375bf5fb62fedc..c03ef1be83f8b7beecafed4094ada4af9d27602d 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/3.MySQL\347\247\237\346\210\267/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/3.MySQL\347\247\237\346\210\267/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-f7ca41020acd4ba7a1bfa7c7fe1db5e2", + "node_id": "ob-dcb605252ba849c2b5d096fef3795166", "title": "MySQL租户" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/4.MySQL\345\256\242\346\210\267\347\253\257/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/4.MySQL\345\256\242\346\210\267\347\253\257/config.json" index 7bf80a1a06b500d3d9bc3eb3e934d1b9fd7f749b..f599e67465892e00ef3e4482851af1739d421c7d 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/4.MySQL\345\256\242\346\210\267\347\253\257/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/4.MySQL\345\256\242\346\210\267\347\253\257/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-e605cdbd6dd14f5a9cb86038397613c1", + "node_id": "ob-e60b13f766254d8992e0e89e3b7bc195", "title": "MySQL客户端" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/5.OceanBase\345\256\242\346\210\267\347\253\257/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/5.OceanBase\345\256\242\346\210\267\347\253\257/config.json" index c5977e544fcd2110c2389e9785434481934fde55..3393e136eb08088bdb1899d25f57cd100c72a2cf 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/5.OceanBase\345\256\242\346\210\267\347\253\257/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/5.OceanBase\345\256\242\346\210\267\347\253\257/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-fc2b0b1d033047b3827889e112d8e9c4", + "node_id": "ob-7a36da0b55c84453bf1d631151b6ecd7", "title": "OceanBase客户端" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/6.\347\273\223\346\236\204\345\214\226\346\237\245\350\257\242\350\257\255\350\250\200/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/6.\347\273\223\346\236\204\345\214\226\346\237\245\350\257\242\350\257\255\350\250\200/config.json" index 93b6924a95b2b0ef26595c474e4bfc9968676c30..c26085b6ab07e144f2acfd4cf22eea7c7ddac061 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/6.\347\273\223\346\236\204\345\214\226\346\237\245\350\257\242\350\257\255\350\250\200/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/6.\347\273\223\346\236\204\345\214\226\346\237\245\350\257\242\350\257\255\350\250\200/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-21f2d54deae642e2b98a5f678ccdff9d", + "node_id": "ob-99c7949b37754d6dbaad025b89ffe92e", "title": "结构化查询语言" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/7.Java\350\277\236\346\216\245\351\251\261\345\212\250/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/7.Java\350\277\236\346\216\245\351\251\261\345\212\250/config.json" index c173cedff44a835b00871b781b874da968cd3269..8099245d4b1e932f49c53bc6f622c32833d0ae20 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/7.Java\350\277\236\346\216\245\351\251\261\345\212\250/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/7.Java\350\277\236\346\216\245\351\251\261\345\212\250/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-cb4507b2ad80426597c38f904d7630f1", + "node_id": "ob-22ed99032fd94d1fa14d88f1b43fb87a", "title": "Java连接驱动" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/8.\345\256\236\344\276\213\346\225\260\346\215\256\345\272\223/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/8.\345\256\236\344\276\213\346\225\260\346\215\256\345\272\223/config.json" index a18d2b52b893c4bcabc16878504c4c8d9bac6d9b..adde3ce8365a6a7a5e20fbf97dce40c81d938977 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/8.\345\256\236\344\276\213\346\225\260\346\215\256\345\272\223/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/8.\345\256\236\344\276\213\346\225\260\346\215\256\345\272\223/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-89c1e279cee04b109e40a05eea4ee800", + "node_id": "ob-e6459b45729b4257bb0ee6aad88b9a9c", "title": "实例数据库" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/config.json" index 81acb7e534b3e58b5de10952cfbb98ce5d2636c8..e2239ac044fabc940042eedbb9e04df9dbfa9b0e 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/2.\345\274\200\345\217\221\350\200\205\346\214\207\345\215\227/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-92dff9fcbf0240aba97d1ff9af97ba99", + "node_id": "ob-ab747f1d6b0b4d14af766b3dcb193786", "title": "开发者指南" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/3.\350\241\250\346\237\245\350\257\242/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/3.\350\241\250\346\237\245\350\257\242/config.json" index 3e4bcded4fdcff182a43d670e4b419a60e35474e..85f99a789180905c64cf662385abc21e067eda83 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/3.\350\241\250\346\237\245\350\257\242/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/3.\350\241\250\346\237\245\350\257\242/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-c716d8ca9e63427fb8165472b61d90ad", + "node_id": "ob-fca45361db8c421cbae40e3ea3ea30a3", "title": "表查询" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/4.INSERT/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/4.INSERT/config.json" index cd1b0c0f4ed3d6b07263bfa2d1ba9c900f271269..ebb644fa01408894d34d9eb85fd59d8d94d24cea 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/4.INSERT/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/4.INSERT/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-15c6b14ca7624e528c1a4ca5df8c1980", + "node_id": "ob-efdc5f052bd6480cb59ef82791a3fbfb", "title": "INSERT" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/5.UPDATE/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/5.UPDATE/config.json" index 8d4505b9e419fea1045b2f181d118dfd8639a6c1..3445fd9feec75b500e56c94beeff9dc3520615e1 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/5.UPDATE/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/5.UPDATE/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-213bc6f5a4ec449fa3d4efced8403bd6", + "node_id": "ob-ebc8f0b58f7c4dcfa8ebb3d7f3dd8221", "title": "UPDATE" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/6.DELETE/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/6.DELETE/config.json" index 41fcff7fa8742854666f50ebed9a7680436b937a..5171044e7b3e5b4f349f595485f957f43234aa42 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/6.DELETE/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/6.DELETE/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-c1c3b2a58aa04d97b6f06481239b2487", + "node_id": "ob-2790316c37e744439ed7a595e43e9925", "title": "DELETE" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/7.REPLACE/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/7.REPLACE/config.json" index 982db8817d8d9887c24a42f920f307558b2499cb..6f8655147b21aeac2d275d09c1833f18fd105de0 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/7.REPLACE/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/7.REPLACE/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-ffdef42f321b4e9da804e50d24033d35", + "node_id": "ob-cbc6c19dabf84f7382198ff29d47aff0", "title": "REPLACE" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/8.\346\217\220\344\272\244\344\272\213\345\212\241/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/8.\346\217\220\344\272\244\344\272\213\345\212\241/config.json" index 51445219479f9b2da48351d8780dfda731cf5b5b..a7f994b36afb9409951a19656711508cb5d24bfc 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/8.\346\217\220\344\272\244\344\272\213\345\212\241/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/8.\346\217\220\344\272\244\344\272\213\345\212\241/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-5be80fbafdab400cb2581495c19b8c46", + "node_id": "ob-04e7b55f5e2240b78e03dc2cc24bbf4c", "title": "提交事务" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/9.\345\233\236\346\273\232\344\272\213\345\212\241/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/9.\345\233\236\346\273\232\344\272\213\345\212\241/config.json" index 71d5fa8369fb9a6bcf0e34cd06776134a75db8b8..53ebbfbaf7335adc3e5bf2b74ef6f9bd740dbc2d 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/9.\345\233\236\346\273\232\344\272\213\345\212\241/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/9.\345\233\236\346\273\232\344\272\213\345\212\241/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-183a734c8d064b1695f1c3ff296df02a", + "node_id": "ob-9b049efa61f748228242736e2601c615", "title": "回滚事务" } \ No newline at end of file diff --git "a/data/2.OceanBase\344\270\255\351\230\266/config.json" "b/data/2.OceanBase\344\270\255\351\230\266/config.json" index aaefdd84330cc3d0e2412b688114c2c2818071dd..89f062a24f6d31d7bb84d26ec19033dbcce263d0 100644 --- "a/data/2.OceanBase\344\270\255\351\230\266/config.json" +++ "b/data/2.OceanBase\344\270\255\351\230\266/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-e4d079949fa6404a9ab2ab30f7c5edc6", + "node_id": "ob-7c6aa61f496c4a76955e15bd77b8c8b1", "title": "OceanBase中阶" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/1.ob-admin/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/1.ob-admin/config.json" index a8b1dbbe258e092b2466d85995ffdef612dbfecb..2d288093e28d0913e17862c4ce40f682c92b8f64 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/1.ob-admin/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/1.ob-admin/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-72e40f4c5b704d8ebbc55333a92bcd10", + "node_id": "ob-764fbe37c4104a159a788179177db3bf", "title": "ob-admin" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/2.ob-agent/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/2.ob-agent/config.json" index 07db50e7d0e07226353de11050db24eb20db410e..5d31d05062355c94be16d3f4d240b2e4a7139ec7 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/2.ob-agent/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/2.ob-agent/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-f850d34c90be4ad6b4440a1ccb9ec252", + "node_id": "ob-957437fd9b7845f5b44bbdc8975dd637", "title": "ob-agent" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/3.liboblog/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/3.liboblog/config.json" index 129262355533b226c0f3babcc5c8145933afa187..8c73d4fc0822ebb40e02509751e5d0e3422e758d 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/3.liboblog/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/3.liboblog/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-c3953f56cc4d4cbdbfaebe899163c399", + "node_id": "ob-fcc597f83b724d4fac026263688103e9", "title": "liboblog" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/4.oblogproxy/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/4.oblogproxy/config.json" index 964baf8719c930d0d5c01249e94dc1775f4daa94..5e2214be7991274874de8670e7e928cc46e3cf77 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/4.oblogproxy/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/4.oblogproxy/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-acfdf149d041465cbb137b9ee1113a68", + "node_id": "ob-2e91481029474f9bb8e11743e8c87a50", "title": "oblogproxy" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/5.oblogmsg/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/5.oblogmsg/config.json" index f90aba9c144bf317f49c4a5343fefe675fc9ad6a..7abd03dc571deec05ef37dfe6cf1bbdfc5a50e31 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/5.oblogmsg/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/5.oblogmsg/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-4ffc00c8e57a49958fe0a21c406b2e8a", + "node_id": "ob-e3067da3f27247388d8db68dedea91c2", "title": "oblogmsg" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/config.json" index bef12cf00174c0d7fa985c0ae18fd0ebc2109957..3a19002f15f243e94512dbd6faa2b68b885818b8 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/1.\347\224\237\346\200\201\345\267\245\345\205\267/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-fda3afb7b20542b4b0581f640f862863", + "node_id": "ob-623af001479940068ca008d7dc4d8048", "title": "生态工具" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/1.\351\200\232\347\224\250\347\263\273\347\273\237\345\217\202\346\225\260\351\205\215\347\275\256/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/1.\351\200\232\347\224\250\347\263\273\347\273\237\345\217\202\346\225\260\351\205\215\347\275\256/config.json" index d1a42914d8097f779b14d2e68712d2e7a7ff190f..613d8b0323a58bbc837a5f7dde88a2ecaa36c217 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/1.\351\200\232\347\224\250\347\263\273\347\273\237\345\217\202\346\225\260\351\205\215\347\275\256/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/1.\351\200\232\347\224\250\347\263\273\347\273\237\345\217\202\346\225\260\351\205\215\347\275\256/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-bcddfe107fa94f2db475cf3ba8b6cf6c", + "node_id": "ob-7ef4eb15586d4065a72b4fa397e7a5fb", "title": "通用系统参数配置" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/2.\351\273\230\350\256\244\347\224\237\344\272\247\345\217\202\346\225\260\351\205\215\347\275\256/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/2.\351\273\230\350\256\244\347\224\237\344\272\247\345\217\202\346\225\260\351\205\215\347\275\256/config.json" index a3bb18986cfeb1c915d7b78cc9ff96c5ee4cc7dc..cfa3337d9a6e1492ce16fe7725c2a5026d2a8739 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/2.\351\273\230\350\256\244\347\224\237\344\272\247\345\217\202\346\225\260\351\205\215\347\275\256/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/2.\351\273\230\350\256\244\347\224\237\344\272\247\345\217\202\346\225\260\351\205\215\347\275\256/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-3dd02f73d75443829f8d110943321243", + "node_id": "ob-58e375cf2f1a48cb921b773eb34efdab", "title": "默认生产参数配置" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/3.\346\234\200\345\260\217\350\265\204\346\272\220\345\217\202\346\225\260\351\205\215\347\275\256/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/3.\346\234\200\345\260\217\350\265\204\346\272\220\345\217\202\346\225\260\351\205\215\347\275\256/config.json" index c7f3f79ac0487c8b4dcd5a294aaa123e592b509a..156cf2aadf2459d1ff90acd2805f8f76f22e589c 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/3.\346\234\200\345\260\217\350\265\204\346\272\220\345\217\202\346\225\260\351\205\215\347\275\256/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/3.\346\234\200\345\260\217\350\265\204\346\272\220\345\217\202\346\225\260\351\205\215\347\275\256/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-850a30b6277547dfa1d34bfa4ca0d557", + "node_id": "ob-2591af1e55a14c948906706cc7a2cb7b", "title": "最小资源参数配置" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/4.\346\234\200\344\275\263\346\200\247\350\203\275\345\217\202\346\225\260\351\205\215\347\275\256/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/4.\346\234\200\344\275\263\346\200\247\350\203\275\345\217\202\346\225\260\351\205\215\347\275\256/config.json" index 24d5e0230f14ba5fdf5c2a95589ec3f6c22fe9c4..ef0d91a0dbb23fe18d889f98987ff3bfa87b808d 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/4.\346\234\200\344\275\263\346\200\247\350\203\275\345\217\202\346\225\260\351\205\215\347\275\256/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/4.\346\234\200\344\275\263\346\200\247\350\203\275\345\217\202\346\225\260\351\205\215\347\275\256/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-a6c41eab49bf494cad102016646a29e0", + "node_id": "ob-fe0c9f76d5534776b1bdc706be88751e", "title": "最佳性能参数配置" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/config.json" index 6cae560df4aa15b60b1923df4621496929150733..5ed9428de2c16158bc9c38fba9a6edf1f15e5fe7 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/2.\346\234\200\344\275\263\345\256\236\350\267\265/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-f61d0f9a558c468dafb9027b2e42a9b1", + "node_id": "ob-fb64af120b5c4403bfb9dce995028b51", "title": "最佳实践" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/1.\345\255\220\346\237\245\350\257\242/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/1.\345\255\220\346\237\245\350\257\242/config.json" index 418605ff31505604f59ffe09844b5d6421f0e2b6..abac4232fdb390706222059de2b72e42bcd12dd2 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/1.\345\255\220\346\237\245\350\257\242/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/1.\345\255\220\346\237\245\350\257\242/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-5065d39c76f847429b8e39af10b226f8", + "node_id": "ob-51a45bee595a4d3e8e855ad97bafbdfd", "title": "子查询" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/2.\350\277\236\346\216\245\346\237\245\350\257\242/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/2.\350\277\236\346\216\245\346\237\245\350\257\242/config.json" index 760128e156e182d403b1d32cea93e74ff3bcc68d..e27bc0ae5d0fe447aaa94ce24f9515c36edec062 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/2.\350\277\236\346\216\245\346\237\245\350\257\242/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/2.\350\277\236\346\216\245\346\237\245\350\257\242/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-03c93d710d484e928753c100b08a3b5c", + "node_id": "ob-3c76979a5d4541a28db2667f67054a4d", "title": "连接查询" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/3.\346\225\260\346\215\256\345\210\206\346\236\220/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/3.\346\225\260\346\215\256\345\210\206\346\236\220/config.json" index 98490a528a712f0a655bf5c22fdb29975444f50c..e40068c8e687e3f6db93571b5cb0cdef5e8d1d67 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/3.\346\225\260\346\215\256\345\210\206\346\236\220/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/3.\346\225\260\346\215\256\345\210\206\346\236\220/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-efc83dcbe5cb4e64828391fef26b6869", + "node_id": "ob-83b90cfb4ae740e09620f8498178fa1a", "title": "数据分析" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/4.SQL\350\257\267\346\261\202\346\211\247\350\241\214\351\241\272\345\272\217/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/4.SQL\350\257\267\346\261\202\346\211\247\350\241\214\351\241\272\345\272\217/config.json" index efdfff3dfc52c2e7c60f0163ce851f7501bbd35e..3f3af7a5d7ff75d428af167243729ee0ee80fc60 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/4.SQL\350\257\267\346\261\202\346\211\247\350\241\214\351\241\272\345\272\217/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/4.SQL\350\257\267\346\261\202\346\211\247\350\241\214\351\241\272\345\272\217/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-cf0df1911b794d7abb27edca7465c608", + "node_id": "ob-732b80bf22b34dd9bc138b53939e14a8", "title": "SQL请求执行顺序" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/4.\345\207\275\346\225\260/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/4.\345\207\275\346\225\260/config.json" index 8386ebc27e77b9af24b250dd54b4591bc652922f..ea4a9cb14946ca18784b2706d6f83708b06906c2 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/4.\345\207\275\346\225\260/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/4.\345\207\275\346\225\260/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-eee60b66d39147a6ae393334b3ca26b1", + "node_id": "ob-312b3dff536e4efb9ee9d38eec838365", "title": "函数" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/5.SQL\346\211\247\350\241\214\350\256\241\345\210\222/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/5.SQL\346\211\247\350\241\214\350\256\241\345\210\222/config.json" index c465b4685917446b73c5f7953db88d2915c2475f..034a4a939f42d17ce626381199541bb5b2d362d1 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/5.SQL\346\211\247\350\241\214\350\256\241\345\210\222/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/5.SQL\346\211\247\350\241\214\350\256\241\345\210\222/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-5dbadfb2e60b49e9b6fe796ff0813733", + "node_id": "ob-ada3b8f79a044c7fa9a830cd773c045a", "title": "SQL执行计划" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/6.\345\210\206\345\270\203\345\274\217\346\211\247\350\241\214\350\256\241\345\210\222/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/6.\345\210\206\345\270\203\345\274\217\346\211\247\350\241\214\350\256\241\345\210\222/config.json" index 7b4943484d5ea9a2da8cc934831635d2e88bdafa..e7036ae3aab408a114bab6e44f7d940cdd8769dc 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/6.\345\210\206\345\270\203\345\274\217\346\211\247\350\241\214\350\256\241\345\210\222/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/6.\345\210\206\345\270\203\345\274\217\346\211\247\350\241\214\350\256\241\345\210\222/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-1d075127ad8b44aba2086be1d5ecd97a", + "node_id": "ob-7b2c300920524e47bc7b05e25d6e096e", "title": "分布式执行计划" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/7.\344\274\230\345\214\226/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/7.\344\274\230\345\214\226/config.json" index 8e5589ab73e750ce2cdf4c2ffdc3752389b9b031..e58828c61f63d7767b12779e6a67650818870c8d 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/7.\344\274\230\345\214\226/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/7.\344\274\230\345\214\226/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-9bff77915066428eb36907fa8cae457e", + "node_id": "ob-fbaf5f48374f41cd8333839151ac932f", "title": "优化" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/config.json" index e55f78b07d743ee4a95a3bff8b37b6822cf560cb..9c4afe1b717e80e01019e13fcab475d3eb47846c 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/3.\347\274\226\347\250\213\345\222\214\346\237\245\350\257\242/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-2fda0435c133420dbc4c048ab571405f", + "node_id": "ob-09fb30cc8c814755824c1f3c35787048", "title": "编程和查询" } \ No newline at end of file diff --git "a/data/3.OceanBase\351\253\230\351\230\266/config.json" "b/data/3.OceanBase\351\253\230\351\230\266/config.json" index 41bed9b917bddd8f245658560d7c75e872e4c105..71a89585943193806821ce20f23f372d80cf9c96 100644 --- "a/data/3.OceanBase\351\253\230\351\230\266/config.json" +++ "b/data/3.OceanBase\351\253\230\351\230\266/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "c-59a8c215a192470388e31341ad679c47", + "node_id": "ob-4d56098f05734c609fd3c605ad37ba72", "title": "OceanBase高阶" } \ No newline at end of file diff --git a/data/config.json b/data/config.json index 629ad0e410ead4c19e6563f0dea80e141281765c..5d9316926887a0fdf329cb22c301ccf44c4d626f 100644 --- a/data/config.json +++ b/data/config.json @@ -1,6 +1,6 @@ { - "tree_name": "OceanBase", + "tree_name": "oceanbase", "keywords": [], - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "title": "C" + "node_id": "ob-6254ae328788405087e6831a171a0128", + "title": "OceanBase" } \ No newline at end of file diff --git a/data/tree.json b/data/tree.json index 15229b87bc4e9f7c4112ba27b9818f142c7f13a4..06c44ab3bb31bb0c89a742e340de82dfce74d1cc 100644 --- a/data/tree.json +++ b/data/tree.json @@ -1,42 +1,42 @@ { - "OceanBase": { - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "oceanbase": { + "node_id": "ob-6254ae328788405087e6831a171a0128", "keywords": [], "children": [ { "OceanBase初阶": { - "node_id": "c-9304eceab88a41fca82a970dbafc92d8", + "node_id": "ob-f09fe5be766942d787941675c5c0a9bb", "keywords": [], "children": [ { "快速入门": { - "node_id": "c-79d5327189b34b5a90fa74ad32b27305", + "node_id": "ob-a70706dc6bd340fc960132aad2c87707", "keywords": [], "children": [ { "安装OBD": { - "node_id": "c-a4c730f9873b4d1c985048c5e63990cf", + "node_id": "ob-84787e0a055640d2af669b7ff61bd08a", "keywords": [], "children": [] } }, { "使用OBD部署": { - "node_id": "c-e175537376e64d88840ca4d9d1e81610", + "node_id": "ob-3c6f0c81923943bab108563f409738c1", "keywords": [], "children": [] } }, { "问题排查": { - "node_id": "c-15525a96d7f24538a3d449ae623efd48", + "node_id": "ob-853a46feb30842b5bafea317687e04df", "keywords": [], "children": [] } }, { "使用OBD": { - "node_id": "c-9c2a5df2e2c34cf3a1103cd2e2a3267b", + "node_id": "ob-9ebb7b7c868d41b489286a631c86f918", "keywords": [], "children": [] } @@ -46,68 +46,68 @@ }, { "基本操作": { - "node_id": "c-5021529f00ca4b9daa02569d4cddbb24", + "node_id": "ob-ec5c1a3d85db4ac4b51891002c9585db", "keywords": [], "children": [ { "数据库操作": { - "node_id": "c-cae5477828d14b448afb6660947859d0", + "node_id": "ob-013bdab5013c4ce4913233f87592f844", "keywords": [], "children": [] } }, { "表操作": { - "node_id": "c-e675cce191c3420aa85b7c6b96580635", + "node_id": "ob-d9a4ab293b494b1e8b5dcc4bc6e28685", "keywords": [], "children": [] } }, { "索引操作": { - "node_id": "c-c50584a0656e495bb7e800a8b6ceaf77", + "node_id": "ob-22610873050f4f219af2dd3516442690", "keywords": [], "children": [] } }, { "插入数据": { - "node_id": "c-999212d4ca42491ca47f34b936399fcf", + "node_id": "ob-0f74a0152cc54bac9fe0f4875c7b22d3", "keywords": [], "children": [] } }, { "删除数据": { - "node_id": "c-70958f7d51b54425b958cefc6ac45269", + "node_id": "ob-24f2d9140dae40cba5714ad8b91cc233", "keywords": [], "children": [] } }, { "更新数据": { - "node_id": "c-be0d2dee8d904f6cb886a7056d9e46f8", + "node_id": "ob-d4735b0199e041cea568eaf5da3d5bfd", "keywords": [], "children": [] } }, { "查询数据": { - "node_id": "c-a7151df5705f4579bf5f63413385242e", + "node_id": "ob-c9288cdb530e4af789dfc76150e922d8", "keywords": [], "children": [] } }, { "提交事务": { - "node_id": "c-3a77f96aec6e43d7ac98d4d300c02cf5", + "node_id": "ob-511b322d90f9484d9a25108a6ad63aa0", "keywords": [], "children": [] } }, { "回滚事务": { - "node_id": "c-f35dcc63713745a6876ab5d4ff328dfe", + "node_id": "ob-ab9965aed5794e7d84cfad5d10ec5599", "keywords": [], "children": [] } @@ -117,61 +117,61 @@ }, { "整体概览": { - "node_id": "c-cb9ef6b2ddcc4a76a8031f32c4e10ad0", + "node_id": "ob-013816a853dc48469ac7b9cff78de825", "keywords": [], "children": [ { "整体架构": { - "node_id": "c-f599bcb975bd48f89e54e072a988bfb7", + "node_id": "ob-68ab7889257b44979a53385573f73505", "keywords": [], "children": [] } }, { "数据分布": { - "node_id": "c-0dc6506e5e594e30990147b7265bbaa1", + "node_id": "ob-ec3fe81c7bab4cd79c54d6b74e1c1113", "keywords": [], "children": [] } }, { "数据模型": { - "node_id": "c-b9d8c4a7d8a14f398f73c521107017db", + "node_id": "ob-3b0443341ac0408b9488952de107adff", "keywords": [], "children": [] } }, { "高可用": { - "node_id": "c-43e78261e6bb42fe92e5a5c238bf826a", + "node_id": "ob-47ce8e30a33f479594bf6d2ff0da1bfa", "keywords": [], "children": [] } }, { "事务管理": { - "node_id": "c-c2c32929d7c0478d8f93884568b5c13d", + "node_id": "ob-1ec046c02a77404eb53ff06b91573a40", "keywords": [], "children": [] } }, { "存储架构": { - "node_id": "c-5a0baf4394b84466aca8c703366843cc", + "node_id": "ob-b50c55d09413418d90bb648ea9e98c43", "keywords": [], "children": [] } }, { "SQL引擎": { - "node_id": "c-b3ea14fb38134f089c8583d1fd427cf6", + "node_id": "ob-d86684074ed34222b7fb7896de920dc4", "keywords": [], "children": [] } }, { "备份与恢复": { - "node_id": "c-517b0507b9994e7aab49c3af40479af4", + "node_id": "ob-f31680ba954b4a358f9506f3195c84ee", "keywords": [], "children": [] } @@ -184,66 +184,66 @@ }, { "OceanBase中阶": { - "node_id": "c-e4d079949fa6404a9ab2ab30f7c5edc6", + "node_id": "ob-7c6aa61f496c4a76955e15bd77b8c8b1", "keywords": [], "children": [ { "管理员指南": { - "node_id": "c-1aa1f8af64dc43fca95163e01ced58b1", + "node_id": "ob-799a2e57c16c48cb9db7756365234b26", "keywords": [], "children": [ { "数据库基础组件": { - "node_id": "c-a917487b75574a68bb956d210da1170f", + "node_id": "ob-1df64a4e78e94dbdb51b3a233114360a", "keywords": [], "children": [] } }, { "数据库管理工具": { - "node_id": "c-226ffd9c22e9419b912ba9a9ee965307", + "node_id": "ob-1bd2eb6cbd8d439881cd2737cf2996d0", "keywords": [], "children": [] } }, { "数据库基础管理": { - "node_id": "c-d5165a59206347949d45b8f95b7400f2", + "node_id": "ob-a343d533aeea43f08458c09eb810a6a0", "keywords": [], "children": [] } }, { "数据库对象管理": { - "node_id": "c-88118ffc8e1741c6aa44dd1be3606e03", + "node_id": "ob-8e9f8e33ac984fe89b3b9187d3742093", "keywords": [], "children": [] } }, { "数据库分布和链路管理": { - "node_id": "c-52d13d48fb1b4ac4a2ed73cf1f3afd09", + "node_id": "ob-341cfdd78a2a4fb0abe587342bd9b4fa", "keywords": [], "children": [] } }, { "事务管理": { - "node_id": "c-539923037c6a46b5b1ad94f6059a01fd", + "node_id": "ob-9d7b7e878a364a82a3b4362ed78c7803", "keywords": [], "children": [] } }, { "用户权限管理": { - "node_id": "c-3d5e9c3efc2447cfabf92042ec2f1e8b", + "node_id": "ob-1f1088a4c2214c50a7e2a36cfa8a75a8", "keywords": [], "children": [] } }, { "数据高可用": { - "node_id": "c-6b15f53d05dc48ae8ba5459334e14533", + "node_id": "ob-7ed2708b1407433794ab475437749b6e", "keywords": [], "children": [] } @@ -253,110 +253,110 @@ }, { "事务保存点": { - "node_id": "c-18974cc7c0b7434fa77fc3d5e7e6eeba", + "node_id": "ob-a16e1992943c444ab01d885294fb5474", "keywords": [], "children": [] } }, { "事务超时": { - "node_id": "c-f167b583bd154a468f7748da99330693", + "node_id": "ob-f91c9ce7233e4c83a2cb476963b4682c", "keywords": [], "children": [] } }, { "创建和管理表": { - "node_id": "c-c13e52bd07294f7ea94a025436658e18", + "node_id": "ob-6cf0404835ee406c914db0a311dab7db", "keywords": [], "children": [] } }, { "创建和管理分区表": { - "node_id": "c-b1093113f6a349a096f9259fce155d11", + "node_id": "ob-3ba77eca63574cd3a1ded9b4e22053fb", "keywords": [], "children": [] } }, { "创建和管理表组": { - "node_id": "c-6624753925a54634aa9f995024130db5", + "node_id": "ob-f859f7e05996436aae79d84abb787d77", "keywords": [], "children": [] } }, { "创建和管理视图": { - "node_id": "c-242155c0caf846b1b0862c969da53f21", + "node_id": "ob-e1173a9545f94652bc68383ac3540c3a", "keywords": [], "children": [] } }, { "迁移和同步": { - "node_id": "c-cdc5f596c1d64103a3c139e470a0df1b", + "node_id": "ob-b759630e2e1344b68c5f358f06751b21", "keywords": [], "children": [] } }, { "开发者指南": { - "node_id": "c-92dff9fcbf0240aba97d1ff9af97ba99", + "node_id": "ob-ab747f1d6b0b4d14af766b3dcb193786", "keywords": [], "children": [ { "数据库集群": { - "node_id": "c-43de7039f5b64679b681eb361c0aaee7", + "node_id": "ob-005963893ef748439ec3f0eee2a62213", "keywords": [], "children": [] } }, { "OceanBase租户": { - "node_id": "c-8ef5ac8069114f5f87f50a856cdde5eb", + "node_id": "ob-4836c61e243a42b787aec151f427b0d9", "keywords": [], "children": [] } }, { "MySQL租户": { - "node_id": "c-f7ca41020acd4ba7a1bfa7c7fe1db5e2", + "node_id": "ob-dcb605252ba849c2b5d096fef3795166", "keywords": [], "children": [] } }, { "MySQL客户端": { - "node_id": "c-e605cdbd6dd14f5a9cb86038397613c1", + "node_id": "ob-e60b13f766254d8992e0e89e3b7bc195", "keywords": [], "children": [] } }, { "OceanBase客户端": { - "node_id": "c-fc2b0b1d033047b3827889e112d8e9c4", + "node_id": "ob-7a36da0b55c84453bf1d631151b6ecd7", "keywords": [], "children": [] } }, { "结构化查询语言": { - "node_id": "c-21f2d54deae642e2b98a5f678ccdff9d", + "node_id": "ob-99c7949b37754d6dbaad025b89ffe92e", "keywords": [], "children": [] } }, { "Java连接驱动": { - "node_id": "c-cb4507b2ad80426597c38f904d7630f1", + "node_id": "ob-22ed99032fd94d1fa14d88f1b43fb87a", "keywords": [], "children": [] } }, { "实例数据库": { - "node_id": "c-89c1e279cee04b109e40a05eea4ee800", + "node_id": "ob-e6459b45729b4257bb0ee6aad88b9a9c", "keywords": [], "children": [] } @@ -366,49 +366,49 @@ }, { "表查询": { - "node_id": "c-c716d8ca9e63427fb8165472b61d90ad", + "node_id": "ob-fca45361db8c421cbae40e3ea3ea30a3", "keywords": [], "children": [] } }, { "INSERT": { - "node_id": "c-15c6b14ca7624e528c1a4ca5df8c1980", + "node_id": "ob-efdc5f052bd6480cb59ef82791a3fbfb", "keywords": [], "children": [] } }, { "UPDATE": { - "node_id": "c-213bc6f5a4ec449fa3d4efced8403bd6", + "node_id": "ob-ebc8f0b58f7c4dcfa8ebb3d7f3dd8221", "keywords": [], "children": [] } }, { "DELETE": { - "node_id": "c-c1c3b2a58aa04d97b6f06481239b2487", + "node_id": "ob-2790316c37e744439ed7a595e43e9925", "keywords": [], "children": [] } }, { "REPLACE": { - "node_id": "c-ffdef42f321b4e9da804e50d24033d35", + "node_id": "ob-cbc6c19dabf84f7382198ff29d47aff0", "keywords": [], "children": [] } }, { "提交事务": { - "node_id": "c-5be80fbafdab400cb2581495c19b8c46", + "node_id": "ob-04e7b55f5e2240b78e03dc2cc24bbf4c", "keywords": [], "children": [] } }, { "回滚事务": { - "node_id": "c-183a734c8d064b1695f1c3ff296df02a", + "node_id": "ob-9b049efa61f748228242736e2601c615", "keywords": [], "children": [] } @@ -418,45 +418,45 @@ }, { "OceanBase高阶": { - "node_id": "c-59a8c215a192470388e31341ad679c47", + "node_id": "ob-4d56098f05734c609fd3c605ad37ba72", "keywords": [], "children": [ { "生态工具": { - "node_id": "c-fda3afb7b20542b4b0581f640f862863", + "node_id": "ob-623af001479940068ca008d7dc4d8048", "keywords": [], "children": [ { "ob-admin": { - "node_id": "c-72e40f4c5b704d8ebbc55333a92bcd10", + "node_id": "ob-764fbe37c4104a159a788179177db3bf", "keywords": [], "children": [] } }, { "ob-agent": { - "node_id": "c-f850d34c90be4ad6b4440a1ccb9ec252", + "node_id": "ob-957437fd9b7845f5b44bbdc8975dd637", "keywords": [], "children": [] } }, { "liboblog": { - "node_id": "c-c3953f56cc4d4cbdbfaebe899163c399", + "node_id": "ob-fcc597f83b724d4fac026263688103e9", "keywords": [], "children": [] } }, { "oblogproxy": { - "node_id": "c-acfdf149d041465cbb137b9ee1113a68", + "node_id": "ob-2e91481029474f9bb8e11743e8c87a50", "keywords": [], "children": [] } }, { "oblogmsg": { - "node_id": "c-4ffc00c8e57a49958fe0a21c406b2e8a", + "node_id": "ob-e3067da3f27247388d8db68dedea91c2", "keywords": [], "children": [] } @@ -466,33 +466,33 @@ }, { "最佳实践": { - "node_id": "c-f61d0f9a558c468dafb9027b2e42a9b1", + "node_id": "ob-fb64af120b5c4403bfb9dce995028b51", "keywords": [], "children": [ { "通用系统参数配置": { - "node_id": "c-bcddfe107fa94f2db475cf3ba8b6cf6c", + "node_id": "ob-7ef4eb15586d4065a72b4fa397e7a5fb", "keywords": [], "children": [] } }, { "默认生产参数配置": { - "node_id": "c-3dd02f73d75443829f8d110943321243", + "node_id": "ob-58e375cf2f1a48cb921b773eb34efdab", "keywords": [], "children": [] } }, { "最小资源参数配置": { - "node_id": "c-850a30b6277547dfa1d34bfa4ca0d557", + "node_id": "ob-2591af1e55a14c948906706cc7a2cb7b", "keywords": [], "children": [] } }, { "最佳性能参数配置": { - "node_id": "c-a6c41eab49bf494cad102016646a29e0", + "node_id": "ob-fe0c9f76d5534776b1bdc706be88751e", "keywords": [], "children": [] } @@ -502,61 +502,61 @@ }, { "编程和查询": { - "node_id": "c-2fda0435c133420dbc4c048ab571405f", + "node_id": "ob-09fb30cc8c814755824c1f3c35787048", "keywords": [], "children": [ { "子查询": { - "node_id": "c-5065d39c76f847429b8e39af10b226f8", + "node_id": "ob-51a45bee595a4d3e8e855ad97bafbdfd", "keywords": [], "children": [] } }, { "连接查询": { - "node_id": "c-03c93d710d484e928753c100b08a3b5c", + "node_id": "ob-3c76979a5d4541a28db2667f67054a4d", "keywords": [], "children": [] } }, { "数据分析": { - "node_id": "c-efc83dcbe5cb4e64828391fef26b6869", + "node_id": "ob-83b90cfb4ae740e09620f8498178fa1a", "keywords": [], "children": [] } }, { "SQL请求执行顺序": { - "node_id": "c-cf0df1911b794d7abb27edca7465c608", + "node_id": "ob-732b80bf22b34dd9bc138b53939e14a8", "keywords": [], "children": [] } }, { "函数": { - "node_id": "c-eee60b66d39147a6ae393334b3ca26b1", + "node_id": "ob-312b3dff536e4efb9ee9d38eec838365", "keywords": [], "children": [] } }, { "SQL执行计划": { - "node_id": "c-5dbadfb2e60b49e9b6fe796ff0813733", + "node_id": "ob-ada3b8f79a044c7fa9a830cd773c045a", "keywords": [], "children": [] } }, { "分布式执行计划": { - "node_id": "c-1d075127ad8b44aba2086be1d5ecd97a", + "node_id": "ob-7b2c300920524e47bc7b05e25d6e096e", "keywords": [], "children": [] } }, { "优化": { - "node_id": "c-9bff77915066428eb36907fa8cae457e", + "node_id": "ob-fbaf5f48374f41cd8333839151ac932f", "keywords": [], "children": [] } diff --git a/main.py b/main.py new file mode 100644 index 0000000000000000000000000000000000000000..08e822cbc0ffe687103d2ba02386e5a5c9714609 --- /dev/null +++ b/main.py @@ -0,0 +1,4 @@ +from src.tree import gen_tree + +if __name__ == '__main__': + gen_tree('data') diff --git a/src/common/__init__.py b/src/common/__init__.py deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/src/common/command_line.py b/src/common/command_line.py deleted file mode 100644 index b30fe941cfaf3d066f798dd8756ddb7d1f80cd31..0000000000000000000000000000000000000000 --- a/src/common/command_line.py +++ /dev/null @@ -1,81 +0,0 @@ -# -*- coding: UTF-8 -*- - -import importlib - - -def dispatch(config, options, actions, targets): - ''' 分发命令行 action ''' - action_len = len(actions) - if action_len < 2: - return - - index = 1 - next = targets - action = actions[index] - print(f"[命令路由中..]: {actions[0]}") - - while action_len >= index: - if type(next) == type({}): - if index == action_len: - if next.get('run') != None: - print(f"[命令路由执行]:", '->'.join(actions)) - next['run']() - break - - action = actions[index] - if next.get(action) != None: - print(f"[命令路由中..]: {action}") - next = next[action] - index += 1 - else: - print("[命令路由错误]: 未找到支持的命令行路由:", '->'.join(actions)) - index += 1 - else: - print(f"[命令路由执行]:", '->'.join(actions)) - - next() - index += 1 - break - - -def dispatch_runner(config, options, actions, targets): - ''' 分发命令行 action ''' - action_len = len(actions) - if action_len < 2: - return - - def load_and_run(target): - modules = target.split('.') - class_pos = len(modules)-2 - path_pos = len(modules)-1 - - if class_pos >= 0 and modules[class_pos][0].isupper(): - constructor = modules[class_pos] - runner = modules[path_pos] - module_path = '.'.join(modules[:class_pos]) - importlib.import_module(module_path).__getattribute__( - constructor)(config, options).__getattribute__(runner)() - else: - runner = modules[path_pos] - - module_path = '.'.join(modules[:path_pos]) - importlib.import_module(module_path).__getattribute__( - runner)(config, options) - - index = 1 - next = targets - while action_len >= index: - if type(next) == type({}): - if index == action_len: - if next.get('run') != None: - load_and_run(next['run']) - break - - action = actions[index] - if next.get(action) != None: - next = next[action] - index += 1 - else: - load_and_run(next) - index += 1 - break diff --git a/src/common/logger.py b/src/common/logger.py deleted file mode 100644 index b873aa28b5d257ad6bbd220cb46d44b58d2ffdc4..0000000000000000000000000000000000000000 --- a/src/common/logger.py +++ /dev/null @@ -1,77 +0,0 @@ -# -*- coding: UTF-8 -*- -import os -import logging -import platform - -from logging.handlers import RotatingFileHandler - - -def is_osx(): - p = platform.platform() - return p.find('macOS') >= 0 or p.find('Darwin') >= 0 - - -def get_root_log_dir(config, options): - action = 'default' - if options.action: - action = options.action - if is_osx(): - return '/tmp/csdn/ai/{}'.format(action) - else: - is_dev = (options.cluster is None) or (options.cluster == 'dev') - if is_dev: - return '../log/csdn/ai/{}'.format(action) - else: - return '/var/csdn/csdn/ai/{}'.format(action) - - -class TruncatedFileHandler(RotatingFileHandler): - ''' - 日志文件按固定大小自动分割 - ''' - - def __init__(self, filename, mode='a', maxBytes=0, encoding=None, delay=0): - super(TruncatedFileHandler, self).__init__( - filename, mode, maxBytes, 0, encoding, delay) - - def doRollover(self): - """Truncate the file""" - if self.stream: - self.stream.close() - dfn = self.baseFilename + ".1" - if os.path.exists(dfn): - os.remove(dfn) - os.rename(self.baseFilename, dfn) - os.remove(dfn) - self.mode = 'w' - self.stream = self._open() - - -def init_log(config, options): - # 创建日志目录 - root_log_dir = get_root_log_dir(config, options) - os.makedirs(root_log_dir, exist_ok=True) - print('root_log_dir:', root_log_dir) - - # 文件日志控制器 - log_filename = root_log_dir+'/app.log' - file_handler = TruncatedFileHandler(log_filename, "w", 10*1024) - - # 控制台日志控制器 - console_handler = logging.StreamHandler() - - # 日志配置 - logging.basicConfig( - # 日志格式 - format="[%(levelname)s][%(asctime)s][%(filename)s:%(lineno)d at %(funcName)s]: %(message)s", - # 日期格式 - datefmt='%Y-%m-%d %H:%M:%S', - # 日志级别 - level=logging.INFO, - # 输出目标,日志文件+控制台 - handlers=[ - file_handler, - console_handler - ] - ) - diff --git a/src/config/__init__.py b/src/config/__init__.py deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/src/config/config.py b/src/config/config.py deleted file mode 100644 index 4ec9edd25f872a0503371bd0d603b3d95735095b..0000000000000000000000000000000000000000 --- a/src/config/config.py +++ /dev/null @@ -1,57 +0,0 @@ -# -*- coding: UTF-8 -*- -import os -import json -from lib.apollo import ApolloClient - - -def load_apollo_config(options): - ''' - 阿波罗配置加载 - === - * 如果是 `pro` 环境,则使用线上配置 - * 否则,使用内网配置 - ''' - config_url = None - if options.cluster == 'pro': - config_url = 'http://pro.config.csdn.net:8080' - elif options.cluster == 'fat': - config_url = 'http://fat.config.csdn.net:8080' - elif options.cluster == 'uat': - config_url = 'http://uat.config.csdn.net:8080' - else: - config_url = 'http://dev.config.csdn.net:8080' - - client = ApolloClient( - app_id="949", - cluster="default", - config_url=config_url, - start_hot_update=False - ) - config = client.get_value("csdn-ai", namespace="application") - return json.loads(config) - - -def load_config(options, args): - ''' - 配置加载 - === - * 如果本地 config/config 目录下存在配置,则使用本地配置文件 - * 如果本地 config/config 目录下不存在配置, - * 默认使用 阿波罗配置中心 cluster=dev 配置 - * 如果指定 --cluster,则使用指定 cluster 的阿波罗配置中心的配置 - ''' - profile_path = "config/config/{}.json".format(options.profile) - config = None - if options.cluster: - config = load_apollo_config(options) - else: - if os.path.exists(profile_path): - with open(profile_path, "r") as f: - config = json.loads(f.read()) - else: - # try: - # options.cluster = 'dev' - # config = load_apollo_config(options) - # except: - config = {} - return config diff --git a/src/main.py b/src/main.py deleted file mode 100644 index 29f11500e0466f56b1dd42a3fcf0d6fe511d170b..0000000000000000000000000000000000000000 --- a/src/main.py +++ /dev/null @@ -1,92 +0,0 @@ -# -*- coding: UTF-8 -*- -from common.logger import init_log - -from config.config import load_config -from options import parse_options, show_help -from tree import gen_tree -from os import walk -import os.path - - -def test(config, options, actions): - import test as test - test.dispatch(config, options, actions) - - -def readall(path): - with open(path) as f: - return f.read() - - -def write(path, data): - with open(path, "w") as f: - f.write(data) - - -def makeup(): - for dir, sub_dirs, files in walk("../data"): - for fname in files: - _, ext = os.path.splitext(fname) - if ext == ".md": - full_path = os.path.join(dir, fname) - content = readall(full_path) - lines = content.split("\n") - new_lines = [] - flag = False - in_block = False - for line in lines: - new_line = line - if line.startswith("```"): - if in_block: - in_block = False - else: - in_block = True - if line[3:] != "": - continue - else: - new_line = line + 'c' - flag = True - - new_lines.append(new_line) - - if flag: - content = "\n".join(new_lines) - write(full_path, content) - - -def tree(config, options, actions): - import test as test - gen_tree("../data") - - -def run(options): - # 操作入口 - if options.action is not None: - actions = options.action.split('.') - if len(actions) == 0: - return - - print('@init config...') - config = load_config(options, args) - print('') - - print('@init log...') - init_log(config, options) - print('') - - print('@dispatch action:{}...'.format(options.action)) - root_action = actions[0] - next = actions[1:] - dispatch = { - 'test': lambda: test(config, options, next), - 'tree': lambda: tree(config, options, next), - 'makeup': lambda: makeup() - } - dispatch[root_action]() - else: - show_help() - - -if __name__ == "__main__": - [options, args] = parse_options() - run(options) diff --git a/src/options.py b/src/options.py deleted file mode 100644 index 26dd98ea5eb4f6842079fbb89dd12547ad4de252..0000000000000000000000000000000000000000 --- a/src/options.py +++ /dev/null @@ -1,203 +0,0 @@ -from optparse import OptionParser - - -def parse_common_options(parser): - ''' - ## 公共选项 - * -t 或者 --tag_id : 某个操作限制到指定tag_id的数据范围 - * --reset: 重置选项 - * --tag_name: 标签名字 - * --model: 模型名字 - * --log: 日志级别 - * --train: 训练 - * --port: 端口 - * --show_config: 显示配置 - * --count: 指定数量 - * --query: 自定义查询 - ''' - parser.add_option( - "-t", "--tag_id", - dest="tag_id", - help="tag_id", - metavar="TAG_ID" - ) - - parser.add_option( - "--reset", - dest="reset", - help="reset", - action="store_true", - metavar="RESET" - ) - - parser.add_option( - "--tag_name", - dest="tag_name", - help="tag_name", - metavar="TAG_NAME" - ) - - parser.add_option( - "--model", - dest="model", - help="model", - metavar="MODEL" - ) - - parser.add_option( - "--log", - dest="log", - help="log", - metavar="LOG" - ) - - parser.add_option( - "--train", - dest="train", - help="train", - action="store_true", - metavar="TRAIN" - ) - - parser.add_option( - "--port", - dest="port", - help="port", - metavar="PORT" - ) - - parser.add_option( - "--server", - dest="server", - help="server", - metavar="SERVER" - ) - - parser.add_option( - "--show_config", - dest="show_config", - help="show_config", - metavar="SHOW_CONFIG" - ) - - parser.add_option( - "--count", - dest="count", - help="count", - metavar="COUNT" - ) - - parser.add_option( - "--query", - dest="query", - help="query", - metavar="QUERY" - ) - - -def parse_profile_options(parser): - ''' - ## 环境配置选项 - * -p 或 --profile 指定配置环境,可选的有 `dev`, `fat`, `pre`, `pro` - * 如果本地 config/config 目录下存在配置,则使用本地配置文件 - * 如果本地 config/config 目录下不存在配置, - * 默认使用 阿波罗配置中心 cluster=dev 配置 - * 如果指定 --cluster,则使用指定 cluster 的阿波罗配置中心的配置 - ''' - - parser.add_option( - "-p", "--profile", - dest="profile", - help="profile", - default='pro', - metavar="PROFILE" - ) - - parser.add_option( - "--cluster", - dest="cluster", - help="cluster", - metavar="REMOTE" - ) - - -def parse_action_options(parser): - ''' - ## 操作选项 - * -a 或 --action 指定了操作目标,多级目标用点号分割,例如: - * -a dataset.build.tag.all - * -a server.ask - * -a test.code - * 参考[README](./README.md) - ''' - parser.add_option( - "-a", "--action", - dest="action", - help="action", - metavar="ACTION" - ) - - -def parse_test_options(parser): - ''' - ## 测试选项 - 执行 -a test.xx 测试时默认执行冒烟测试,下面的选项改变行为 - * --label 指定执行测试并生成待标注数据 - * --count 指定标注上限 - ''' - parser.add_option( - "--label", - dest="label", - help="label", - action="store_true", - metavar="LABEL" - ) - - -def parse_db_options(parser): - ''' - ## 数据库 migrate 选项 - * --message 传入一个消息变量,db.migrate action 接收此参数 - * --revision 传入版本参数,db.upgrade, db.downgrade, db.stamp, db.show, db.edit 接受此参数 - ''' - parser.add_option( - "--message", - dest="message", - help="message", - metavar="MESSAGE" - ) - parser.add_option( - "--revision", - dest="revision", - help="revision", - metavar="REVISION" - ) - - -def parse_options(): - parser = OptionParser() - - parse_common_options(parser) - parse_profile_options(parser) - parse_action_options(parser) - parse_test_options(parser) - parse_db_options(parser) - - (options, args) = parser.parse_args() - return [options, args] - - -def show_help(): - ''' - 命令行选项说明: - == - ''' - - help = '\n'.join([ - show_help.__doc__, - parse_common_options.__doc__, - parse_profile_options.__doc__, - parse_action_options.__doc__ - ]) - - print(help) diff --git a/src/tree.py b/src/tree.py index 0c64f2dd9d7e3a877c22e2dcbca26d1f6526e43d..c500a6b3def83a96a84480790579fd34e439fa9e 100644 --- a/src/tree.py +++ b/src/tree.py @@ -21,7 +21,7 @@ def dump_json(p, j, exist_ok=False, override=False): print(f"{p} already exist") sys.exit(0) - with open(p, 'w') as f: + with open(p, 'w+') as f: f.write(json.dumps(j, indent=2, ensure_ascii=False)) @@ -56,7 +56,7 @@ def gen_tree(data_path): def gen_node_id(): # return ''.join(str(uuid.uuid5(uuid.NAMESPACE_URL, 'skill_tree')).split('-')) - return "c-" + uuid.uuid4().hex + return "ob-" + uuid.uuid4().hex def list_dir(p): v = os.listdir(p) @@ -117,7 +117,7 @@ def gen_tree(data_path): cfg_path = os.path.join(data_path, 'config.json') cfg = load_json(cfg_path) if ensure_node_id(cfg): - dump_json(cfg_path, cfg) + dump_json(cfg_path, cfg, exist_ok=True, override=True) if ensure_title(cfg, cfg_path): cfg["title"] = "C"