2013年9月24日
摘要: MySQL不像Oracle会在源码中植入大量的调试入口,最近突然要调试一下MySQL的SQL执行过程,于是上官方查了一下,发现只有一个叫做Query Log的机制。当开关被打开之后,所有执行的SQL Statement都会被记录下来,非常详细,基本能够达到调试的目的。这是官方给出的Query Log功能描述:The general query log is a general record of whatmysqldis doing. The server writes information to this log when clients connect or disconnect, an 阅读全文
posted @ 2013-09-24 23:28 weaver_chen 阅读(365) 评论(0) 推荐(0) 编辑