上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 达内12 note unit 09 01 1.spring事务管理 2.spring提供了对事务管理支持 spring采用aop机制完成事务控制 可以实现在不修改原有组件代码情况下实现事务控制功能。 spring提供了两种事务管理方式: a。编程式事务管理(编写java代码) Transaction 阅读全文
posted @ 2017-11-10 18:05 alexhe 阅读(2344) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-10-31 17:22 alexhe 阅读(123) 评论(0) 推荐(0)
摘要: logstash: input:https://www.elastic.co/guide/en/logstash/current/input-plugins.html input { file { path =>"/var/log/messages" type => "system" start_p 阅读全文
posted @ 2017-10-11 18:08 alexhe 阅读(279) 评论(0) 推荐(0)
摘要: 02_结构化搜索_在案例中实战使用term filter来搜索数据 课程大纲 1、根据用户ID、是否隐藏、帖子ID、发帖日期来搜索帖子 (1)插入一些测试帖子数据 POST /forum/article/_bulk{ "index": { "_id": 1 }}{ "articleID" : "XH 阅读全文
posted @ 2017-10-09 15:21 alexhe 阅读(249) 评论(0) 推荐(0)
摘要: 简单的集群管理 (1)快速检查集群的健康状况 es提供了一套api,叫做cat api,可以查看es中各种各样的数据 GET /_cat/health?v epoch timestamp cluster status node.total node.data shards pri relo init 阅读全文
posted @ 2017-09-18 18:06 alexhe 阅读(783) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/wupeiqi/articles/4938499.html http://www.cnblogs.com/alex3714 z=100 print("x乘以y=", z ) 常量:在py里面所有的变量都是可变的 ,所以用全部大写的变量名来代表次变量为常量 阅读全文
posted @ 2017-08-15 15:58 alexhe 阅读(159) 评论(0) 推荐(0)
摘要: git commit -m "first blood" 创建初始版本库 mkdir public_html cd public_html echo "my website is alive" > index.html git init 会创建一个.git目录 git add index.html 添 阅读全文
posted @ 2017-08-14 17:12 alexhe 阅读(194) 评论(0) 推荐(0)
摘要: grok (verb) understand (something) intuitively or by empathy. One the most common tasks when parsing log data is to decompose raw lines of text into a 阅读全文
posted @ 2017-08-08 10:56 alexhe 阅读(627) 评论(0) 推荐(0)
摘要: 调试模式立即生效: logstash -f beats.conf --config.reload.automatic 改表logstash数据: You can specify multiple expressions in a single condition: output { # Send p 阅读全文
posted @ 2017-08-04 09:59 alexhe 阅读(197) 评论(0) 推荐(0)
摘要: schema.xml管理逻辑库,分片表,分片借点和分片主机等信息 server.xml是系统参数的配置文件。 sequence是全局序列的配置文件 log4j.xml是mycat的日志输出配置文件 mycat从1.5版本开始支持两种配置方式:zookeeper和本地xml方式。默认以本地加载xml方 阅读全文
posted @ 2017-07-31 23:19 alexhe 阅读(2053) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 下一页