摘要: 创建删除查看node group create node group wxy_node_group with (dn_6004_6005_6006); drop node group wxy_node_group; select * from pgxc_group; SELECT group_nam 阅读全文
posted @ 2021-03-11 19:16 aaronwell 阅读(462) 评论(0) 推荐(0)
摘要: gdb 中可以使用 Linux 中的 shell 命令,需要使用 gdb 中的 shell 命令实现 ,使用方法如下:shell <command string>u 直接执行到那一行,在循环当中,if I==3000,可以停止到这里。b 892 if i==5530u 892 if i==5530编 阅读全文
posted @ 2021-03-09 15:15 aaronwell 阅读(828) 评论(0) 推荐(0)
摘要: 输入:words = ["smooth","common","moorings"]输出:"moo",其他如 "omo", "oom" 也是正确答案。解释:m 在 "smooth" 中出现 1 次,在 "common" 中出现 2 次,在 "moorings" 中出现 1 次,所以只有 1 个 m 符 阅读全文
posted @ 2021-03-05 22:04 aaronwell 阅读(636) 评论(0) 推荐(0)
摘要: sql语句学习网站 https://www.runoob.com/sql/sql-join.html sql语句 select oid from pg_class where relname='foo'; select oid from pg_proc; select * from pg_proc 阅读全文
posted @ 2021-02-26 15:06 aaronwell 阅读(551) 评论(0) 推荐(0)
摘要: 有一套系统需升级,为减小系统升级期间的影响,需根据系统过去一段时间内的每小时平均访问数据,来预测最佳升级时间窗。现给定长度为168(7*24)的整数数组,表示一个周期(假设从周一00:00到周日24:00)的每小时历史数据,最佳升级时间窗选择规则如下: 时间窗内累计用户访问量必须小于等于给定的容忍值 阅读全文
posted @ 2021-02-25 17:45 aaronwell 阅读(749) 评论(0) 推荐(1)
摘要: struct TrieTree { bool endflag; map<char, TrieTree*> son; TrieTree() : endflag(false) {} }; class Solution { public: TrieTree* root; Solution() { root 阅读全文
posted @ 2021-02-25 17:44 aaronwell 阅读(81) 评论(0) 推荐(0)
摘要: 创建非空约束 create database test with template = template0 encoding='UTF8' lc_collate='C' lc_ctype='C'; \c test create table tbl_null (a int not null,b var 阅读全文
posted @ 2021-02-18 20:12 aaronwell 阅读(69) 评论(0) 推荐(0)
摘要: 问题:pg_restore: [archiver (db)] Error while PROCESSING TOC: pg_restore: [archiver (db)] Error from TOC entry 4965; 0 138871 TABLE DATA ir_act_report_xm 阅读全文
posted @ 2021-02-18 20:05 aaronwell 阅读(95) 评论(0) 推荐(0)