Query time 0.00141
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "108.36"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "49.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": 49,
"rows_produced_per_join": 49,
"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 (576,577,509,513,514,555,516,517,578,518,581,510)))",
"cost_info": {
"read_cost": "20.16",
"eval_cost": "4.90",
"prefix_cost": "25.06",
"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": 49,
"filtered": "100.00",
"cost_info": {
"read_cost": "12.25",
"eval_cost": "4.90",
"prefix_cost": "42.21",
"data_read_per_join": "37K"
},
"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": 49,
"filtered": "100.00",
"cost_info": {
"read_cost": "12.25",
"eval_cost": "4.90",
"prefix_cost": "59.36",
"data_read_per_join": "29K"
},
"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 |
| 12452 |
Printer_Category_Image.png |
600 |
600 |
N |
Y |
Y |
16579 |
509 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
12452 |
| 12455 |
Shredder_Category_Image.png |
600 |
600 |
N |
Y |
Y |
16582 |
510 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
12455 |
| 12458 |
Meeting_Room_Eseentials_Category_Images.png |
600 |
600 |
N |
Y |
Y |
16585 |
514 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
12458 |
| 12460 |
Network_Category_Image.png |
600 |
600 |
N |
Y |
Y |
16587 |
517 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
12460 |
| 12464 |
Stationary_Category_Image.png |
600 |
600 |
N |
Y |
Y |
16591 |
518 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
12464 |
| 12465 |
UPS___Power_Units_Category_Image.png |
600 |
600 |
N |
Y |
Y |
16592 |
516 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
12465 |
| 12466 |
Mouse___Keyboard_Category_Image.png |
600 |
600 |
N |
Y |
Y |
16593 |
513 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
12466 |
| 15466 |
Office_Headsets_Category_Images.png |
600 |
600 |
N |
Y |
Y |
20318 |
555 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
15466 |
| 18181 |
Computers___Laptops_Category_Image__2_.png |
600 |
600 |
N |
Y |
Y |
24151 |
576 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
18181 |
| 18182 |
Monitors_Category_Image.png |
600 |
600 |
N |
Y |
Y |
24152 |
577 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
18182 |
| 18183 |
CCTV_n_Access_Control_Category_Image_c3jn-bu.png |
600 |
600 |
N |
Y |
Y |
24153 |
578 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
18183 |
| 18237 |
Coffee_Category_Image_l87a-fo.png |
600 |
600 |
N |
Y |
Y |
24231 |
581 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
18237 |