mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
reorder CH stats index
This commit is contained in:
parent
3205b4f0f4
commit
161da582ba
1 changed files with 2 additions and 2 deletions
|
|
@ -100,10 +100,10 @@ ENGINE = AggregatingMergeTree
|
|||
PARTITION BY toYYYYMM(created_at)
|
||||
ORDER BY (
|
||||
website_id,
|
||||
event_type,
|
||||
toStartOfHour(created_at),
|
||||
cityHash64(visit_id),
|
||||
visit_id,
|
||||
event_type
|
||||
visit_id
|
||||
)
|
||||
SAMPLE BY cityHash64(visit_id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue