Query time 0.00066
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "16.87"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "11.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": 1,
"filtered": "5.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "1.62",
"eval_cost": "0.11",
"prefix_cost": "4.24",
"data_read_per_join": "8"
},
"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` in (21,50,51,49,48,54,153,164,248,65,64,63)))"
}
},
{
"table": {
"table_name": "b",
"access_type": "ALL",
"rows_examined_per_scan": 10,
"rows_produced_per_join": 11,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "0.53",
"eval_cost": "1.10",
"prefix_cost": "5.88",
"data_read_per_join": "37K"
},
"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)"
}
}
]
}
}
}
Result
| cur_product_id |
option_id |
product_id |
company_id |
option_type |
regexp |
required |
multiupload |
allowed_extensions |
max_file_size |
missing_variants_handling |
status |
position |
value |
option_name |
internal_option_name |
option_text |
description |
inner_hint |
incorrect_message |
comment |
| 248 |
20 |
0 |
1 |
C |
|
N |
N |
|
0 |
M |
A |
0 |
|
Additional controller |
Additional controller |
|
|
|
|
|
| 248 |
25 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
0 |
|
Choose a free game |
X-box |
|
|
|
|
|