Query time 0.00134
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "31.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "13.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": 13,
"rows_produced_per_join": 13,
"filtered": "100.00",
"index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`object_type` = 'product') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`type` = 'M') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`object_id` in (8422,2574,2512,2509,2515,2516,2506,2507,2508,2637,2638,2571,2572)))",
"cost_info": {
"read_cost": "7.81",
"eval_cost": "1.30",
"prefix_cost": "9.11",
"data_read_per_join": "1K"
},
"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.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 13,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.25",
"eval_cost": "1.30",
"prefix_cost": "13.66",
"data_read_per_join": "10K"
},
"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": 13,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.25",
"eval_cost": "1.30",
"prefix_cost": "18.21",
"data_read_per_join": "7K"
},
"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 |
| 0 |
Delivard__22_.jpg |
600 |
600 |
N |
N |
Y |
15565 |
2508 |
product |
11784 |
M |
0 |
|
11784 |
| 0 |
Delivard__23_.jpg |
600 |
600 |
N |
N |
Y |
15566 |
2507 |
product |
11785 |
M |
0 |
|
11785 |
| 0 |
Delivard__24_.jpg |
600 |
600 |
N |
N |
Y |
15567 |
2506 |
product |
11786 |
M |
0 |
|
11786 |
| 0 |
Delivard__22__n321-kd.jpg |
600 |
600 |
N |
N |
Y |
15568 |
2509 |
product |
11787 |
M |
0 |
|
11787 |
| 0 |
Delivard__22__fexf-3j.jpg |
600 |
600 |
N |
N |
Y |
15569 |
2512 |
product |
11788 |
M |
0 |
|
11788 |
| 0 |
Delivard__24__8cbj-on.jpg |
600 |
600 |
N |
N |
Y |
15571 |
2515 |
product |
11790 |
M |
0 |
|
11790 |
| 0 |
Delivard__23__g85x-ps.jpg |
600 |
600 |
N |
N |
Y |
15573 |
2516 |
product |
11792 |
M |
0 |
|
11792 |
| 0 |
Delivard_atle-hw.jpg |
600 |
600 |
N |
N |
Y |
15626 |
2571 |
product |
11823 |
M |
0 |
|
11823 |
| 0 |
Delivard_mkat-jl.jpg |
600 |
600 |
N |
N |
Y |
15628 |
2572 |
product |
11824 |
M |
0 |
|
11824 |
| 0 |
Delivard_2hye-jl.jpg |
600 |
600 |
N |
N |
Y |
15631 |
2574 |
product |
11826 |
M |
0 |
|
11826 |
| 0 |
Delivard_b024-al.jpg |
600 |
600 |
N |
N |
Y |
15774 |
2637 |
product |
11895 |
M |
0 |
|
11895 |
| 0 |
Delivard_w1we-o4.jpg |
600 |
600 |
N |
N |
Y |
15779 |
2638 |
product |
11899 |
M |
0 |
|
11899 |
| 0 |
Redmi_PadPro5G_WBG_4_1024x1024.webp |
1024 |
1024 |
N |
N |
Y |
35701 |
8422 |
product |
27327 |
M |
2 |
|
27327 |