Query time 0.00066
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "15.78"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "10.00"
},
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "ALL",
"rows_examined_per_scan": 10,
"rows_produced_per_join": 1,
"filtered": "10.00",
"cost_info": {
"read_cost": "1.42",
"eval_cost": "0.10",
"prefix_cost": "1.52",
"data_read_per_join": "2K"
},
"used_columns": [
"option_id",
"product_id",
"company_id",
"option_type",
"regexp",
"required",
"multiupload",
"allowed_extensions",
"max_file_size",
"missing_variants_handling",
"status",
"position",
"value"
],
"attached_condition": "((`mobikul_delivery_boy_livedemo`.`a`.`product_id` = 0) and (`mobikul_delivery_boy_livedemo`.`a`.`status` = 'A'))"
}
},
{
"table": {
"table_name": "c",
"access_type": "ALL",
"rows_examined_per_scan": 22,
"rows_produced_per_join": 0,
"filtered": "4.55",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "2.51",
"eval_cost": "0.10",
"prefix_cost": "4.25",
"data_read_per_join": "7"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`mobikul_delivery_boy_livedemo`.`c`.`option_id` = `mobikul_delivery_boy_livedemo`.`a`.`option_id`) and (`mobikul_delivery_boy_livedemo`.`c`.`product_id` = 163))"
}
},
{
"table": {
"table_name": "b",
"access_type": "ALL",
"rows_examined_per_scan": 10,
"rows_produced_per_join": 9,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "0.53",
"eval_cost": "1.00",
"prefix_cost": "5.78",
"data_read_per_join": "33K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"internal_option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message"
],
"attached_condition": "<if>(is_not_null_compl(b), ((`mobikul_delivery_boy_livedemo`.`b`.`option_id` = `mobikul_delivery_boy_livedemo`.`a`.`option_id`) and (`mobikul_delivery_boy_livedemo`.`b`.`lang_code` = 'en')), true)"
}
}
]
}
}
}