Query time 0.00139
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "28.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "12.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": 12,
"rows_produced_per_join": 12,
"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 (7609,7610,7611,7261,7624,7277,7623,7290,7622,7621,2465,8478)))",
"cost_info": {
"read_cost": "7.21",
"eval_cost": "1.20",
"prefix_cost": "8.41",
"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": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "1.20",
"prefix_cost": "12.61",
"data_read_per_join": "9K"
},
"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": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "1.20",
"prefix_cost": "16.81",
"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 |
Xiaomi_TV_Q2_55_LED_qiu5-38.jpg |
750 |
750 |
N |
N |
Y |
15277 |
2465 |
product |
11606 |
M |
0 |
|
11606 |
| 0 |
Xiaomi_TV_Q2_55_LED_qiu5-38.jpg |
750 |
750 |
N |
N |
Y |
35909 |
8478 |
product |
11606 |
M |
0 |
|
11606 |
| 0 |
43A62NS.jpg |
1147 |
765 |
N |
N |
Y |
33101 |
7622 |
product |
24795 |
M |
2 |
|
24795 |
| 0 |
50A61N.jpg |
1164 |
762 |
N |
N |
Y |
33126 |
7277 |
product |
24820 |
M |
2 |
|
24820 |
| 0 |
50A62NS.jpg |
1164 |
762 |
N |
N |
Y |
33136 |
7621 |
product |
24830 |
M |
2 |
|
24830 |
| 0 |
50Q6GN.jpg |
1166 |
753 |
N |
N |
Y |
33151 |
7609 |
product |
24845 |
M |
2 |
|
24845 |
| 0 |
55A62NS.jpg |
1161 |
768 |
N |
N |
Y |
33161 |
7290 |
product |
24855 |
M |
2 |
|
24855 |
| 0 |
55Q6GN.jpg |
1149 |
770 |
N |
N |
Y |
33186 |
7610 |
product |
24880 |
M |
2 |
|
24880 |
| 0 |
65Q6GN.jpg |
1160 |
770 |
N |
N |
Y |
33221 |
7261 |
product |
24915 |
M |
2 |
|
24915 |
| 0 |
70A61N_8fbn-rf.jpg |
1162 |
792 |
N |
N |
Y |
33261 |
7624 |
product |
24955 |
M |
2 |
|
24955 |
| 0 |
75A61N.jpg |
1164 |
780 |
N |
N |
Y |
33271 |
7623 |
product |
24965 |
M |
2 |
|
24965 |
| 0 |
43Q6N.png |
1536 |
1024 |
N |
N |
Y |
33458 |
7611 |
product |
25152 |
M |
2 |
|
25152 |