```
┌───────────────now()─┬─event────────────────┬────────────────value─┐
│ 2022-10-28 08:09:26 │ UserTimeMicroseconds │ 13760641375459361349 │
│ 2022-10-28 08:11:57 │ UserTimeMicroseconds │ 17081055181340065261 │
│ 2022-10-28 08:13:31 │ UserTimeMicroseconds │  2803275110436731712 │
│ 2022-10-28 08:14:19 │ UserTimeMicroseconds │  4039206916108154442 │
│ 2022-10-28 08:15:49 │ UserTimeMicroseconds │  5422712665390374116 │
└─────────────────────┴──────────────────────┴──────────────────────┘
```

It can not grow so fast. 

```
SELECT formatReadableTimeDelta((17081055181340065261 - 13760641375459361349) / 1000000)

Query id: 7bbb071d-6204-413d-ba7a-222c89aca743

┌─formatReadableTimeDelta(divide(minus(17081055181340065261, 13760641375459361349), 1000000))─┐
│ 105289 years, 7 months, 16 days, 20 hours and 18 minutes                                    │
└─────────────────────────────────────────────────────────────────────────────────────────────┘
```
{
        auto global_context_ptr = global_context.lock();
        auto query_context_ptr = query_context.lock();
        if (global_context_ptr && query_context_ptr)
        {
            const auto & settings = query_context_ptr->getSettingsRef();
            if (settings.log_queries && settings.log_query_threads)
            {
                const auto now = std::chrono::system_clock::now();
                Int64 query_duration_ms = (timeInMicroseconds(now) - query_start_time_microseconds) / 1000;
                if (query_duration_ms >= settings.log_queries_min_query_duration_ms.totalMilliseconds())
                {
                    if (auto thread_log = global_context_ptr->getQueryThreadLog())
                        logToQueryThreadLog(*thread_log, query_context_ptr->getCurrentDatabase(), now);
                }
            }
        }
    }
    catch (...)
    {
        tryLogCurrentException(log);
    }
}
void ThreadStatus::resetPerformanceCountersLastUsage()
{
    *last_rusage = RUsageCounters::current();
    if (taskstats)
        taskstats->reset();
}
void ThreadStatus::initQueryProfiler()