加载中
MYSQL 重复使用已被删除的主键Id,查询不连续的主键id

select id from (select id from enterprise where id >#{start} order by id asc) t where not exists (select 1 from enterprise where id=t.id-1) limit 1 否则自增会越来越大,又不能使用...

2021/09/29 16:40
286
ES7.5版本 kibana 操作语法

DELETE business_info PUT business_info/ { "settings": { "analysis": { "analyzer": { "notice_analyzer":{ "char_filter":["html_strip"], "tokenizer":"ik......

2021/01/29 09:10
957
Kibana 操作ES 基本语法

查询总数 GET business_info/_count { "query": { "match_all": {} } } 分组聚合查询打标签 GET notice_info_new/_search { "query": { "terms": { "content": ......

2020/09/15 11:35
2.8K
java中ES操作语法分组

public List searchGroupChenQ(List tids, List keywords) { String key = "tid"; String[] strings = new String[keywords.size()]; keywords.toArray......

2020/09/07 15:42
919
java jar 启动脚本linux

#!/bin/sh RESOURCE_NAME=sport.jar tpid=`ps -ef|grep $RESOURCE_NAME|grep -v grep|grep -v kill|awk '{print $2}'` if [ ${tpid} ]; then echo 'Stop Process...' kill -15 $tpid fi slee...

2019/02/22 10:54
69

没有更多内容

加载失败,请刷新页面

返回顶部
顶部