presto內(nèi)存配置

說(shuō)明

  • query.max-memory: The maximum amount of distributed memory that a query may use.
  • query.max-memory-per-node: The maximum amount of user memory that a query may use on any one machine.
  • query.max-total-memory-per-node: The maximum amount of user and system memory that a query may use on any one machine, where system memory is the memory used during execution by readers, writers, and network buffers, etc.

注意:

  • query.max-memory:表示單個(gè)查詢?cè)诜植荚谒邢嚓P(guān)節(jié)點(diǎn)上能用的內(nèi)存之和的最大值。
  • query.max-memory-per-node:?jiǎn)蝹€(gè)查詢?cè)趩蝹€(gè)節(jié)點(diǎn)上用戶內(nèi)存能用的最大值,從定義上就能看出:query.max-memory-per-node 必須小于query.max-total-memory-per-node
  • 同樣: query.max-memory 也必須小于query.max-total-memory
  • 另外:query.max-total-memory-per-node 與memory.heap-headroom-per-node 之和必須小于 jvm max memory .也就是jvm.config 中配置的-Xmx

總結(jié)

image.png
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,854評(píng)論 0 10
  • pyspark.sql模塊 模塊上下文 Spark SQL和DataFrames的重要類: pyspark.sql...
    mpro閱讀 9,915評(píng)論 0 13
  • =========================================================...
    _燈火闌珊處閱讀 2,544評(píng)論 0 3
  • =========================================================...
    lavor閱讀 3,647評(píng)論 0 5
  • 捧起的一束陽(yáng)光 綻放般的舒展,晶瑩著那些花兒 稚芽,被尋覓著,躲藏在白色的眼睛里 剔透了我的鏡頭,你的心
    多糖閱讀 217評(píng)論 0 0

友情鏈接更多精彩內(nèi)容