Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions clickhouse-datalake-partitioned/benchmark.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
#!/bin/bash

# Install

curl https://clickhouse.com/ | sh

# Configure

> clickhouse-local.yaml echo "
filesystem_caches:
cache:
path: '/dev/shm/clickhouse/'
max_size_ratio_to_total_space: 0.9
"

# Run the queries

./run.sh

echo "Load time: 0"
Expand Down
2 changes: 1 addition & 1 deletion clickhouse-datalake-partitioned/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cat queries.sql | while read -r query; do

echo -n "["
for i in $(seq 1 $TRIES); do
RES=$(./clickhouse local --path . --time --format Null --filesystem_cache_name cache --query="$query" 2>&1) # (*)
RES=$(./clickhouse local --path . --time --format Null --query="$query" 2>&1) # (*)
[[ "$?" == "0" ]] && echo -n "${RES}" || echo -n "null"
[[ "$i" != $TRIES ]] && echo -n ", "

Expand Down
13 changes: 0 additions & 13 deletions clickhouse-datalake/benchmark.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
#!/bin/bash

# Install

curl https://clickhouse.com/ | sh

# Configure

> clickhouse-local.yaml echo "
filesystem_caches:
cache:
path: '/dev/shm/clickhouse/'
max_size_ratio_to_total_space: 0.9
"

# Run the queries

./run.sh

echo "Load time: 0"
Expand Down
2 changes: 1 addition & 1 deletion clickhouse-datalake/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cat queries.sql | while read -r query; do

echo -n "["
for i in $(seq 1 $TRIES); do
RES=$(./clickhouse local --path . --time --format Null --filesystem_cache_name cache --query="$query" 2>&1) # (*)
RES=$(./clickhouse local --path . --time --format Null --query="$query" 2>&1) # (*)
[[ "$?" == "0" ]] && echo -n "${RES}" || echo -n "null"
[[ "$i" != $TRIES ]] && echo -n ", "

Expand Down