{ "steps": [ { "join_preparation": { "select_id": 1, "steps": [ { "expanded_query": "select t1_bin.a AS a from t1_bin where t1_bin.a between 'a-3a' and 'zzzzzzzzz'" } ] } }, { "join_optimization": { "select_id": 1, "steps": [ { "condition_processing": { "condition": "WHERE", "original_condition": "t1_bin.a between 'a-3a' and 'zzzzzzzzz'", "steps": [ { "transformation": "equality_propagation", "resulting_condition": "t1_bin.a between 'a-3a' and 'zzzzzzzzz'" }, { "transformation": "constant_propagation", "resulting_condition": "t1_bin.a between 'a-3a' and 'zzzzzzzzz'" }, { "transformation": "trivial_condition_removal", "resulting_condition": "t1_bin.a between 'a-3a' and 'zzzzzzzzz'" } ] } }, { "ref_optimizer_key_uses": [] }, { "rows_estimation": [ { "selectivity_for_indexes": [], "selectivity_for_columns": [ { "column_name": "a", "ranges": ["a-3a <= a <= zzzzzzzzz"], "selectivity_from_histogram": 0.588235294 } ], "cond_selectivity": 0.588235294 }, { "table": "t1_bin", "table_scan": { "rows": 10, "read_cost": 0.0121648, "read_and_compare_cost": 0.0124848 } } ] }, { "table_dependencies": [ { "table": "t1_bin", "row_may_be_null": false, "map_bit": 0, "depends_on_map_bits": [] } ] }, { "considered_execution_plans": [ { "plan_prefix": "", "get_costs_for_tables": [ { "best_access_path": { "table": "t1_bin", "plan_details": { "record_count": 1 }, "considered_access_paths": [ { "access_type": "scan", "rows": 10, "rows_after_filter": 5.882352941, "rows_out": 5.882352941, "cost": 0.0124848, "index_only": false, "chosen": true } ], "chosen_access_method": { "type": "scan", "rows_read": 5.882352941, "rows_out": 5.882352941, "cost": 0.0124848, "uses_join_buffering": false } } } ] }, { "plan_prefix": "", "table": "t1_bin", "rows_for_plan": 5.882352941, "cost_for_plan": 0.0124848 } ] }, { "best_join_order": ["t1_bin"], "rows": 5.882352941, "cost": 0.0124848 }, { "substitute_best_equal": { "condition": "WHERE", "resulting_condition": "t1_bin.a between 'a-3a' and 'zzzzzzzzz'" } }, { "attaching_conditions_to_tables": { "attached_conditions_computation": [], "attached_conditions_summary": [ { "table": "t1_bin", "attached_condition": "t1_bin.a between 'a-3a' and 'zzzzzzzzz'" } ] } }, { "make_join_readinfo": [] } ] } } ] }