02 2021 档案

摘要: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 阅读(558) 评论(0) 推荐(0)
摘要:有一套系统需升级,为减小系统升级期间的影响,需根据系统过去一段时间内的每小时平均访问数据,来预测最佳升级时间窗。现给定长度为168(7*24)的整数数组,表示一个周期(假设从周一00:00到周日24:00)的每小时历史数据,最佳升级时间窗选择规则如下: 时间窗内累计用户访问量必须小于等于给定的容忍值 阅读全文
posted @ 2021-02-25 17:45 aaronwell 阅读(782) 评论(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 阅读(85) 评论(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 阅读(78) 评论(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 阅读(101) 评论(0) 推荐(0)