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