Query time 0.00286
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "117.46"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "53.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 53,
"rows_produced_per_join": 53,
"filtered": "100.00",
"index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`object_type` = 'abt__ut2/menu-with-icon') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`type` = 'M') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`object_id` in (529,531,530,532,533,534,535,536,537,538,539,540,568,595)))",
"cost_info": {
"read_cost": "22.06",
"eval_cost": "5.30",
"prefix_cost": "27.36",
"data_read_per_join": "4K"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.cscart_images_links.image_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 53,
"filtered": "100.00",
"cost_info": {
"read_cost": "13.25",
"eval_cost": "5.30",
"prefix_cost": "45.91",
"data_read_per_join": "40K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res",
"transparent",
"cp_in_opt_list"
]
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "108",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 53,
"filtered": "100.00",
"cost_info": {
"read_cost": "13.25",
"eval_cost": "5.30",
"prefix_cost": "64.46",
"data_read_per_join": "31K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
]
}
}
]
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
transparent |
cp_in_opt_list |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 14709 |
Computers___Laptops_Category_Image__2_.png |
600 |
600 |
N |
Y |
Y |
19302 |
529 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
14709 |
| 14711 |
Mobiles_Category_Image__2_.png |
600 |
600 |
N |
Y |
Y |
19304 |
531 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
14711 |
| 14712 |
Monitors_Category_Image.png |
600 |
600 |
N |
Y |
Y |
19305 |
530 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
14712 |
| 14713 |
Tablet_Category_Image.png |
600 |
600 |
N |
Y |
Y |
19306 |
532 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
14713 |
| 14714 |
Smart_Watches_Category_Images.png |
600 |
600 |
N |
Y |
Y |
19307 |
533 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
14714 |
| 14724 |
TV___Theater_Category_Image.png |
600 |
600 |
N |
Y |
Y |
19317 |
534 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
14724 |
| 14725 |
Network_Category_Image.png |
600 |
600 |
N |
Y |
Y |
19318 |
535 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
14725 |
| 14726 |
Headphones___Speakers_Category_Image.png |
600 |
600 |
N |
Y |
Y |
19319 |
536 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
14726 |
| 14727 |
Mouse___Keyboard_Category_Image.png |
600 |
600 |
N |
Y |
Y |
19320 |
537 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
14727 |
| 14728 |
UPS___Power_Units.png |
600 |
600 |
N |
Y |
Y |
19321 |
538 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
14728 |
| 14729 |
Power_Bank_Category_Image.png |
600 |
600 |
N |
Y |
Y |
19322 |
539 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
14729 |
| 14730 |
E_Accessories_Category_Image.png |
600 |
600 |
N |
Y |
Y |
19323 |
540 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
14730 |
| 15719 |
Storage_Category__2_.png |
600 |
600 |
N |
Y |
Y |
20633 |
568 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
15719 |
| 21350 |
PC_Components_Category_img.png |
600 |
600 |
N |
Y |
Y |
28621 |
595 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
21350 |