Plan Plan Rewrite Task Scheduler Rules Transformation Implementation Cost Estimation Cost Model Statistics Property Enforcement Sort Partition Best Plan Memo Init Extract Vectorized SIMD Instructions CPU prefetch and cache friendly Branch prediction friendly CPU acceleration コストベースオプティマイザ (CBO): 統計情報(Statistics)を基に複数の実行計画候補を生成し、それぞれの「実行コスト」を数値化して、最もコストが低い計画を選択する 仕組みです。主に I/O、CPU、ネットワーク転送量、メモリ使用量を総合的に見積もったものです。