cost 156 ms
使用 pg_hint_plan 时相同查询的 Postgres 查询计划更改 - Postgres query plan changes for identical query when using pg_hint_plan

(Postgres 11.7) 我正在使用Rows pg_hint_plan提示来动态修复错误的行数估计。 我的查询接受一个unnest数组,这些数组被取消嵌套并连接到查询的 rest 作为谓词。 默认情况下,查询计划器总是假设这个数组参数包含 100 条记录,而实际上这个数字可能非常不同。 这种 ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM