摘要: SELECT table_schema AS ' 数据库 ', table_name AS ' 表名 ', a.TABLE_TYPE, a.ENGINE, a.CREATE_TIME, a.UPDATE_TIME, a.TABLE_COLLATION, table_rows AS ' 记录数 ', 阅读全文
posted @ 2025-05-11 09:04 abowu 阅读(2) 评论(0) 推荐(0)
摘要: 1、前言 ElasticSearch是一个基于Lucene的搜索服务器。它提供了一个分布式多用户能力的全文搜索引擎,基于RESTful web接口。Elasticsearch是用Java开发的,并作为Apache许可条款下的开放源码发布,是当前流行的企业级搜索引擎。Elasticsearch的增删改 阅读全文
posted @ 2025-05-05 15:01 abowu 阅读(3) 评论(0) 推荐(0)
摘要: 进入 MongoDB 容器 docker exec -it <mongodb_container_name> bash mongostat --host=<container_ip>:27017 --username= --password= --authenticationDatabase=adm 阅读全文
posted @ 2025-04-02 08:31 abowu 阅读(1) 评论(0) 推荐(0)
摘要: 方法详解 这里会列出常用方法的详解,更多方法可查阅jackson api文档 ObjectMapper类是Jackson库的主要类。它提供一些功能将转换成Java对象匹配JSON结构 对象转json字符串 ObjectMapper 通过 writeValue 系列方法将 java 对象序列化为 js 阅读全文
posted @ 2024-11-19 15:40 abowu 阅读(129) 评论(0) 推荐(0)
摘要: mkdir -p ~/.ssh 1、在 A 服务器上,进入.ssh 目录; [root@iZam205rbu8s7yra2fop0nZ ~]# cd ~/.ssh/ 2、在 A 服务器上面的.ssh 目录下生成密钥; [root@iZam205rbu8s7yra2fop0nZ .ssh]# ssh- 阅读全文
posted @ 2024-08-22 13:13 abowu 阅读(242) 评论(0) 推荐(0)
摘要: List<Student> studentList = Lists.newArrayList(new Student("路飞", 22, 175), new Student("红发", 40, 180), new Student("白胡子", 50, 185), new Student("白胡子", 阅读全文
posted @ 2024-07-31 18:43 abowu 阅读(23) 评论(0) 推荐(0)
摘要: 替换 POST 为 pppp %s#POST#pppp#g 在每列开头加上 deny :%s#^#deny #g 替换所有 - 开头到 get 的字符 %s#-.*get{-}#aaaa#g :分隔符 {-} 非贪婪匹配 阅读全文
posted @ 2024-07-22 09:26 abowu 阅读(9) 评论(0) 推荐(0)
摘要: https://gethttpsforfree.com/ zerossl.com 阅读全文
posted @ 2024-07-09 00:04 abowu 阅读(18) 评论(0) 推荐(0)
摘要: MongoDB 慢查询记录功能简介 如何定位 MongoDB 数据库的慢查询,我想应该是很多刚使用 MongoDB 数据库的朋友最想知道的问题。通过慢查询的定位,可以辅助对 MongoDB 中的 collection 进行优化。 MongoDB 数据库的慢查询数据其实存放在一个数据库集合 (coll 阅读全文
posted @ 2024-07-01 08:58 abowu 阅读(527) 评论(0) 推荐(0)
摘要: 查看索引 db.GroupUser504.getIndexes(); 创建复合索引 db.GroupUser504.createIndex({groupSn:1,userId:1}) 阅读全文
posted @ 2024-06-30 09:58 abowu 阅读(6) 评论(0) 推荐(0)