会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
甜菜波波
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
27
28
29
30
31
32
33
34
35
···
114
下一页
2022年1月11日
给es用户添加读写权限
摘要: groupadd es useradd es -g es -p es chown -R es:es /data0/es/elasticsearch-6.8.0 su es
阅读全文
posted @ 2022-01-11 09:41 甜菜波波
阅读(460)
评论(0)
推荐(0)
2021年12月15日
logback 添加自定义字段(转换)
摘要: <configuration scan="true"> <conversionRule conversionWord="serverIP" converterClass="com.foo.MyCustomTagConverter" /> <appender name="STDOUT" class="
阅读全文
posted @ 2021-12-15 18:03 甜菜波波
阅读(700)
评论(0)
推荐(0)
2021年12月8日
动态获取springboot启动类上的注解
摘要: package com.demo.other; import com.dtflys.forest.annotation.ForestScan; import com.dtflys.forest.scanner.ClassPathClientScanner; import org.springfram
阅读全文
posted @ 2021-12-08 12:05 甜菜波波
阅读(816)
评论(0)
推荐(0)
2021年11月29日
命令行调用dubbo远程服务
摘要: 命令行调用dubbo远程服务 telnet远程连接到dubbo telnet 127.0.0.1 20880 查看提供服务的接口 dubbo>ls com.test.service.TestInfoQueryService ls 接口名对外提供的方法 dubbo>ls com.test.servic
阅读全文
posted @ 2021-11-29 12:12 甜菜波波
阅读(282)
评论(0)
推荐(0)
2021年11月26日
多个消费者监听同一个队列
摘要: 生产者:代码如上一章 消费者1:代码如前一章 消费者2:与消费者1代码完全相同 注意:此时,消费者1和2监听在同一个队列上,队列会以轮训的方式将10个消息分别交给消费者1和2进行处理。 但是这种情况下,如果消费者1处理的消息比较繁重,而消费者2处理的消息比较轻松地话,实际上应该让消费者2多处理一些消
阅读全文
posted @ 2021-11-26 14:35 甜菜波波
阅读(390)
评论(0)
推荐(0)
Oracle 根据现有表创建新表
摘要: 1.新表不存在复制表结构即数据到新表 1 2 create table new_table select * from old_talbe; 这种方法会将old_table中所有的内容都拷贝过来,用这种方法需要注意,new_table中没有了old_table中的primary key,Extra,
阅读全文
posted @ 2021-11-26 13:51 甜菜波波
阅读(4850)
评论(0)
推荐(0)
2021年11月24日
nginx配置web容器实现自动剔除异常(失败)的服务
摘要: 要实现nginx配置web容器实现自动剔除异常的服务,主要在nginx的conf下的nginx.conf文件的upstream中配置信息。 nginx负载均衡可以参考文章:https://www.52jingya.com/aid9.html nginx配置web容器实现自动剔除异常(失败)的服务 具
阅读全文
posted @ 2021-11-24 17:46 甜菜波波
阅读(2174)
评论(0)
推荐(1)
2021年11月1日
Linux下启动/关闭Oracle
摘要: 一、Linux下启动Oracle Linux下启动Oracle分为两步: 1)启动监听; 2)启动数据库实例; 1.登录服务器,切换到oracle用户,或者以oracle用户登录 [admin@dataserver ~]$ su - oracle 密码: [oracle@dataserver ~]$
阅读全文
posted @ 2021-11-01 18:29 甜菜波波
阅读(1009)
评论(0)
推荐(0)
2021年10月27日
oracle update join
摘要: 今天需要写一个根据关联查询结果更新数据的sql,mysql中支持这样的语法:mysql:UPDATE T1, T2,[INNER JOIN | LEFT JOIN] T1 ON T1.C1 = T2. C1SET T1.C2 = T2.C2, T2.C3 = exprWHERE condition但
阅读全文
posted @ 2021-10-27 15:48 甜菜波波
阅读(1636)
评论(0)
推荐(0)
2021年10月20日
ResultSet转换为List的方法
摘要: 方法一: ResultSet转换为List的方法 private static List convertList(ResultSet rs) throws SQLException { List list = new ArrayList(); ResultSetMetaData md = rs.ge
阅读全文
posted @ 2021-10-20 17:13 甜菜波波
阅读(3703)
评论(0)
推荐(0)
上一页
1
···
27
28
29
30
31
32
33
34
35
···
114
下一页
公告