Query Planner Hints
GUC (Grand Unified Configuration) Settings
const comments = await EntComment.select(
vc,
{ topic_id: topicID },
100,
[{ created_at: "DESC" }],
{ hints: { enable_seqscan: "off" } },
);const comments = await EntComment.select(
vc,
{ topic_id: topicID },
100,
[{ created_at: "DESC" }],
{ hints: { work_mem: "100MB" } },
);Using pg_hint_plan Extension
Last updated