我想获取 iSQL
中的查询执行时间。
例如:
SELECT * FROM students;
如何获取查询执行时间?
最佳答案
使用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>
关于Firebird:iSQL 中的查询执行时间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18031936/