出现错误场景:通常是由于很多人或者很多应用(java应用、R应用等)连接数据库,导致连接数(session)数量超出限制。 解决办法 定位原因 -- 以sysdba身份登陆PL/SQL sqlplus / as sysdba; -- 查看当前连接进程数 SQL>select count(*) fro ...
分类:
数据库 时间:
2021-05-24 04:19:23
阅读次数:
0
部署istio的ingressGateway时, 把istio的IngressGateway理解为 k8s的ingressController 把Gateway理解为 k8s的ingress规则 将k8s的Service通过VirtualService映射到Gateway apiVersion: n ...
分类:
其他好文 时间:
2021-05-24 04:18:41
阅读次数:
0
登录mysql数据库 mysql -u root -p '你的密码' 查看user表 mysql> use mysql; mysql> select Host,User,Password from user; ERROR 1054 (42S22): Unknown column 'Password' ...
分类:
数据库 时间:
2021-05-24 03:47:36
阅读次数:
0
覆盖索引 需要查询的值已经在索引里面包含了,就不需要查询数据行了。 mysql> explain select * from person1 where a like '%12%'; + + + + + + + + + + + + + | id | select_type | table | par ...
分类:
数据库 时间:
2021-05-24 03:06:44
阅读次数:
0
不会的点: √进程间同步,进程间通信方式 IO多路复用 epoll select poll √ 协程 死锁 进程和线程的死锁 √ 多线程多进程 √socket怎样建立进程间的通信 √Const关键字的用法 √右值引用 √编程实现:写一下shared_ptr这个类的实现,其中该有的数据成员和函数成员, ...
分类:
其他好文 时间:
2021-05-24 03:02:21
阅读次数:
0
官网下载 uditor jsp版本插件 在html页面中引入 ueditor.config.js ueditor.all.min.js 展示: <div id="editor" style="height:360px"> </div> 需要加载编辑器 var ue = UE.getEditor('e ...
分类:
其他好文 时间:
2021-05-24 02:28:17
阅读次数:
0
Dapper的多表查询实现打开链接 using (var conn = new SqlConnection(myConnectionString)) { conn.Open(); .... } 单表查询 public class Account { public int? Id {get;set;} ...
分类:
移动开发 时间:
2021-05-24 02:03:08
阅读次数:
0
delete from 表名 a where 列名 in ( select t.列名 from (select 列名 ,count(*) from 表名 where 列名 is not null group by 列名 having count(*) > 1) t ) ...
分类:
其他好文 时间:
2021-05-24 02:01:44
阅读次数:
0
创建全文索引 create context index CONTEXT_a_CONTENT on a(CONTENT) lexer CHINESE_FP_LEXER sync transaction; 验证全文索引查询 SELECT * FROM a WHERE CONTAINS(a.CONTENT ...
分类:
其他好文 时间:
2021-05-24 01:54:16
阅读次数:
0
nrm 是一个 npm 源管理器,允许你快速地在 npm源间切换。 什么意思呢,npm默认情况下是使用npm官方源(使用npm config ls命令可以查看),在国内用这个源肯定是不靠谱的,一般我们都会用淘宝npm源:https://registry.npm.taobao.org/,修改源的方式也 ...
分类:
其他好文 时间:
2021-05-24 01:23:21
阅读次数:
0