【问题标题】:What is hint in the openGauss?openGauss 中的提示是什么?
【发布时间】:2022-02-11 16:31:21
【问题描述】:

好像openGauss里面用到了这么多hint,有谁知道openGauss里面hint的基本设计思路吗?

【问题讨论】:

    标签: sql database optimization hint


    【解决方案1】:

    为了对某个查询获得更好的性能,使用提示是一种调整查询计划的方法,而优化器不会为一个查询选择正确的计划。 例如,您可以更改联接顺序,或者更改某个查询的联接返回行号以提高性能。 您可以在此页面上学习提示 https://opengauss.org/en/docs/2.1.0/docs/Developerguide/hint-based-tuning.html

    【讨论】:

      猜你喜欢
      • 2022-08-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-12-10
      相关资源
      最近更新 更多