mysql slow log 是用来记录执行时间较长(超过long_query_time秒)的sql的一种日志工具.
mysql slow log 是用来记录执行时间较长(超过long_query_time秒)的sql的一种日志工具.
本日志由 flyinweb 于 2010-05-26 14:44:31 发表到 数据库技术 中,目前已经被浏览 294 次,评论 0 次;
作者添加了以下标签: mysql slow log,log-slow-queries;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
mysqlsla parses, filters, analyzes and sorts MySQL slow, general, binary and microslow patched logs in order to create a customizable report of the queries and their meta-property values.
Since these reports are customizable, they can be used for human consumption or be fed into other scripts to further analyze the queries. For example, to profile with mk-query-profiler (a script from Baron Schwartz's Maatkit) every unique SELECT statement using database foo from a slow log:
mysqlsla -lt slow slow.log -R print-unique -mf "db=foo" -sf "+SELECT" | \
mk-query-profiler -separate -database foo
Spock Proxy supports range-based horizontal paritioning of a large MySQL database. The proxy intercepts SQL queries from the client, sends queries to the correct databases based on how the database is partitioned, then aggregates the results from each database and returns them to the client as a regular MySQL result set.
本日志由 flyinweb 于 2010-04-07 16:42:16 发表到 数据库技术 中,目前已经被浏览 168 次,评论 0 次;
作者添加了以下标签: Spock Proxy,horizontal partitioning,水平分区;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
allows delayed replication for MySQL databases.
The
dlslavedsyntax is really simple :
-> dlslaved -h ipAddress -u username -p password -P portNumber
本日志由 flyinweb 于 2010-01-28 15:28:33 发表到 数据库技术 中,目前已经被浏览 396 次,评论 0 次;
作者添加了以下标签: mysql slave;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
内容提要:
介绍Informix系统表的结构及相关字段的含义
本日志由 flyinweb 于 2010-01-26 10:11:02 发表到 数据库技术 中,目前已经被浏览 282 次,评论 0 次;
作者添加了以下标签: Informix系统表;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
进行MySQL的配置优化,首先必须找出MySQL的性能瓶颈所在;而SHOW STATUS输出的报告正是用来计算性能瓶颈的参考数据。mysqlreport不像SHOW STATUS那样简单的罗列数据,而是对这些参考数据加以融合计算,整理成一个个优化参考点,然后DBA就可以根据这个优化参考点的值以及该点的衡量标准,进行对应调整。这篇文章既不分析mysqlreport的报告含义,也不说明优化参考点的计算公式和原理,只简单描述使用方法。后面再逐次深入分析。
本日志由 flyinweb 于 2010-01-15 11:16:22 发表到 数据库技术 中,目前已经被浏览 490 次,评论 0 次;
作者添加了以下标签: mysqlreport;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
To: jconsole不能打开,大概两种可能: 1 没有启用独占模式,如O
两个实例分别放在不同的 datadir 里面,会方便很多
今天遇到了“Cleanup failed to process the following paths:-
谢谢分享.有帮助.
根据inotify + rsync的思路,现在有了个c++版本的同步程序,只需指
真是有耐心呀。我做了个pdf 文件 在上面的网站可以下载