elasticsearch 单节点搭建与爬坑记录 prepare 虚拟机或者云服务器(这里用的是阿里云ECS) linux centos7 安装完毕的jdk 相应的安装包(在https://www.cnblogs.com/G-Aurora/p/13099459.html中有快速下载的镜像站) ps. ...
分类:
其他好文 时间:
2020-06-13 00:41:54
阅读次数:
55
WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requiremen ...
分类:
其他好文 时间:
2020-06-12 12:31:44
阅读次数:
99
Oracle RAC TAF 无缝failover 理论背景: TAF( Transparent Application Failover ) allows oracle clients to reconnect to a surviving instance in the event of a f ...
分类:
数据库 时间:
2020-06-11 21:47:37
阅读次数:
70
项目初始化 为此,我们先初始化一个新的 Laravel 应用 thrift: laravel new thrift 在 thrift 项目根目录下新增一个 thrift 子目录,然后在该子目录下创建 Thrift IDL 文件 org.thrift,用于定义和用户相关的服务接口(语言为 PHP,命名 ...
分类:
其他好文 时间:
2020-06-11 18:13:09
阅读次数:
142
HIVE count(distinct ) over() 无法使用解决办法 在使用hive时发现count(distinct ) over() 报错 hive> with da as ( > select 1 a, 'a' b union all > select 1 a, 'a' b union ...
分类:
其他好文 时间:
2020-06-11 14:58:24
阅读次数:
200
例子1:获取 Employee 表中第二高的薪水(Salary),没有第二高的则返回null select ifnull((select distinct Salary from Employee order by Salary desc limit 1, 1), null) as SecondHi ...
分类:
数据库 时间:
2020-06-11 14:57:32
阅读次数:
65
代码如下 1 select from ( 2 select 3 row_number() over(partition by x order by y desc) as rid 4 , 5 from z 6 ) as tt 7 where tt.rid=1 13 --按x分组,以y排序 ...
分类:
数据库 时间:
2020-06-11 13:49:53
阅读次数:
166
PLC系统作为工业控制的基础设备在如今的现代化工厂应用中已经非常的广泛。许多工厂应用中,都需要对现场采集来的脉冲信号进行计数统计。如果是使用专用脉冲计数模块的话,价格会非常的昂贵,在很多采集低速脉冲信号的现场其实是可以使用普通的开关量采集模块来代替脉冲计数模块的。
分类:
其他好文 时间:
2020-06-11 00:46:14
阅读次数:
118
前几天统计一个sql,是一个人提交了多少工单,顺便做了相关sql优化。数据大概2000多w。 select CustName,count(1) c from WorkOrder where CreateDate>'2016-5-1' and CreateDate<'2017-1-1'group by ...
分类:
数据库 时间:
2020-06-10 21:33:41
阅读次数:
70
CEPH 14.2.9(nautilus)手动安装遇到的问题及解决方法 "Error ERANGE: pg_num 800 size 2 would mean 2112 total pgs, which exceeds max 750 (mon_max_pg_per_osd 250 * num_in ...
分类:
其他好文 时间:
2020-06-10 18:57:38
阅读次数:
199