Home

超级节点模拟与查询优化

Here’s the table of contents: 一、模拟超级节点 二、优化超级节点 一、模拟超级节点 数据建模 (人物 {name})-[发表 {score}]->(文章 {number}) 数据生成 MERGE (per:人物 {name:'Superman'}) RETURN ID(per) AS id; //执行时间1~2秒 CALL apoc.periodic.iterate('WITH RANGE(0,1000000) AS list UNWIND list AS num RETURN num','CREATE (atc:文章 {number:num})', {parallel:true,batchSi...

Read more

Docker手动打包上传流程

Here’s the table of contents: 手动上传流程 手动上传流程 登录docker仓库(默认已登录) docker login 10.20.10.185 # 没有默认登录时使用用户名和密码 打标签 docker tag 本地镜像:版本 10.20.10.185/model/jupyter-jslearn:stable 上传 docker push 10.20.10.185/model/jupyter-jslearn:stabl...

Read more

ONgDB部署文件打包与使用

Here’s the table of contents: 单机部署文件打包 因果集群部署文件打包【构成集群的最小部署方式】 单机部署文件打包 sudo find ./ -maxdepth 1 -name "bin" -o -name "conf" -o -name "lib" -o -name "plugins" -o -name "logs" -o -name "data" -o -name "import" -o -name "run" -o -name "dic" |xargs sudo tar -zcvf dev-ongdb-v1.x-standalone.tgz --exclude=logs/* --exclude=data/* --exclude=impo...

Read more

CSDN自定义模板代码备份

Here’s the table of contents: HTML代码 HTML代码 <a href="https://crazyyanchao.github.io/blog/about.html" style="color:#CC0000;font-weight:bold;">个人简介</a> <a href="https://github.com/crazyyanchao/" style="color:#336633;font-weight:bold;">开源贡献</a> <a href="https://crazyyanchao.github.io/blog/" style="color:#330099;font-...

Read more

自动生成获取检查点更新图数据的任务支持减T操作

Here’s the table of contents: 生成任务 定义入参 编写一个测试脚本 将测试脚本配置为一个任务 将测试脚本使用参数化方式封装为过程 生成任务 -- 配置任务 CALL custom.task.deploy(NULL,NULL,'PRE中文全称','_set_PRE删除','`PRE中文全称`节点动态增加`PRE删除`标签','mayc01') HGRAPHTASK()-[]->(PRE中文全称)_set_PRE删除 CALL custom.task.deploy(NULL,NULL,'PRE中文全称','_remove_PRE删除','`PRE中文全称`节点动态移除`PRE删除`标签','mayc01') HGRAPHTASK...

Read more

自动生成更新任务脚本

Here’s the table of contents: 生成任务 定义入参 编写一个测试脚本 将测试脚本配置为一个任务 将测试脚本使用参数化方式封装为过程 生成任务 -- 配置任务 CALL custom.task.deploy(NULL,NULL,'PRE中文全称','_set_PRE删除','`PRE中文全称`节点动态增加`PRE删除`标签','mayc01') HGRAPHTASK()-[]->(PRE中文全称)_set_PRE删除 CALL custom.task.deploy(NULL,NULL,'PRE中文全称','_remove_PRE删除','`PRE中文全称`节点动态移除`PRE删除`标签','mayc01') HGRAPHTASK...

Read more

MySQL远程导出文件

Here’s the table of contents: MySQL远程导出文件 MySQL Dump MySQL Shell脚本循环执行SQL构建为CSV文件 MySQL远程导出文件 MySQL Dump 打印执行结果 mysqldump -halibaba.com.cn -p3306 -utestlab_dev -ptestlabgogo analytics_company_data MSTR_ORG_PRE_1 --where "puid>0 LIMIT 10" 将执行结果写入TXT文件 mysqldump -halibaba.com.cn -p3306 -utestl...

Read more

MySQL解析JSON格式数据

Here’s the table of contents: MySQL解析JSON格式数据 MySQL解析JSON格式数据 输出多行 SELECT * FROM JSON_TABLE('[{"c1":1},{"c1":2}]', '$[*]' COLUMNS( c1 INT PATH '$.c1' ERROR ON ERROR )) as jt; 输出多行JSON对象:输出列表每个元素不解析 SELECT * FROM JSON_TABLE('[{"c1":1},{"c1":2}]', '$[*]' COLUMNS( c1 JSON PATH '$' ERROR ON ERROR )) as jt; ...

Read more