Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 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
  • Pricing policy
  • Terraform reference
  • 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

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.