Skip to content

Commit 9fc2cbf

Browse files
Merge pull request #530 from ClickHouse/adjustments-10
Small adjustments (10)
2 parents 3733714 + 5061184 commit 9fc2cbf

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

heavyai/benchmark.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export HEAVYAI_LOG=/var/lib/heavyai/data/mapd_log
1818

1919
pushd $HEAVYAI_PATH/systemd
2020
./install_heavy_systemd.sh
21+
popd
2122

2223
# Press Enter multiple times.
2324

@@ -31,18 +32,17 @@ wget --continue --progress=dot:giga 'https://datasets.clickhouse.com/hits_compat
3132
pigz -d -f hits.csv.gz
3233
chmod 777 ~ hits.csv
3334

34-
sudo bash -c "echo 'allowed-import-paths = [\"$(echo ~)\"]' > /var/lib/heavyai/heavy.conf_"
35+
sudo bash -c "echo 'allowed-import-paths = [\"$(pwd)\"]' > /var/lib/heavyai/heavy.conf_"
3536
sudo bash -c "cat /var/lib/heavyai/heavy.conf >> /var/lib/heavyai/heavy.conf_"
3637
sudo bash -c "mv /var/lib/heavyai/heavy.conf_ /var/lib/heavyai/heavy.conf && chown heavyai /var/lib/heavyai/heavy.conf"
3738
sudo systemctl restart heavydb
3839

3940
/opt/heavyai/bin/heavysql -t -p HyperInteractive < create.sql
4041
echo -n "Load time: "
41-
command time -f '%e' /opt/heavyai/bin/heavysql -t -p HyperInteractive <<< "COPY hits FROM '$(pwd)/hits.csv' WITH (HEADER = 'false');"
42+
command time -f '%e' /opt/heavyai/bin/heavysql -q -t -p HyperInteractive <<< "COPY hits FROM '$(pwd)/hits.csv' WITH (HEADER = 'false');"
4243

4344
# Loaded: 99997497 recs, Rejected: 0 recs in 572.633000 secs
4445

45-
popd
4646
./run.sh 2>&1 | tee log.txt
4747

4848
echo -n "Data size: "

monetdb/benchmark.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ echo "deb https://dev.monetdb.org/downloads/deb/ $(lsb_release -cs) monetdb" | s
66

77
sudo wget --output-document=/etc/apt/trusted.gpg.d/monetdb.gpg https://www.monetdb.org/downloads/MonetDB-GPG-KEY.gpg
88
sudo apt-get update -y
9-
sudo apt-get install -y monetdb5-sql monetdb-client dos2unix
9+
sudo apt-get install -y monetdb5-sql monetdb-client dos2unix net-tools
1010

1111
sudo systemctl enable monetdbd
1212
sudo systemctl start monetdbd

0 commit comments

Comments
 (0)