问题一: [root@cdeba90ec46e ~]# ./configure --prefix=/usr/local/nginx --user=www --group=www --with-http_stub_status_module bash: ./configure: No such fil ...
分类:
其他好文 时间:
2020-11-23 12:11:38
阅读次数:
5
1、haproxy配置多个负载 global log 127.0.0.1 local0 log 127.0.0.1 local1 notice #daemon debug user haproxy group haproxy maxconn 4096 defaults log global mode ...
分类:
其他好文 时间:
2020-11-23 12:06:36
阅读次数:
5
使用Grafana和Prometheus对Linux服务器性能进行监控,主要通过node_exporter进行监控,指标如 CPU、内存、磁盘等。Prometheus通过HTTP协议从远程的机器收集数据并存储Prometheus本地时序数据库。 一.监测服务器安装node_exporter linu ...
分类:
系统相关 时间:
2020-11-23 12:01:53
阅读次数:
10
SELECT LISTAGG(fun_getaaa103('AAE140', a.aae140), ',') WITHIN GROUP(ORDER BY a.aae140) AS aae140str FROM ac02 a where a.aac001 = '10002070436'; SELECT ...
分类:
其他好文 时间:
2020-11-20 12:07:47
阅读次数:
6
一、创建基础表及表结构 -- 创建表 PLAYER_INFO DROP TABLE PLAYER_INFO; CREATE TABLE PLAYER_INFO ( player_id number(12, 0) PRIMARY KEY ,player_name varchar2(20) NOT NU ...
分类:
其他好文 时间:
2020-11-20 11:46:24
阅读次数:
5
一、环境 Idea 2020.1 JDK 1.8 maven 二、目的 spring boot 通过整合influxdb gitHub地址: https://github.com/ouyushan/ouyushan-spring-boot-samples 三、步骤 3.1、点击File → New ...
分类:
数据库 时间:
2020-11-19 12:55:13
阅读次数:
14
var records = studyRecords.GroupBy(x => x.StudyTime.Date).Select(y => new { date = y.Key, seconds = y.Sum(x => x.StudySeconds) }); ...
Open C UF_PS_ask_current_highest_tagUF_PS_ask_current_partitionUF_PS_ask_entity_partitionUF_PS_ask_journal_dataUF_PS_ask_kernel_versionUF_PS_ask_objec ...
分类:
其他好文 时间:
2020-11-19 12:26:14
阅读次数:
5
concat()函数 1. 功能: 返回结果为连接参数产生的字符串。如有任何一个参数为NULL ,则返回值为 NULL。 2. 语法 concat(str1, str2,...) 3. 例子 案例一: mysql> select concat('苹果','香蕉','梨子'); + + | CONCA ...
分类:
数据库 时间:
2020-11-19 12:24:20
阅读次数:
12
参考链接:https://b23.tv/Ktb0oL 1.为什么用开窗函数(什么情况用) eg:假设一个部门有很多人,又有很多部门,想求每个部门的平均工资 一般情况下,group by部门,只会得到部门名和最后的平均工资 利用开窗函数,还可以另外显示每个部门的人员信息 2.基本语法 # functi ...
分类:
数据库 时间:
2020-11-19 12:17:22
阅读次数:
16