上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 177 下一页
摘要: update 语句示例:UPDATE `zjzc`.`QRTZ_SCHEDuler_state` SET `ip`='220.191.34.246' WHERE `sn`='3117764' and`startTime`='2016-07-20 00:02:40';UPDATE QRTZ_SCH... 阅读全文
posted @ 2016-08-26 12:58 czcb 阅读(212) 评论(0) 推荐(0) 编辑
摘要: update 语句示例:UPDATE `zjzc`.`QRTZ_SCHEDuler_state` SET `ip`='220.191.34.246' WHERE `sn`='3117764' and`startTime`='2016-07-20 00:02:40';UPDATE QRTZ_SCH... 阅读全文
posted @ 2016-08-26 12:58 czcb 阅读(369) 评论(0) 推荐(0) 编辑
摘要: if ( $#ARGV < 2 ){ print "please input like binglog-0001 '2013-07-01 00:00:00' '2013-07-02 00:00:00'!\n"; exit(-1); ... 阅读全文
posted @ 2016-08-26 10:49 czcb 阅读(151) 评论(0) 推荐(0) 编辑
摘要: to_days()Given a date date, returns a day number (the number of days since year 0).给定一个date 日期,返回天数Create Table: CREATE TABLE `ClientActionTrack` ( ... 阅读全文
posted @ 2016-08-26 10:23 czcb 阅读(3289) 评论(0) 推荐(0) 编辑
摘要: mysql> explain select * from ClientActionTrack where startTime>'2016-08-25 00:00:00' and startTime explain extended select * from ClientActionTrack ... 阅读全文
posted @ 2016-08-26 09:57 czcb 阅读(1359) 评论(0) 推荐(0) 编辑
摘要: 一致性保证:ZooKeeeper 是一个高性能的,可扩展的服务。不管是读和写操作是被设计成快速,虽然读比写快。这样做的原因是在读的情况下,Zookeeper 可以提供旧的数据,反过来又是由于Zookeeper的一致性保证;顺序一致性;从客户端更新会按他们发送的顺序应用原子性;更新成功还是失败 ... 阅读全文
posted @ 2016-08-25 22:16 czcb 阅读(1397) 评论(0) 推荐(0) 编辑
摘要: zookeeper本身支持单机部署和集群部署,生产环境建议使用集群部署,因为集群部署不存在单点故障问题,并且zookeeper建议部署的节点个数为奇数个,只有超过一半的机器不可用整个zk集群才不可用。zookeeper集群中主要有两个角色leader和flower,每个客户端可以连接集群中的任何... 阅读全文
posted @ 2016-08-25 21:08 czcb 阅读(515) 评论(0) 推荐(0) 编辑
摘要: zjtest7-frontend:/usr/local/logstash-2.3.4/config# cat geoip.confinput {stdin {} }filter { geoip { source =>"message" }} output { stdout { ... 阅读全文
posted @ 2016-08-25 16:46 czcb 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 高级用法 多行匹配:zjtest7-frontend:/root/0825# cat a2.pl print "1111111111111\n";my $_="abc\nABC\nabc";print $_;print "\n";print "2222222222222\n";my $_="ab... 阅读全文
posted @ 2016-08-25 16:26 czcb 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 2.3.2 grok 正则捕获:\s+ 和 [\n\t\r\f]+ 一样 1、命名分组格式为(?),反向引用时用\k2、命名分组的匹配的结果存在在变量%+变量中,取命名分组值,$+{grp name}.zjtest7-frontend:/root/0825# cat a1.pl my $str... 阅读全文
posted @ 2016-08-25 15:12 czcb 阅读(134) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 177 下一页