```
┌───────────────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                                    │
└─────────────────────────────────────────────────────────────────────────────────────────────┘
```
void resetPerformanceCountersLastUsage();
    
    void detachQuery(bool exit_if_already_detached = false, bool thread_exits = false);
    void logToQueryViewsLog(const ViewRuntimeData & vinfo);
protected:
    void applyQuerySettings();
    void initPerformanceCounters();
    void initQueryProfiler();
    void finalizeQueryProfiler();
    void logToQueryThreadLog(QueryThreadLog & thread_log, const String & current_database, std::chrono::time_point<std::chrono::system_clock> now);
    void assertState(const std::initializer_list<int> & permitted_states, const char * description = nullptr) const;
private:
    void setupState(const ThreadGroupStatusPtr & thread_group_);
};
/**
 * Creates ThreadStatus for the main thread.
 */
class MainThreadStatus : public ThreadStatus
{
public:
    static MainThreadStatus & getInstance();
    static ThreadStatus * get() { return main_thread; }
    static bool isMainThread() { return main_thread == current_thread; }
    ~MainThreadStatus();
private:
    MainThreadStatus();
    static ThreadStatus * main_thread;
};
}