Home

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

Dockerfile配置与部署

Here’s the table of contents: 一、Dockerfile配置与部署 二、Dockerfile配置与部署【测试】 一、Dockerfile配置与部署 安装docker命令 yum install docker 打包docker镜像 sudo docker build -t graphene:v-1.0.0 . 查看镜像 sudo docker images 运行镜像 sudo docker run -p 8080:8080 graphene:v-1.0.0 查看docker容器中启动的进程 sudo docker ps ...

Read more

Webpack打包过程调试

Here’s the table of contents: 例如调试webpack.config.js文件 例如调试webpack.config.js文件 在文件中设置debugger 在当前webpack项目工程文件夹下面,执行命令 // 其中参数--inspect-brk就是以调试模式启动node node --inspect-brk ./node_modules/webpack/bin/webpack.js --inline --progress 打开Chrome浏览器,地址栏里输入 chrome://inspect/#devices: 在弹出窗口点击超链接 Open Dedica...

Read more