Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
15.11.2017, 16:34
|
|||
---|---|---|---|
Время выполнения процедуры |
|||
#18+
Добрый день всем! Можно ли измерить время выполнения процедуры? Я делаю так: sbegin=current_date || ' ' || current_time || ' - Начало работы' --работа ... ... ... send=current_date || ' ' || current_time || ' - Конец работы' . И получаю в sbegin и send одинавковое время. Заранее спасибо. ... |
|||
:
Нравится:
Не нравится:
|
|||
|
15.11.2017, 16:39
|
|||
---|---|---|---|
Время выполнения процедуры |
|||
#18+
сдeлай UDF, которая возвращает GetTickCount ... |
|||
:
Нравится:
Не нравится:
|
|||
|
15.11.2017, 16:40
|
|||
---|---|---|---|
|
|||
Время выполнения процедуры |
|||
#18+
не читаешь доку Posted via ActualForum NNTP Server 1.5 ... |
|||
:
Нравится:
Не нравится:
|
|||
|
15.11.2017, 16:41
|
|||
---|---|---|---|
Время выполнения процедуры |
|||
#18+
https://firebirdsql.org/refdocs/langrefupd21-current_timestamp.html Within a PSQL module (procedure, trigger or executable block), the value of CURRENT_TIMESTAMP will remain constant every time it is read. If multiple modules call or trigger each other, the value will remain constant throughout the duration of the outermost module. If you need a progressing value in PSQL (e.g. to measure time intervals), use 'NOW'. https://firebirdsql.org/refdocs/langrefupd21-now.html ... |
|||
:
Нравится:
Не нравится:
|
|||
|
15.11.2017, 16:43
|
|||
---|---|---|---|
|
|||
Время выполнения процедуры |
|||
#18+
вот Posted via ActualForum NNTP Server 1.5 ... |
|||
:
Нравится:
Не нравится:
|
|||
|
15.11.2017, 16:49
|
|||
---|---|---|---|
Время выполнения процедуры |
|||
#18+
AriochWithin a PSQL module (procedure, trigger or executable block), the value of CURRENT_TIMESTAMP will remain constant every time it is read. If multiple modules call or trigger each other, the value will remain constant throughout the duration of the outermost module. If you need a progressing value in PSQL (e.g. to measure time intervals), use 'NOW'. Спасибо! ... |
|||
:
Нравится:
Не нравится:
|
|||
|
15.11.2017, 17:39
|
|||
---|---|---|---|
|
|||
Время выполнения процедуры |
|||
#18+
Ariochсдeлай UDF, которая возвращает GetTickCount Это путь для самураев, не сумевших найти стандартную GetExactTimestamp. Posted via ActualForum NNTP Server 1.5 ... |
|||
:
Нравится:
Не нравится:
|
|||
|
|
start [/forum/topic.php?fid=40&mobile=1&tid=1561337]: |
0ms |
get settings: |
9ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
193ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
48ms |
get tp. blocked users: |
1ms |
others: | 16ms |
total: | 296ms |
0 / 0 |