Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Use parallel_hash for joins in clickhouse (#3741)

Karl-Aksel Puulmann625b2a294601
diff --git a/config/runtime.exs b/config/runtime.exs
index 94e826d0d3..90c5cce767 100644
--- a/config/runtime.exs
+++ b/config/runtime.exs
@@ -390,7 +390,8 @@ config :plausible, Plausible.ClickhouseRepo,
url: ch_db_url,
transport_opts: ch_transport_opts,
settings: [
- readonly: 1
+ readonly: 1,
+ join_algorithm: "direct,parallel_hash"
]
config :plausible, Plausible.IngestRepo,