Open RenlySir opened 2 years ago
i do tpch 500g,when i set tidb_allow_mpp=1 and set tidb_isolation_read_engines =['tidb','tiflash']. run Q3,i get error like " ERROR 1105 (HY000): other error for mpp stream: Code: 0, e.displayText() = DB::Exception: Exchange receiver meet error : Code: 0, e.displayText() = DB::Exception: Memory limit (for query) exceeded: would use 93.14 GiB (attempt to allocate chunk of 41943040 bytes), maximum: 93.13 GiB, e.what() = DB::Exception,, e.what() = DB::Exception," the memory where tiflash deploy machine is 256G. tiflash mpp get too much memory. this is not good. i want to know the plan about tiflash mpp
Please check the following configurations.
[profiles.default]
## The memory usage limit for the generated intermediate data when a single
## coprocessor query is executed. The default value is 0, which means no limit.
max_memory_usage = 0
## The memory usage limit for the generated intermediate data when all queries
## are executed. The default value is 0 (in bytes), which means no limit.
max_memory_usage_for_all_queries = 0
Please check the following configurations.
[profiles.default] ## The memory usage limit for the generated intermediate data when a single ## coprocessor query is executed. The default value is 0, which means no limit. max_memory_usage = 0 ## The memory usage limit for the generated intermediate data when all queries ## are executed. The default value is 0 (in bytes), which means no limit. max_memory_usage_for_all_queries = 0
conf is as this: tiflash: logger.count: 5 logger.level: warning profiles.default.batch_cop_pool_size: 32 profiles.default.cop_pool_size: 32 profiles.default.max_memory_usage: 0 profiles.default.max_memory_usage_for_all_queries: 0
General Question