2

我想在iSQL.

例如 :

SELECT * FROM students;

我如何获得查询执行时间?

4

1 回答 1

10

使用SET STATS

SQL> SET STATS;
SQL> SELECT * FROM RDB$DATABASE;
... query output removed ....

Current memory = 34490656
Delta memory = 105360
Max memory = 34612544
Elapsed time= 0.59 sec
Buffers = 2048
Reads = 17
Writes 0
Fetches = 270
SQL>
于 2013-08-03T10:41:30.817 回答