摘要: 使用leading和use_nl可以设置表的查询顺序,来加快查询速度, 比如有a,b,c,d四张表,a表的数据最少,如下设置 select /*+ leading(a) use_nl(a,b,c,d) index(a.id)*/ a.id from A 一般会将小表列为第一位 使用index直接匹配 阅读全文
posted @ 2022-12-14 19:53 不忘初心2021 阅读(966) 评论(0) 推荐(0) 编辑
摘要: 因为生产者注册到注册中的不是ip,没有指定生产者所在服务的外网ip地址 在配置文件中进行如下配置 eureka.instance.prefer-ip-address=true eureka.instance.ip-address=127.0.0.1 问题到此解决,下面列出问题排除的过程 我是在使用f 阅读全文
posted @ 2022-12-14 00:56 不忘初心2021 阅读(290) 评论(0) 推荐(0) 编辑
摘要: worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeo 阅读全文
posted @ 2022-12-14 00:36 不忘初心2021 阅读(16) 评论(0) 推荐(0) 编辑
摘要: yum源的需要进行更换了,下面操作换成163的 cd /etc/yum.repos.d 将原有yum源备份 mv CentOS-Base.repo CentOS-Base.repo.back 下载163的源 wget http://mirrors.163.com/.help/CentOS7-Base 阅读全文
posted @ 2022-12-14 00:01 不忘初心2021 阅读(81) 评论(0) 推荐(0) 编辑