Commit Graph

8 Commits

Author SHA1 Message Date
Alexander Kuzmenkov
75920565c9 Improve flush performance in SystemLog
It started having problems under heavy workloads such as saving all
memory allocations to trace_log table. To improve that, stop popping
entries one by one from the log queue, and actually stop using the queue
completely, because we don't use most of its methods or its backpressure
feature. Just keep a vector of messages and flush it to disk
periodically.
2020-02-07 22:32:49 +03:00
Alexey Milovidov
d11f3cb78f Changed thread_id to UInt64 to support more OS 2020-02-02 23:01:13 +03:00
Alexey Milovidov
f9eb4e79f6 Using OS tid everywhere #7477 2020-02-02 05:28:14 +03:00
Nikita Mikhaylov
38607af95f nothing interesting 2019-07-24 11:26:23 +03:00
Nikita Mikhaylov
a80e066769 better 2019-07-22 19:04:15 +03:00
Nikita Mikhaylov
0f3a4a34b4 test + comment 2019-07-22 18:33:38 +03:00
Nikita Mikhaylov
8289472b98 style improvements 2019-07-22 18:09:33 +03:00
Nikita Mikhaylov
c6667ff888 wip 2019-07-22 16:54:08 +03:00