默认只能显示15条记录,用source命令处理一个sql文件就用完了,而且还有很多记录不上。SQLprofile

解决方案 »

  1.   

    没看懂  什么profile默认只能显示15条记录
      

  2.   

    就是mysql自带的profile工具,可以显示每条命令的执行时间。默认情况下只能保存15条记录的执行时间,但是这样的容量无法满足我的需求,因为我用source命令处理一个sql文件的时候执行的命令就不止这个数。show profiles只能显示15条命令的执行时间。
      

  3.   

    先看帮助手册。再用GOOGLE一定会有答案的。SHOW PROFILES displays a list of the most recent statements sent to the master. The size of the list is controlled by the profiling_history_size session variable, which has a default value of 15. The maximum value is 100. Setting the value to 0 has the practical effect of disabling profiling. 
      

  4.   

    The default value is 15. The maximum value is 100.