Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Managed Service for ClickHouse®
  • Getting started
    • Resource relationships
    • High availability clusters
    • Host classes
    • Networking in Managed Service for ClickHouse®
    • Quotas and limits
    • Storage
    • Backups
    • Replication
    • Coordination services
    • Dictionaries
    • Sharding
    • Maintenance
    • Managing users and access permissions
    • Supported clients
    • Memory management
    • ClickHouse® versioning policy
    • ClickHouse® settings
  • Access management
  • Inspections and recommendations
  • Pricing policy
  • Yandex Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  1. Concepts
  2. Memory management

Memory management in Managed Service for ClickHouse®

Written by
Yandex Cloud
Updated at June 3, 2026
View in Markdown

The Max server memory usage setting determines the amount of RAM ClickHouse® can use.

It also affects the maximum value of the Max memory usage setting.

Unlike other DBMS settings, you cannot directly change the Max server memory usage value. Managed Service for ClickHouse® sets this value automatically depending on the amount of RAM available to ClickHouse® hosts:

  • RAM RAM less than 10 GB: Value is 1 GB less than the host RAM.
  • RAM greater than or equal to 10 GB and less than 40 GB: Value is 90% of the host RAM.
  • RAM greater than or equal to 40 GB: Value is 4 GB less than the host RAM.

The remaining RAM is reserved for the OS and auxiliary services, such as monitoring, backups, etc.

You can only change the Max server memory usage setting value along with the host class.

ClickHouse® is a registered trademark of ClickHouse, Inc.

Was the article helpful?

Previous
Supported clients
Next
ClickHouse® versioning policy
© 2026 Direct Cursus Technology L.L.C.