Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for ClickHouse®
  • Getting started
    • Resource relationships
    • Host classes
    • Networking in Managed Service for ClickHouse®
    • Quotas and limits
    • Disk types
    • Backups
    • Replication
    • Dictionaries
    • Sharding
    • Service users
    • Maintenance
    • Supported clients
    • Memory management
    • ClickHouse® versioning policy
    • ClickHouse® settings
  • Access management
  • 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 December 26, 2023

The amount of RAM available for using ClickHouse® is specified in the Max server memory usage setting.

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

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

  • RAM less than 10 GB: Setting value is 1 GB less than the host's RAM.
  • RAM more or equal to 10 GB and less than 40 GB: Setting value is 90% of the host's RAM.
  • RAM more or equal to 40 GB: Setting value is 4 GB less than the host's RAM.

The remaining RAM is committed to the OS and auxiliary services such as monitoring or backups.

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
© 2025 Direct Cursus Technology L.L.C.