Skip to main content
这些设置可在 system.settings 中查看,且由 源代码 自动生成。

move_all_conditions_to_prewhere

将 WHERE 中所有适合的条件移至 PREWHERE

move_primary_key_columns_to_end_of_prewhere

将包含主键列的 PREWHERE 条件移到 AND 事件链的末尾。这些条件很可能已在主键分析阶段被考虑在内,因此对 PREWHERE 筛选的作用不大。
最后修改于 2026年7月23日