Skip to content

Fix low resources settings for Clickhouse - #265

Merged
apata merged 1 commit into
v3.2.0-proposalfrom
fix-low-resources
Jan 16, 2026
Merged

apata merged 1 commit into
v3.2.0-proposalfrom
fix-low-resources

Conversation

@apata

@apata apata commented Jan 2, 2026

Copy link
Copy Markdown
Contributor

Fixes #264

Overrides for the default profile were ignored if they were not in the folder /etc/clickhouse-server/users.d. https://clickhouse.com/docs/operations/configuration-files#user-settings

After this fix:

SELECT
    name,
    value,
    changed
FROM system.settings
WHERE changed = 1

Query id: dec4544d-3c80-4037-b44f-7254d01ebe3e

   ┌─name──────────────────────────────┬─value─┬─changed─┐
1. │ max_block_size                    │ 8192  │       1 │
2. │ max_threads                       │ 1     │       1 │
3. │ max_download_threads              │ 1     │       1 │
4. │ input_format_parallel_parsing     │ 0     │       1 │
5. │ output_format_parallel_formatting │ 0     │       1 │
   └───────────────────────────────────┴───────┴─────────┘
SELECT
    name,
    value
FROM system.server_settings
WHERE name = 'mark_cache_size'

Query id: e19aadd9-e5e4-4b11-9c4d-170c8d1bf5ac

   ┌─name────────────┬─value─────┐
1. │ mark_cache_size │ 524288000 │
   └─────────────────┴───────────┘

@apata apata mentioned this pull request Jan 2, 2026
@apata
apata requested a review from a team January 2, 2026 09:54
@apata
apata changed the base branch from v3.1.0 to v3.2.0-proposal January 16, 2026 10:05
@apata
apata merged commit 7ba2a0e into v3.2.0-proposal Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

low-resources.xml

2 participants