Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • 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
© 2025 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for Managed Service for ClickHouse®
    • Resolving the `Exception Memory limit (total) exceeded` error when running a query
    • How to set `max_execution_time`

In this article:

  • Case description
  • Solution
  1. Managed Service for ClickHouse®
  2. How to set `max_execution_time`

How to set max_execution_time

Written by
Yandex Cloud
Updated at December 17, 2025
  • Case description
  • Solution

Case descriptionCase description

In Managed Service for ClickHouse®, the default max_execution_time value is 60. You need to change this value.

SolutionSolution

Recreate the external table by adding to LOCATION (pxf:connection_string) ON ALL &query_timeout=3600 to get pxf:connection_string&query_timeout=3600.
​
After that, run your query. Its execution timeout should increase.

For more information, see this guide on the official VMware website.

Was the article helpful?

Previous
Resolving the `Exception Memory limit (total) exceeded` error when running a query
Next
All solutions for Cloud CDN
© 2025 Direct Cursus Technology L.L.C.