session activity identify stitching
This commit is contained in:
1 parent
8a75208d5b
commit
7afc4ccf6b
15 files changed
+374
-23
No files matched your search
@@ -424,3 +424,16 @@ ENGINE = MergeTree
|
||||
PARTITION BY toYYYYMM(created_at)
|
||||
ORDER BY (website_id, url_path, event_type, created_at)
|
||||
SETTINGS index_granularity = 8192;
|
||||
|
||||
-- Create session_link
|
||||
CREATE TABLE umami.session_link
|
||||
(
|
||||
website_id UUID,
|
||||
session_id UUID,
|
||||
distinct_id String,
|
||||
created_at DateTime('UTC'),
|
||||
INDEX idx_session_id session_id TYPE bloom_filter GRANULARITY 1
|
||||
)
|
||||
ENGINE = ReplacingMergeTree
|
||||
ORDER BY (website_id, distinct_id, session_id)
|
||||
SETTINGS index_granularity = 8192;
|
||||
Reference in new issue
Block a user