ClickHouse/dbms/tests/performance/agg_functions_min_max_any.xml

119 lines
12 KiB
XML

<test>
<type>loop</type>
<stop_conditions>
<all_of>
<iterations>3</iterations>
<min_time_not_changing_for_ms>10000</min_time_not_changing_for_ms>
</all_of>
<any_of>
<iterations>5</iterations>
<total_time_ms>60000</total_time_ms>
</any_of>
</stop_conditions>
<main_metric>
<min_time/>
</main_metric>
<preconditions>
<table_exists>default.hits_1000m_single</table_exists>
</preconditions>
<query>select min(Title) from hits_1000m_single where Title != '' group by intHash32(UserID) % 1000000</query>
<query>select max(Title) from hits_1000m_single where Title != '' group by intHash32(UserID) % 1000000</query>
<query>select any(Title) from hits_1000m_single where Title != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(Title) from hits_1000m_single where Title != '' group by intHash32(UserID) % 1000000</query>
<query>select min(URL) from hits_1000m_single where URL != '' group by intHash32(UserID) % 1000000</query>
<query>select max(URL) from hits_1000m_single where URL != '' group by intHash32(UserID) % 1000000</query>
<query>select any(URL) from hits_1000m_single where URL != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(URL) from hits_1000m_single where URL != '' group by intHash32(UserID) % 1000000</query>
<query>select min(Referer) from hits_1000m_single where Referer != '' group by intHash32(UserID) % 1000000</query>
<query>select max(Referer) from hits_1000m_single where Referer != '' group by intHash32(UserID) % 1000000</query>
<query>select any(Referer) from hits_1000m_single where Referer != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(Referer) from hits_1000m_single where Referer != '' group by intHash32(UserID) % 1000000</query>
<query>select min(FlashMinor2) from hits_1000m_single where FlashMinor2 != '' group by intHash32(UserID) % 1000000</query>
<query>select max(FlashMinor2) from hits_1000m_single where FlashMinor2 != '' group by intHash32(UserID) % 1000000</query>
<query>select any(FlashMinor2) from hits_1000m_single where FlashMinor2 != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(FlashMinor2) from hits_1000m_single where FlashMinor2 != '' group by intHash32(UserID) % 1000000</query>
<query>select min(MobilePhoneModel) from hits_1000m_single where MobilePhoneModel != '' group by intHash32(UserID) % 1000000</query>
<query>select max(MobilePhoneModel) from hits_1000m_single where MobilePhoneModel != '' group by intHash32(UserID) % 1000000</query>
<query>select any(MobilePhoneModel) from hits_1000m_single where MobilePhoneModel != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(MobilePhoneModel) from hits_1000m_single where MobilePhoneModel != '' group by intHash32(UserID) % 1000000</query>
<query>select min(Params) from hits_1000m_single where Params != '' group by intHash32(UserID) % 1000000</query>
<query>select max(Params) from hits_1000m_single where Params != '' group by intHash32(UserID) % 1000000</query>
<query>select any(Params) from hits_1000m_single where Params != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(Params) from hits_1000m_single where Params != '' group by intHash32(UserID) % 1000000</query>
<query>select min(SearchPhrase) from hits_1000m_single where SearchPhrase != '' group by intHash32(UserID) % 1000000</query>
<query>select max(SearchPhrase) from hits_1000m_single where SearchPhrase != '' group by intHash32(UserID) % 1000000</query>
<query>select any(SearchPhrase) from hits_1000m_single where SearchPhrase != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(SearchPhrase) from hits_1000m_single where SearchPhrase != '' group by intHash32(UserID) % 1000000</query>
<query>select min(PageCharset) from hits_1000m_single where PageCharset != '' group by intHash32(UserID) % 1000000</query>
<query>select max(PageCharset) from hits_1000m_single where PageCharset != '' group by intHash32(UserID) % 1000000</query>
<query>select any(PageCharset) from hits_1000m_single where PageCharset != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(PageCharset) from hits_1000m_single where PageCharset != '' group by intHash32(UserID) % 1000000</query>
<query>select min(OriginalURL) from hits_1000m_single where OriginalURL != '' group by intHash32(UserID) % 1000000</query>
<query>select max(OriginalURL) from hits_1000m_single where OriginalURL != '' group by intHash32(UserID) % 1000000</query>
<query>select any(OriginalURL) from hits_1000m_single where OriginalURL != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(OriginalURL) from hits_1000m_single where OriginalURL != '' group by intHash32(UserID) % 1000000</query>
<query>select min(SocialNetwork) from hits_1000m_single where SocialNetwork != '' group by intHash32(UserID) % 1000000</query>
<query>select max(SocialNetwork) from hits_1000m_single where SocialNetwork != '' group by intHash32(UserID) % 1000000</query>
<query>select any(SocialNetwork) from hits_1000m_single where SocialNetwork != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(SocialNetwork) from hits_1000m_single where SocialNetwork != '' group by intHash32(UserID) % 1000000</query>
<query>select min(SocialAction) from hits_1000m_single where SocialAction != '' group by intHash32(UserID) % 1000000</query>
<query>select max(SocialAction) from hits_1000m_single where SocialAction != '' group by intHash32(UserID) % 1000000</query>
<query>select any(SocialAction) from hits_1000m_single where SocialAction != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(SocialAction) from hits_1000m_single where SocialAction != '' group by intHash32(UserID) % 1000000</query>
<query>select min(SocialSourcePage) from hits_1000m_single where SocialSourcePage != '' group by intHash32(UserID) % 1000000</query>
<query>select max(SocialSourcePage) from hits_1000m_single where SocialSourcePage != '' group by intHash32(UserID) % 1000000</query>
<query>select any(SocialSourcePage) from hits_1000m_single where SocialSourcePage != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(SocialSourcePage) from hits_1000m_single where SocialSourcePage != '' group by intHash32(UserID) % 1000000</query>
<query>select min(ParamOrderID) from hits_1000m_single where ParamOrderID != '' group by intHash32(UserID) % 1000000</query>
<query>select max(ParamOrderID) from hits_1000m_single where ParamOrderID != '' group by intHash32(UserID) % 1000000</query>
<query>select any(ParamOrderID) from hits_1000m_single where ParamOrderID != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(ParamOrderID) from hits_1000m_single where ParamOrderID != '' group by intHash32(UserID) % 1000000</query>
<query>select min(OpenstatServiceName) from hits_1000m_single where OpenstatServiceName != '' group by intHash32(UserID) % 1000000</query>
<query>select max(OpenstatServiceName) from hits_1000m_single where OpenstatServiceName != '' group by intHash32(UserID) % 1000000</query>
<query>select any(OpenstatServiceName) from hits_1000m_single where OpenstatServiceName != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(OpenstatServiceName) from hits_1000m_single where OpenstatServiceName != '' group by intHash32(UserID) % 1000000</query>
<query>select min(OpenstatCampaignID) from hits_1000m_single where OpenstatCampaignID != '' group by intHash32(UserID) % 1000000</query>
<query>select max(OpenstatCampaignID) from hits_1000m_single where OpenstatCampaignID != '' group by intHash32(UserID) % 1000000</query>
<query>select any(OpenstatCampaignID) from hits_1000m_single where OpenstatCampaignID != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(OpenstatCampaignID) from hits_1000m_single where OpenstatCampaignID != '' group by intHash32(UserID) % 1000000</query>
<query>select min(OpenstatAdID) from hits_1000m_single where OpenstatAdID != '' group by intHash32(UserID) % 1000000</query>
<query>select max(OpenstatAdID) from hits_1000m_single where OpenstatAdID != '' group by intHash32(UserID) % 1000000</query>
<query>select any(OpenstatAdID) from hits_1000m_single where OpenstatAdID != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(OpenstatAdID) from hits_1000m_single where OpenstatAdID != '' group by intHash32(UserID) % 1000000</query>
<query>select min(OpenstatSourceID) from hits_1000m_single where OpenstatSourceID != '' group by intHash32(UserID) % 1000000</query>
<query>select max(OpenstatSourceID) from hits_1000m_single where OpenstatSourceID != '' group by intHash32(UserID) % 1000000</query>
<query>select any(OpenstatSourceID) from hits_1000m_single where OpenstatSourceID != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(OpenstatSourceID) from hits_1000m_single where OpenstatSourceID != '' group by intHash32(UserID) % 1000000</query>
<query>select min(UTMSource) from hits_1000m_single where UTMSource != '' group by intHash32(UserID) % 1000000</query>
<query>select max(UTMSource) from hits_1000m_single where UTMSource != '' group by intHash32(UserID) % 1000000</query>
<query>select any(UTMSource) from hits_1000m_single where UTMSource != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(UTMSource) from hits_1000m_single where UTMSource != '' group by intHash32(UserID) % 1000000</query>
<query>select min(UTMMedium) from hits_1000m_single where UTMMedium != '' group by intHash32(UserID) % 1000000</query>
<query>select max(UTMMedium) from hits_1000m_single where UTMMedium != '' group by intHash32(UserID) % 1000000</query>
<query>select any(UTMMedium) from hits_1000m_single where UTMMedium != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(UTMMedium) from hits_1000m_single where UTMMedium != '' group by intHash32(UserID) % 1000000</query>
<query>select min(UTMCampaign) from hits_1000m_single where UTMCampaign != '' group by intHash32(UserID) % 1000000</query>
<query>select max(UTMCampaign) from hits_1000m_single where UTMCampaign != '' group by intHash32(UserID) % 1000000</query>
<query>select any(UTMCampaign) from hits_1000m_single where UTMCampaign != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(UTMCampaign) from hits_1000m_single where UTMCampaign != '' group by intHash32(UserID) % 1000000</query>
<query>select min(UTMContent) from hits_1000m_single where UTMContent != '' group by intHash32(UserID) % 1000000</query>
<query>select max(UTMContent) from hits_1000m_single where UTMContent != '' group by intHash32(UserID) % 1000000</query>
<query>select any(UTMContent) from hits_1000m_single where UTMContent != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(UTMContent) from hits_1000m_single where UTMContent != '' group by intHash32(UserID) % 1000000</query>
<query>select min(UTMTerm) from hits_1000m_single where UTMTerm != '' group by intHash32(UserID) % 1000000</query>
<query>select max(UTMTerm) from hits_1000m_single where UTMTerm != '' group by intHash32(UserID) % 1000000</query>
<query>select any(UTMTerm) from hits_1000m_single where UTMTerm != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(UTMTerm) from hits_1000m_single where UTMTerm != '' group by intHash32(UserID) % 1000000</query>
<query>select min(FromTag) from hits_1000m_single where FromTag != '' group by intHash32(UserID) % 1000000</query>
<query>select max(FromTag) from hits_1000m_single where FromTag != '' group by intHash32(UserID) % 1000000</query>
<query>select any(FromTag) from hits_1000m_single where FromTag != '' group by intHash32(UserID) % 1000000</query>
<query>select anyHeavy(FromTag) from hits_1000m_single where FromTag != '' group by intHash32(UserID) % 1000000</query>
</test>