Skip to content

Commit fe65c0d

Browse files
authored
Merge pull request #562 from vortex-data/ji/update-clickbench-vx-0.43.0
`duckdb-vortex-partitioned` update to vortex v0.44.0
2 parents 109c619 + cee2209 commit fe65c0d

File tree

2 files changed

+62
-52
lines changed

2 files changed

+62
-52
lines changed

duckdb-vortex-partitioned/benchmark.sh

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --defaul
88

99
export CC=clang
1010
export CXX=clang++
11-
git clone https://github.com/vortex-data/vortex --recursive
12-
cd vortex
13-
git fetch --tags
14-
git checkout 0.35.0
11+
git clone https://github.com/vortex-data/duckdb-vortex --recursive
1512
cd duckdb-vortex
13+
git fetch --tags
14+
git checkout v0.44.0
15+
git submodule update --init --recursive
1616
GEN=ninja NATIVE_ARCH=1 LTO=thin make
1717
export PATH="`pwd`/build/release/:$PATH"
18-
cd ../..
18+
cd ..
1919

2020
# Load the data
2121
seq 0 99 | xargs -P100 -I{} bash -c 'wget --continue --progress=dot:giga https://datasets.clickhouse.com/hits_compatible/athena_partitioned/hits_{}.parquet'
@@ -24,7 +24,17 @@ seq 0 99 | xargs -P100 -I{} bash -c 'wget --continue --progress=dot:giga https:/
2424
echo -n "Load time: "
2525
seq 0 99 | command time -f '%e' xargs -P"$(nproc)" -I{} bash -c '
2626
if [ ! -f "hits_{}.vortex" ]; then
27-
duckdb -c "COPY 'hits_{}.parquet' TO hits_{}.vortex (FORMAT vortex)"
27+
duckdb -c "
28+
COPY (
29+
SELECT *
30+
REPLACE (
31+
make_date(EventDate) AS EventDate,
32+
epoch_ms(EventTime * 1000) as EventTime
33+
)
34+
FROM read_parquet('"'"'hits_{}.parquet'"'"', binary_as_string=True)
35+
)
36+
TO '"'"'hits_{}.vortex'"'"' (FORMAT VORTEX)
37+
"
2838
fi
2939
'
3040

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"system": "DuckDB (Vortex, partitioned)",
3-
"date": "2025-05-21",
3+
"date": "2025-08-06",
44
"machine": "c6a.4xlarge",
55
"cluster_size": 1,
66
"proprietary": "no",
@@ -9,52 +9,52 @@
99

1010
"tags": ["Rust", "column-oriented", "embedded", "stateless"],
1111

12-
"load_time": 0,
13-
"data_size": 16028112632,
12+
"load_time": 742.26,
13+
"data_size": 15961049404,
1414

1515
"result": [
16-
[0.239,0.011,0.010],
17-
[0.498,0.027,0.027],
18-
[1.586,0.150,0.145],
19-
[3.163,0.108,0.108],
20-
[3.321,0.381,0.380],
21-
[3.327,0.417,0.415],
22-
[0.247,0.050,0.052],
23-
[0.446,0.033,0.030],
24-
[4.517,0.568,0.565],
25-
[4.495,0.819,0.829],
26-
[2.772,0.147,0.144],
27-
[3.467,0.175,0.168],
28-
[3.809,0.388,0.387],
29-
[6.402,0.789,0.773],
30-
[3.615,0.409,0.440],
31-
[2.741,0.449,0.454],
32-
[6.105,1.176,1.135],
33-
[5.895,0.987,0.993],
34-
[8.413,2.137,2.134],
35-
[1.890,0.256,0.254],
36-
[27.029,0.593,0.593],
37-
[28.245,0.619,0.659],
38-
[35.089,1.163,1.177],
39-
[98.719,2.680,2.845],
40-
[5.261,0.259,0.254],
41-
[3.447,0.187,0.179],
42-
[5.643,0.258,0.247],
43-
[25.593,1.212,0.654],
44-
[21.055,9.490,9.472],
45-
[0.773,0.106,0.107],
46-
[6.830,0.357,0.345],
47-
[12.732,0.531,0.486],
48-
[10.444,2.272,2.167],
49-
[26.346,1.819,1.804],
50-
[26.248,2.339,2.319],
51-
[1.834,0.622,0.627],
52-
[0.247,0.032,0.033],
53-
[0.619,0.028,0.027],
54-
[0.884,0.022,0.037],
55-
[1.011,0.065,0.062],
56-
[0.718,0.025,0.027],
57-
[0.819,0.028,0.023],
58-
[0.765,0.024,0.020]
16+
[0.184,0.013,0.003],
17+
[0.523,0.014,0.014],
18+
[1.610,0.035,0.035],
19+
[3.435,0.049,0.052],
20+
[3.466,0.329,0.332],
21+
[4.172,0.297,0.292],
22+
[0.181,0.022,0.020],
23+
[0.567,0.019,0.018],
24+
[4.334,0.415,0.405],
25+
[4.319,0.561,0.558],
26+
[2.784,0.097,0.091],
27+
[3.485,0.124,0.107],
28+
[4.721,0.307,0.316],
29+
[7.135,0.672,0.675],
30+
[4.478,0.343,0.342],
31+
[2.783,0.392,0.387],
32+
[7.061,0.852,0.847],
33+
[6.856,0.740,0.628],
34+
[9.200,1.517,1.505],
35+
[1.971,0.038,0.031],
36+
[33.849,0.556,0.530],
37+
[36.486,0.679,0.636],
38+
[40.129,1.065,1.072],
39+
[7.566,0.392,0.382],
40+
[1.880,0.122,0.062],
41+
[4.896,0.096,0.098],
42+
[1.791,0.126,0.031],
43+
[34.787,0.863,0.790],
44+
[28.059,9.317,9.314],
45+
[0.717,0.033,0.033],
46+
[7.835,0.279,0.317],
47+
[13.900,0.420,0.403],
48+
[10.751,1.919,1.892],
49+
[34.222,2.047,1.980],
50+
[34.208,2.288,2.131],
51+
[1.861,0.511,0.506],
52+
[0.258,0.025,0.024],
53+
[0.840,0.012,0.021],
54+
[1.098,0.024,0.018],
55+
[1.265,0.063,0.053],
56+
[0.815,0.022,0.008],
57+
[0.889,0.010,0.010],
58+
[0.833,0.032,0.012]
5959
]
6060
}

0 commit comments

Comments
 (0)