5.6.25后 mysqld_multi 密码验证失败
原因:As of MySQL 5.6.25, my_print_defaults masks passwords by default. Use this option to display passwords in cleartext. # 解决办法vim ./bin/mysqld_multi# 在下面这行下面添加## my @defaults_options; # Leading --no-defaults, --defaults-file, etc.push @defaults_o...
[python] 时间序列分析之ARIMA
[python] 时间序列分析之ARIMA1 时间序列与时间序列分析在生产和科学研究中,对某一个或者一组变量 x(t) 进行观察测量,将在一系列时刻 t1,t2,?,tn 所得到的离散数字组成的序列集合,称之为时间序列。时间序列分析是根据系统观察得到的时间序列数据,通过曲线拟合和参数估计来建立数学模型的...
日志采集分析: flume+kafka+storm+mysql架构设计
http://blog.csdn.net/mylittlered/article/details/20810265架构图数据流向图(是visio画的,图太大,放上来字看起来比较小,如果有需要的朋友留邮箱)实时日志分析系统架构简介系统主要分为四部分: &n...
知数堂--【深度总结】服务器硬件管理
【深度总结】服务器硬件管理最后再次感谢大家对知数堂培训的支持和关注!...
python 获取函数的所有参数列表:locals()
点击(此处)折叠或打开def f_args(id=10,name="nm",age=3): print "###locals",locals() print "###key-val" for vname, vval in locals().iteritems(): &...
用Kibana和logstash快速搭建实时日志查询、收集与分析系统
转载: http://storysky.blog.51cto.com/628458/1158707gstash是一个完全开源的工具,他可以对你的日志进行收集、分析,并将其存储供以后使用(如,搜索),您可以使用它。说到搜索,logstash带有一个web界面,搜索和展示所有日志。kibana 也是一个开源和免费的工具,他可以帮助您汇总、分析和搜索重要数据日志并...
mysql使用mariadb审计插件
mysql 5.7.12mariadb 10.1.14https://mariadb.com/kb/en/mariadb/server_audit-system-variables/INSTALL PLUGIN server_audit SONAME 'server_audit.so'; # 重要的参数server_audit_incl_users=''server_audit_excl_users=''server_audit_events='QUERY,QUERY_DDL,QUERY_DML,QUERY_DCL,CONNECT'...
一篇文章,掌握所有开源数据库的现状
转: http://mp.weixin.qq.com/s?__biz=MzA5NzkxMzg1Nw==&mid=2653159940&idx=1&sn=8dae7a9184290fcc164fc9afe46ee78f&scene=1&srcid=0629y6BPCB62CZehWrcvyarf#wechat_redirect一篇文章,掌握所有开源数据库的现状2016-06-29 黄东旭 大数据杂谈本文转载自“细说云计算”公众号,微信号...
SSH 跳过 host verification for known hosts
转: http://superuser.com/questions/125324/how-can-i-avoid-sshs-host-verification-for-known-hostsUse the -o option,ssh -o "StrictHostKeyChecking no" user@host
REST : rest_framework.decorators.api_view 实现PATCH
对 http://www.django-rest-framework.org/tutorial/2-requests-and-responses/ 做补充点击(此处)折叠或打开@api_view(['GET', 'PATCH', 'DELETE'])def snippet_detail(request, pk): """ Re...
【MySQL】ibdata文件增大的原因
早上和一个同事讨论技术问题,谈到ibdata文件会随着数据的使用而增大,而且在事务隔离级别RR 隔离级别下要比RC 隔离级别的大。本文尝试分析两个问题之一 ibdata文件为什么会增大 ,另一个问题需要另开一篇文章解释了。
MySQL5.6 + xtrabackup 死锁,Waiting for Commit Lock
http://www.ttlsa.com/mysql/mysql5-6-waiting-for-commit-lock/http://bugs.mysql.com/bug.php?id=70307使用MySQL5.6和Xtrabackup的小心一个bug,http://bugs.mysql.com/bug.php?id=70307,这个bug在5.6.23中已经修复。Xtrabackup备份的时候执行flushs tables with read lock和show slave status会有可...
5.7 Generated Columns
http://mysqlserverteam.com/generated-columns-in-mysql-5-7-5/Generated Columns in MySQL 5.7.5October 3, 2014MySQL, OptimizerEvgeny PotemkinGenerated Columns is a new feature available in the latest lab release. This work is based on a contribution by Andrey Zhakov. Tha...
深入理解JDBC的超时设置--推荐
转:http://www.importnew.com/2466.html深入理解JDBC的超时设置2013/01/20 | 分类: 基础技术 | 0 条评论 | 标签: JDBC分享到:57本文作者: ImportNew - 刘翀 未经许可,禁止转载!ImportNew注: 本文由新浪微博:@哥...
dbcp基本配置和重连配置
转土豆大神: http://agapple.iteye.com/blog/7725071. 引入dbcp (选择1.4)Java代码 com.alibaba.external jak...
InnoDB Insert Buffer: unable to purge a record
转载: http://mysqllover.com/?p=1264参考: InnoDB Insert Buffer实现详解 http://hedengcheng.com/?p=94MySQL5.6.23: fix “UNABLE TO PURGE A RECORD”本文简述下之前我们线上频繁碰到的“UNABLE TO PURGE A RECORD”的原因###########...
https://docs.saltstack.com/en/latest/ref/configuration/master.html
https://docs.saltstack.com/en/latest/ref/configuration/master.htmlhttp://blog.chinaunix.net/uid-10915175-id-4352504.htmlinterface0.0.0.0(所有的网络地址接口)interface:192.168.0.1绑定到本地的某个网络地址接口pidfile...
saltstack异步执行命令: job ID
saltstack异步执行命令# salt --async '192.168.1.11' grains.item IDC departmentExecuted command with job ID: 20160329142612103914# salt-run jobs.lookup_jid 20160329142612103914
大表count(*) 导致宕机
异常信息如下点击(此处)折叠或打开016-03-24 21:37:28 17887 [ERROR] InnoDB: Tried to read 16384 bytes at offset 50072698880. Was only able to read 8192.2016-03-24 21:37:28 7faab67f6700 InnoDB: Operating system error number 11 in a file operation....
InnoDB: Warning: a long semaphore wai
参考:http://www.tuicool.com/articles/AB7JfuInnoDB: Warning: a long semaphore wait: --Thread 47843012708096 has waited at btr/btr0cur.c line 467 for 334.00 seconds the semaphore: 原来linux内核信号量默认设置太小,压测的时候,造成大量等待, 默认 # cat /proc/sys/ker...