上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 44 下一页
摘要: RedisCluster 添加/删除节点 添加节点新配置两个测试节点8008和9009 [root@192-13-10-77 ~]# /usr/local/redis-4.0.9/bin/redis-server /u02/redis/8008/conf/redis_8008.conf [root@ 阅读全文
posted @ 2019-12-05 21:09 __Yoon 阅读(1231) 评论(0) 推荐(0)
摘要: redis cluster 命令行,执行以下命令需登录cluster,是集群所独有的集群(cluster)CLUSTER INFO 打印集群的信息CLUSTER NODES 列出集群当前已知的所有节点(node),以及这些节点的相关信息 节点(node)CLUSTER MEET <ip> <port 阅读全文
posted @ 2019-12-04 18:22 __Yoon 阅读(1420) 评论(0) 推荐(0)
摘要: Redis Cluster 4.0.9集群搭建步骤:yum install -y gcc g++ gcc-c++ make openssl cd redis-4.0.9 make mkdir -p /usr/local/redis-4.0.9 make install PREFIX=/usr/loc 阅读全文
posted @ 2019-12-04 13:35 __Yoon 阅读(438) 评论(0) 推荐(0)
摘要: redis-cli -h 192.168.11.111 -p 6380 -c cluster slots | xargs -n8 | awk '{print $3":"$4"->"$6":"$7}' | sort -nk2 -t ':' | uniq 阅读全文
posted @ 2019-12-03 18:07 __Yoon 阅读(200) 评论(0) 推荐(0)
摘要: [root@yoon u02]# mkdir yoon [root@yoon u02]# mkdir hank [root@yoon yoon]# mkdir -p 1/data [root@yoon yoon]# mkdir -p 2/data [root@yoon yoon]# mkdir -p 阅读全文
posted @ 2019-12-03 17:10 __Yoon 阅读(1519) 评论(0) 推荐(0)
摘要: gem install -l redis-3.3.3.gem ERROR: Loading command: install (LoadError) cannot load such file -- zlibERROR: While executing gem ... (NoMethodError) 阅读全文
posted @ 2019-12-02 16:38 __Yoon 阅读(2541) 评论(0) 推荐(0)
摘要: redis : Can't save in background: fork: Cannot allocate memory JAVA程序报错信息: 查看redis日志: 数据回写分同步和异步两种方式:同步回写(SAVE), 主进程直接向磁盘回写数据. 在数据量大的情况下会导致系统假死很长时间异步回 阅读全文
posted @ 2019-12-02 11:49 __Yoon 阅读(1311) 评论(0) 推荐(0)
摘要: 简介 GTID是MySQL 5.6的新特性,其全称是Global Transaction Identifier,可简化MySQL的主从切换以及Failover。GTID用于在binlog中唯一标识一个事务。当事务提交时,MySQL Server在写binlog的时候,会先写一个特殊的Binlog E 阅读全文
posted @ 2019-11-21 15:21 __Yoon 阅读(262) 评论(0) 推荐(0)
摘要: 1.语法及重要选项pt-query-digest [OPTIONS] [FILES] [DSN] --create-review-table 当使用--review参数把分析结果输出到表中时,如果没有表就自动创建。--create-history-table 当使用--history参数把分析结果输 阅读全文
posted @ 2019-11-18 17:20 __Yoon 阅读(854) 评论(0) 推荐(0)
摘要: DataXDataX 是阿里巴巴集团内被广泛使用的离线数据同步工具/平台,实现包括 MySQL、Oracle、SqlServer、Postgre、HDFS、Hive、ADS、HBase、TableStore(OTS)、MaxCompute(ODPS)、DRDS 等各种异构数据源之间高效的数据同步功能 阅读全文
posted @ 2019-11-07 10:42 __Yoon 阅读(296) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 44 下一页