ClickHouse/tests/performance/set_hits.xml

17 lines
1.1 KiB
XML
Raw Normal View History

<test>
2017-11-16 18:03:31 +00:00
<preconditions>
2020-06-09 23:37:20 +00:00
<!-- We use smaller or larger table based on the result set for a particular
query, so that it runs not too fast and not too slow. -->
2020-02-13 18:42:55 +00:00
<table_exists>hits_10m_single</table_exists>
2020-02-14 11:15:26 +00:00
<table_exists>hits_100m_single</table_exists>
2017-11-16 18:03:31 +00:00
</preconditions>
2020-06-09 23:37:20 +00:00
<!-- UserID is in primary key, run in one thread so that it's not too fast. -->
<query>SELECT count() FROM hits_100m_single WHERE UserID IN (SELECT UserID FROM hits_100m_single WHERE AdvEngineID != 0) SETTINGS max_threads = 1</query>
2020-02-13 18:42:55 +00:00
<query>SELECT count() FROM hits_10m_single WHERE UserID IN (SELECT UserID FROM hits_10m_single)</query>
<query>SELECT count() FROM hits_10m_single WHERE SearchPhrase IN (SELECT SearchPhrase FROM hits_10m_single)</query>
2020-06-09 23:37:20 +00:00
<query>SELECT count() FROM hits_100m_single WHERE URL IN (SELECT URL FROM hits_100m_single WHERE AdvEngineID != 0)</query>
2020-02-13 18:42:55 +00:00
<query>SELECT count() FROM hits_10m_single WHERE URL IN (SELECT URL FROM hits_10m_single WHERE SearchEngineID != 0)</query>
2020-06-09 23:37:20 +00:00
<query>SELECT count() FROM hits_100m_single WHERE RegionID IN (SELECT RegionID FROM hits_100m_single)</query>
</test>