diff --git a/dbms/tests/performance/prewhere.xml b/dbms/tests/performance/prewhere.xml new file mode 100644 index 0000000000000000000000000000000000000000..2ba028562e5e8753209f087d8632e061d75ceef5 --- /dev/null +++ b/dbms/tests/performance/prewhere.xml @@ -0,0 +1,28 @@ + + loop + + + + 5 + 10000 + + + 50 + 60000 + + + + + + + + + default.hits_10m_single + + + + 1 + + + SELECT Title, URL FROM hits_10m_single PREWHERE WatchID % 2 = 1 WHERE UserID = 10000 FORMAT Null + diff --git a/docker/builder/build.sh b/docker/builder/build.sh index 8af31cb3d433c9a167ea8014265a6ea1de7905b5..983c25fdec4d9839596efb187d0945485ef291c3 100755 --- a/docker/builder/build.sh +++ b/docker/builder/build.sh @@ -3,7 +3,7 @@ #ccache -s # uncomment to display CCache statistics mkdir -p /server/build_docker cd /server/build_docker -cmake -G Ninja /server -DCMAKE_C_COMPILER=`which gcc-8` -DCMAKE_CXX_COMPILER=`which g++-8` +cmake -G Ninja /server -DCMAKE_C_COMPILER=`which gcc-9` -DCMAKE_CXX_COMPILER=`which g++-9` # Set the number of build jobs to the half of number of virtual CPU cores (rounded up). # By default, ninja use all virtual CPU cores, that leads to very high memory consumption without much improvement in build time.