diff --git a/tools/tpcds-tools/bin/load-tpcds-data.sh b/tools/tpcds-tools/bin/load-tpcds-data.sh index 5bd4f1b348..d34021076d 100755 --- a/tools/tpcds-tools/bin/load-tpcds-data.sh +++ b/tools/tpcds-tools/bin/load-tpcds-data.sh @@ -204,8 +204,8 @@ run_sql() { mysql -h"${FE_HOST}" -u"${USER}" -P"${FE_QUERY_PORT}" -D"${DB}" -e "$*" } start=$(date +%s) -run_sql "analyze database ${DB} with sync;" +run_sql "analyze database ${DB} with full with sync;" end=$(date +%s) analyzeTime=$((end - start)) -echo "analyze database ${DB} with sync total time: ${analyzeTime} s" +echo "analyze database ${DB} with full with sync total time: ${analyzeTime} s" echo '============================================' diff --git a/tools/tpch-tools/bin/load-tpch-data.sh b/tools/tpch-tools/bin/load-tpch-data.sh index 988b161fbe..3e4e7f6bfb 100755 --- a/tools/tpch-tools/bin/load-tpch-data.sh +++ b/tools/tpch-tools/bin/load-tpch-data.sh @@ -243,8 +243,8 @@ run_sql() { mysql -h"${FE_HOST}" -u"${USER}" -P"${FE_QUERY_PORT}" -D"${DB}" -e "$*" } start=$(date +%s) -run_sql "analyze database ${DB} with sync;" +run_sql "analyze database ${DB} with full with sync;" end=$(date +%s) totalTime=$((end - start)) -echo "analyze database ${DB} with sync total time: ${totalTime} s" +echo "analyze database ${DB} with full with sync total time: ${totalTime} s" echo '============================================'