Firebird:iSQL 中的查询执行时间

标签 firebird execution-time

我想获取 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/

相关文章:

sql - Firebird 配置 - 关闭区分大小写

php - 最大执行时间问题

c - gcc -g 调试标志是否影响程序执行?

c++ - C++中执行时间显示 : cin/scanf/getchar_unlocked()

JAVA:静态方法在执行过程中对性能有很大影响吗?

sql - 如何在firebird中使用GROUP BY

php - 带有 ibase 查询的递归函数 php

sql - firebird 数据库查询中 '.' 运算符的用途是什么?

java - VisualVM 结果不同于手动测量

sql - Firebird 数据库在字段上拆分字符串