上一页 1 2 3 4 5 6 7 8 ··· 23 下一页
摘要: 开启慢查询Profiling Profiling级别说明 0:关闭,不收集任何数据。 1:收集慢查询数据,默认是100毫秒。 2:收集所有数据 1、通过修改配置文件开启Profiling 修改启动mongo.conf,插入以下代码 #开启慢查询,200毫秒的记录 profile = 1 slowms 阅读全文
posted @ 2021-01-12 10:21 凉城 阅读(1111) 评论(0) 推荐(0)
摘要: 1、引入依赖: compile "org.springframework.boot:spring-boot-starter-web:${verSpringBoot}" compile "org.springframework.boot:spring-boot-starter-websocket:${ 阅读全文
posted @ 2020-12-31 16:42 凉城 阅读(478) 评论(0) 推荐(0)
摘要: import javax.xml.namespace.QName; import javax.xml.rpc.ParameterMode; import org.apache.axis.client.Call; import org.apache.axis.client.Service; impor 阅读全文
posted @ 2020-12-24 15:00 凉城 阅读(5630) 评论(0) 推荐(0)
摘要: public static JdbcTemplate jdbcTemplate; @Async public void import2UpdateNs(String sid) { excUpdate(sid); } public static JdbcTemplate getBean(){ Driv 阅读全文
posted @ 2020-12-08 15:22 凉城 阅读(483) 评论(0) 推荐(0)
摘要: compile 'org.apache.commons:commons-text:1.8' public static String partten(String text) { /* * “ ”表示中文输入法下的双引号 " 表示英文输入法下的双引号 <表示小于号 >表示大于号 * 表示空格 **/ 阅读全文
posted @ 2020-12-04 17:25 凉城 阅读(193) 评论(0) 推荐(0)
摘要: @Bean public TaskScheduler taskScheduler() { ThreadPoolTaskScheduler taskScheduler = new ThreadPoolTaskScheduler(); taskScheduler.setPoolSize(50); ret 阅读全文
posted @ 2020-12-02 16:46 凉城 阅读(399) 评论(0) 推荐(0)
摘要: HttpComponentsClientHttpRequestFactory httpRequestFactory = new HttpComponentsClientHttpRequestFactory(); httpRequestFactory.setConnectionRequestTimeo 阅读全文
posted @ 2020-12-02 09:38 凉城 阅读(1331) 评论(0) 推荐(0)
摘要: import java.io.IOException; import java.util.HashSet; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig 阅读全文
posted @ 2020-11-16 22:16 凉城 阅读(595) 评论(0) 推荐(0)
摘要: 代码直接上: 入口类 import java.io.File; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONObject; public class 阅读全文
posted @ 2020-11-15 13:47 凉城 阅读(559) 评论(0) 推荐(0)
摘要: 存储引擎(Storage Engine)是MongoDB的核心组件,负责管理数据如何存储在硬盘(Disk)和内存(Memory)上。从MongoDB 3.2 版本开始,MongoDB 支持多数据存储引擎(Storage Engine),MongoDB支持的存储引擎有:WiredTiger,MMAPv 阅读全文
posted @ 2020-11-14 02:17 凉城 阅读(561) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 23 下一页