上一页 1 2 3 4 5 6 7 8 9 10 ··· 70 下一页
摘要: #去掉/npmsbak/oss-emulator/store/apaas-storage/9cf/img/20200824后面的日期awk '{sub(/.{8}$/,"")}1' /opt/0629500/awkimgdir.txt > /opt/0629500/goodmvcmd.sh (15条 阅读全文
posted @ 2022-07-01 18:53 littlevigra 阅读(509) 评论(4) 推荐(0)
摘要: checkpoints are occurring too frequently (11 seconds apart) max_wal_size = 1GB min_wal_size = 80MB (12条消息) postgresql.conf checkpoint_warning_bigshark 阅读全文
posted @ 2022-06-17 18:44 littlevigra 阅读(423) 评论(0) 推荐(0)
摘要: 1. 回表 使用非主键索引作为条件查询时,会先从非聚簇索引B+树中根据name字段找到主键字段的值,然后从聚簇索引B+树上根据主键字段值查找对应的某条记录 2. 什么是索引覆盖? 索引覆盖:通过普通索引查询的时候,不需要回表查询,直接可以获取到对应的数据 MySQL索引覆盖 回表查询 - it610 阅读全文
posted @ 2022-05-23 17:29 littlevigra 阅读(96) 评论(0) 推荐(0)
摘要: #创建测试表 create table tbl_pathman_test (id bigint,info text, ctime timestamp without time zone not null); 1. #按天分区,创建30个分区 #插入12条数据,每天一条 insert into tbl 阅读全文
posted @ 2022-05-19 14:04 littlevigra 阅读(91) 评论(2) 推荐(0)
摘要: 1. https://pganalyze.com/docs/log-insights/server/S5 More generally, often out of memory occurs when operating a combination of too high work_mem toge 阅读全文
posted @ 2022-05-18 14:01 littlevigra 阅读(355) 评论(3) 推荐(0)
摘要: 1. set work_mem="500MB"; (9条消息) PostgreSQL(三) 内存参数优化和原理(work_mem)内存表 pgfincore插件使用方法_是个好男人呀的博客-CSDN博客_postgresql 内存表 阅读全文
posted @ 2022-05-14 11:41 littlevigra 阅读(68) 评论(0) 推荐(0)
摘要: http { proxy_headers_hash_bucket_size 1024; types_hash_bucket_size 1024; #server_tokens off; more_clear_headers Server; include mime.types; default_ty 阅读全文
posted @ 2022-04-29 16:52 littlevigra 阅读(6368) 评论(0) 推荐(0)
摘要: 1. keepalived的原理 在传统的物理网络中,可以通过 keepalived 的 VRRP 协议协商主备状态,其原理是:主设备周期性发送免费 ARP 报文刷新上联交换机的 MAC 表或终端 ARP 表,触发 VIP 迁移到主设备上。 2. 开启组播功能 打开 VPC 组播开关;同时在 kee 阅读全文
posted @ 2022-04-23 11:03 littlevigra 阅读(3042) 评论(0) 推荐(0)
摘要: #!/bin/bash RECORD_TIME=`date '+%Y-%m-%d %H-%M-%S'` #获取现在的负载,如果大于30,记录active的SQL LOAD50=`/usr/bin/w|grep 'load average'|awk -F [':'] '{print $4}'|awk 阅读全文
posted @ 2022-04-22 10:59 littlevigra 阅读(52) 评论(0) 推荐(0)
摘要: if [ `expr $a \> $b` -eq 0 ];then echo $b is bigger else echo $a is bigger fi [root@tengxunyunslave wallog]# cat /opt/monitor_load1.sh #!/bin/bash REC 阅读全文
posted @ 2022-04-19 11:36 littlevigra 阅读(459) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 70 下一页