Home >Database >Mysql Tutorial >巧用sqlplus跟踪性能

巧用sqlplus跟踪性能

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 17:07:00840browse

近期有一堆Delete语句要执行,把整个34条Delete语句写成一个PROCEDURE执行,但是执行的时候看不到单个DELETE语句的执行计划和时间

近期有一堆Delete语句要执行,,把整个34条Delete语句写成一个PROCEDURE执行,但是执行的时候看不到单个DELETE语句的执行计划和时间,想到用SQLPLUS根踪每条DELETE的执行时间和执行计划:

这样,就可以在track.log中看到详细的每条语句的执行情况了。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn