提交 ed5c9fbe authored 作者: Thomas Mueller's avatar Thomas Mueller

The new statement EXPLAIN ANALYZE executes the statement, and displays the query…

The new statement EXPLAIN ANALYZE executes the statement, and displays the query plan with the actual row scan count for each table.
上级 8916803d
......@@ -917,7 +917,11 @@ SET ALLOW_LITERALS NONE
SET AUTOCOMMIT { TRUE | ON | FALSE | OFF }
","
Switches auto commit on or off.
This setting can be appended to the database URL: jdbc:h2:test;AUTOCOMMIT=OFF
This setting can be appended to the database URL: jdbc:h2:test;AUTOCOMMIT=OFF -
however this will not work as expected when using a connection pool
(the connection pool manager will re-enable autocommit when returning
the connection to the pool, so autocommit will only be disabled the first
time the connection is used.
","
SET AUTOCOMMIT OFF
"
......
......@@ -35,7 +35,7 @@ CALL expression
","
Calculates a simple expression."
"Commands (DML)","EXPLAIN","
EXPLAIN [ PLAN FOR ] { select | insert | update | delete }
EXPLAIN { [ PLAN FOR ] | ANALYZE } { select | insert | update | delete }
","
Shows the execution plan for a statement."
"Commands (DML)","MERGE","
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论