分区预分配空间 select count(*) from INFORMATION_SCHEMA.PARTITIONS where PARTITION_NAME is not null; 每个分区会预分配4MB空间,该语句查询出分区的数量乘以4MB就是总的分区预分配空间。 Binlog show binary logs; 将所有binlog的文件大小相加。
检查实例配置参数notify-keyspace-events 建议将notify-keyspace-events参数配置为Egx。 进阶排查 Jedis连接池报错 出现Read timed out或Could not get a resource from the pool 排查是否使用了keys命令,keys命令会消耗大量资源,造成Redis阻塞。建议使用scan命令替代,且避免频繁执行。
---------------+----------------+---------------------+---------------...Path | Used Capacity | Total Capacity | Used Capacity Quota | Capacity Quota | Health Status | Health Detail | +-----+-------------------+