云数据库 GaussDB-Scan方式的Hint:参数说明

时间:2023-11-01 16:19:21

参数说明

  • no表示hint的scan方式不使用。
  • table表示hint指定的表,只能指定一个表,如果表存在别名应优先使用别名进行hint。
  • index表示使用indexscan或indexonlyscan的hint时,指定的索引名称,当前只能指定一个。

对于indexscan或indexonlyscan,只有hint的索引属于hint的表时,才能使用该hint。

scan hint支持在行列存表、obs表、子查询表上指定。

support.huaweicloud.com/usermanual-opengauss/opengauss_opti_0059.html