loop
3
10000
5
60000
hits_100m_single
SELECT count() FROM hits_100m_single WHERE NOT ignore(cityHash64(SearchPhrase)) SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE NOT ignore(cityHash64(SearchPhrase))
SELECT count() FROM hits_100m_single WHERE NOT ignore(farmHash64(SearchPhrase)) SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE NOT ignore(farmHash64(SearchPhrase))
SELECT count() FROM hits_100m_single WHERE NOT ignore(metroHash64(SearchPhrase)) SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE NOT ignore(metroHash64(SearchPhrase))
SELECT count() FROM hits_100m_single WHERE NOT ignore(sipHash64(SearchPhrase)) SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE NOT ignore(sipHash64(SearchPhrase))
SELECT count() FROM hits_100m_single WHERE NOT ignore(MD5(SearchPhrase)) SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE NOT ignore(MD5(SearchPhrase))
SELECT count() FROM hits_100m_single WHERE NOT ignore(MD5(URL)) SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE NOT ignore(MD5(URL))
SELECT count() FROM hits_100m_single WHERE NOT ignore(cityHash64(URL)) SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE NOT ignore(cityHash64(URL))
SELECT count() FROM hits_100m_single WHERE NOT ignore(sipHash64(URL)) SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE NOT ignore(sipHash64(URL))
SELECT count() FROM hits_100m_single WHERE NOT ignore(cityHash64(PageCharset)) SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE NOT ignore(cityHash64(PageCharset))
SELECT count() FROM hits_100m_single WHERE URL LIKE '%metrika%' SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE URL LIKE '%metrika%'
SELECT count() FROM hits_100m_single WHERE positionCaseInsensitiveUTF8(URL, 'новости') != 0 SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE positionCaseInsensitiveUTF8(URL, 'новости') != 0
SELECT count() FROM hits_100m_single WHERE match(URL, '^https?://(?:www\\.)?metri[kc]a\\.yandex\\.(?:ru|com|com\\.tr|ua|by|kz)/.+?2014') SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE match(URL, '^https?://(?:www\\.)?metri[kc]a\\.yandex\\.(?:ru|com|com\\.tr|ua|by|kz)/.+?2014')
SELECT SearchEngineID, SearchPhrase, RegionID FROM hits_100m_single GROUP BY SearchEngineID, SearchPhrase, RegionID ORDER BY count() DESC LIMIT 10 SETTINGS max_threads = 1
SELECT SearchEngineID, SearchPhrase, RegionID FROM hits_100m_single GROUP BY SearchEngineID, SearchPhrase, RegionID ORDER BY count() DESC LIMIT 10
SELECT count() FROM hits_100m_single WHERE NOT ignore(toMonday(EventTime)) SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE NOT ignore(toMonday(EventTime))
SELECT count() FROM hits_100m_single WHERE NOT ignore(cutQueryString(URL)) SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE NOT ignore(cutQueryString(URL))
SELECT quantilesIf(0.5, 0.9)(SendTiming, SendTiming > 0) FROM hits_100m_single SETTINGS max_threads = 1
SELECT quantilesIf(0.5, 0.9)(SendTiming, SendTiming > 0) FROM hits_100m_single
SELECT quantilesTimingIf(0.5, 0.9)(SendTiming, SendTiming > 0) FROM hits_100m_single SETTINGS max_threads = 1
SELECT quantilesTimingIf(0.5, 0.9)(SendTiming, SendTiming > 0) FROM hits_100m_single
SELECT quantilesExactIf(0.5, 0.9)(SendTiming, SendTiming > 0) FROM hits_100m_single SETTINGS max_threads = 1
SELECT quantilesExactIf(0.5, 0.9)(SendTiming, SendTiming > 0) FROM hits_100m_single
SELECT quantilesTDigestIf(0.5, 0.9)(SendTiming, SendTiming > 0) FROM hits_100m_single SETTINGS max_threads = 1
SELECT quantilesTDigestIf(0.5, 0.9)(SendTiming, SendTiming > 0) FROM hits_100m_single
SELECT uniq(UserID) FROM hits_100m_single SETTINGS max_threads = 1
SELECT uniq(UserID) FROM hits_100m_single
SELECT uniqCombined(17)(UserID) FROM hits_100m_single SETTINGS max_threads = 1
SELECT uniqCombined(17)(UserID) FROM hits_100m_single
SELECT uniqExact(UserID) FROM hits_100m_single SETTINGS max_threads = 1
SELECT uniqExact(UserID) FROM hits_100m_single
SELECT RegionID, uniq(UserID) FROM hits_100m_single GROUP BY RegionID SETTINGS max_threads = 1
SELECT RegionID, uniq(UserID) FROM hits_100m_single GROUP BY RegionID
SELECT count() FROM hits_100m_single WHERE NOT ignore(*) SETTINGS max_threads = 1
SELECT count() FROM hits_100m_single WHERE NOT ignore(*)