一、数据库状态查询 1.1、查看进程详情 show processlist; show full processlist; 1.2、数据库连接数 当前连接数 show status like '%threads_%'; 最大连接数 show variables like '%max_connecti ...
分类:
数据库 时间:
2021-01-01 12:06:29
阅读次数:
0
1 struct{}类型的chan只能接受struct{}{},其余的都不行, package main import ( "fmt" "time" ) func fun1(m chan int) { time.Sleep(5*time.Second) m <- 4 } func fun2(m ch ...
分类:
其他好文 时间:
2021-01-01 12:06:12
阅读次数:
0
1.把数组里的时间参数转化成值 temp.sorttime = new Date(tempList[i].createTime).getTime(); 2.对数组里的值进行排序 list.sort(this.compare("sorttime")); compare方法 compare(proper ...
分类:
编程语言 时间:
2021-01-01 11:59:12
阅读次数:
0
课程demos DELETE blog # 设置blog的 Mapping PUT /blog { "mappings": { "properties": { "content": { "type": "text" }, "time": { "type": "date" }, "user": { " ...
分类:
其他好文 时间:
2021-01-01 11:51:56
阅读次数:
0
Notepad++ zip 添加鼠标右键编辑 红色部分替换路径 ,后面有 空格 %1 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Edit with Notepad++] [HKEY_CLASSES_ROOT\*\s ...
分类:
其他好文 时间:
2021-01-01 11:41:12
阅读次数:
0
一、RANGE分区 RANGE分区是基于属于一个给定连续区间的列值,把多行分配给分区。这些区间要连续且不能相互重叠,使用values less than操作符来进行定义。 mysql> create table test01 ( id int not null, fname varchar(30), ...
分类:
数据库 时间:
2021-01-01 11:39:22
阅读次数:
0
python: 1 #!/usr/bin/env python 2 # -*- coding:utf-8 -*- 3 #@Time : 2020/5/3 18:44 4 #@Author: hdq 5 #@File : server.py 6 #将接口以服务器的方式暴露以提供给Java调用缩短调用时 ...
分类:
编程语言 时间:
2020-12-31 12:44:23
阅读次数:
0
一、命令分为: 内部命令:shell自带的命令 外部命令:不是shell自带的命令 二、如何查看是否为内外部命令 type eg:type cd 当看到builtin说明它是一个内部命令 eg: type ifconfig 没有builtin说明它是一个外部命令 三、file命令:查看文件类型(li ...
分类:
系统相关 时间:
2020-12-31 12:41:45
阅读次数:
0
归并排序 利用递归实现分治。每次排序时间复杂度是O(N),一共需要 LogN 次。 #include <stdlib.h> #include <time.h> #define size 100 static int n[size]; static int t[size]; void msort(in ...
分类:
编程语言 时间:
2020-12-31 12:14:15
阅读次数:
0
1、安装ntpdate,执行以下命令 # 安装utpdate命令 yum install ntpdate -y 2、手工同步网络时间,执行以下命令,将从time.nist.gov同步时间 ntpdate 0.asia.pool.ntp.org 若上面的时间服务器不可用,也可以选择以下服务器同步时间 ...
分类:
系统相关 时间:
2020-12-31 12:13:31
阅读次数:
0