0. 基本情况 Redis采用集群模式,560个主节点,主从比为1:1,单台机器上为16个节点。info memory观察到主节点A单个Redis内存used_memory_rss_human为9.2G(设置的maxmemory_human为6G)超过最大值设置。 1.查看客户端连接情况 [root ...
分类:
其他好文 时间:
2018-10-09 20:06:14
阅读次数:
309
用notepad++ 打开phpcms文件夹 修改像这种类型的 /TYPE=(InnoDB|MyISAM|MEMORY)( DEFAULT CHARSET=[^; ]+)?/", "TYPE=\\1 DEFAULT CHARSET= 把第二个TYPE修改为ENGINE 把所有的修改后即可 ...
分类:
数据库 时间:
2018-10-09 15:35:00
阅读次数:
213
数据结构实验之串一:KMP简单应用 Time Limit: 1000 ms Memory Limit: 65536 KiB Problem Description 给定两个字符串string1和string2,判断string2是否为string1的子串。 Input 输入包含多组数据,每组测试数据 ...
分类:
其他好文 时间:
2018-10-09 11:01:10
阅读次数:
189
spark-submit --class WordCount \> --master yarn-cluster \> --num-executors 10 \> --executor-memory 6G \> --executor-cores 4 \> --driver-memory 1G \> / ...
分类:
其他好文 时间:
2018-10-09 00:50:17
阅读次数:
226
Stockbroker Grapevine Time Limit: 1000MS Memory Limit: 10000K Description Stockbrokers are known to overreact to rumours. You have been contracted to ...
分类:
其他好文 时间:
2018-10-09 00:41:48
阅读次数:
141
Polygon Time Limit: 1000MS Memory Limit: 10000K Total Submissions:6633 Accepted: 2834 Description Polygon is a game for one player that starts on a po ...
分类:
其他好文 时间:
2018-10-09 00:40:30
阅读次数:
212
题目传送门 Balanced Number Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 7994 Accepted Submission(s ...
分类:
其他好文 时间:
2018-10-08 23:10:31
阅读次数:
140
Coins Time Limit: 3000MS Memory Limit: 30000K Total Submissions:43969 Accepted: 14873 Description People in Silverland use coins.They have coins of va ...
分类:
其他好文 时间:
2018-10-08 21:40:32
阅读次数:
228
猜数字 Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7279 Accepted Submission(s): 4002 Problem D ...
分类:
其他好文 时间:
2018-10-08 20:38:00
阅读次数:
178
这几天不知道写点什么,状态也不太好,搬个题上来吧 题意:给定一个数n,设一个从1到n的序列,每次删掉一个序列中的数,求按字典序最大化的GCD序列 做法:按2的倍数找,但是如果除2能得到3的这种情况要特殊处理(¥#……%¥……@#¥不知道该怎么描述,看代码吧) C. Sequence Transfor ...
分类:
其他好文 时间:
2018-10-08 20:35:31
阅读次数:
157