File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export HEAVYAI_LOG=/var/lib/heavyai/data/mapd_log
1818
1919pushd $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
3132pigz -d -f hits.csv.gz
3233chmod 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_"
3536sudo bash -c " cat /var/lib/heavyai/heavy.conf >> /var/lib/heavyai/heavy.conf_"
3637sudo bash -c " mv /var/lib/heavyai/heavy.conf_ /var/lib/heavyai/heavy.conf && chown heavyai /var/lib/heavyai/heavy.conf"
3738sudo systemctl restart heavydb
3839
3940/opt/heavyai/bin/heavysql -t -p HyperInteractive < create.sql
4041echo -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
4848echo -n " Data size: "
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ echo "deb https://dev.monetdb.org/downloads/deb/ $(lsb_release -cs) monetdb" | s
66
77sudo wget --output-document=/etc/apt/trusted.gpg.d/monetdb.gpg https://www.monetdb.org/downloads/MonetDB-GPG-KEY.gpg
88sudo 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
1111sudo systemctl enable monetdbd
1212sudo systemctl start monetdbd
You can’t perform that action at this time.
0 commit comments