mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-21 13:39:22 +01:00
chore(batch-exports): Add (more) memory limits to persons query (#25225)
This commit is contained in:
parent
b692e78d72
commit
5f39825513
@ -55,9 +55,11 @@ FROM
|
||||
interval_end={interval_end}
|
||||
) AS persons
|
||||
FORMAT ArrowStream
|
||||
-- This is half of configured MAX_MEMORY_USAGE for batch exports.
|
||||
-- TODO: Make the setting available to all queries.
|
||||
SETTINGS max_bytes_before_external_group_by=50000000000
|
||||
SETTINGS
|
||||
-- This is half of configured MAX_MEMORY_USAGE for batch exports.
|
||||
-- TODO: Make the setting available to all queries.
|
||||
max_bytes_before_external_group_by=50000000000,
|
||||
max_bytes_before_external_sort=50000000000
|
||||
"""
|
||||
|
||||
SELECT_FROM_EVENTS_VIEW = Template(
|
||||
|
Loading…
Reference in New Issue
Block a user