select any(query), sum(`ProfileEvents.Values`[indexOf(`ProfileEvents.Names`, 'UserTimeMicroseconds')]) userCPU from system.query_log where type = 2 and event_date >= today() group by normalizedQueryHash(query) order by userCPU desc limit 10
Обсуждают сегодня