mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
reorder CH stats index
This commit is contained in:
parent
3205b4f0f4
commit
161da582ba
@ -100,10 +100,10 @@ ENGINE = AggregatingMergeTree
|
|||||||
PARTITION BY toYYYYMM(created_at)
|
PARTITION BY toYYYYMM(created_at)
|
||||||
ORDER BY (
|
ORDER BY (
|
||||||
website_id,
|
website_id,
|
||||||
|
event_type,
|
||||||
toStartOfHour(created_at),
|
toStartOfHour(created_at),
|
||||||
cityHash64(visit_id),
|
cityHash64(visit_id),
|
||||||
visit_id,
|
visit_id
|
||||||
event_type
|
|
||||||
)
|
)
|
||||||
SAMPLE BY cityHash64(visit_id);
|
SAMPLE BY cityHash64(visit_id);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user