Query time 0.00113
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "30.96"
},
"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 (8045,8044,9124,9125,9110,9111,9120,9121,9107,9109,9128,9129)))",
"cost_info": {
"read_cost": "7.56",
"eval_cost": "1.30",
"prefix_cost": "8.86",
"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.41",
"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": "17.96",
"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 |
BLM91_4o96-ez.jpg |
900 |
900 |
N |
N |
Y |
34417 |
8044 |
product |
26087 |
M |
0 |
|
26087 |
| 0 |
BLM91_4o96-ez.jpg |
900 |
900 |
N |
N |
Y |
34420 |
8045 |
product |
26087 |
M |
0 |
|
26087 |
| 0 |
Untitled_Image_6gqc-ii.jpg |
900 |
900 |
N |
N |
Y |
37890 |
9107 |
product |
29098 |
M |
0 |
|
29098 |
| 0 |
100ml.jpg |
900 |
900 |
N |
N |
Y |
37898 |
9110 |
product |
29104 |
M |
0 |
|
29104 |
| 0 |
Untitled_Image_rqf2-1k.jpg |
900 |
900 |
N |
N |
Y |
37923 |
9120 |
product |
29127 |
M |
0 |
|
29127 |
| 0 |
Untitled_Image_3srp-f4.jpg |
900 |
900 |
N |
N |
Y |
37933 |
9124 |
product |
29135 |
M |
0 |
|
29135 |
| 0 |
Untitled_Image_eene-x4.jpg |
900 |
900 |
N |
N |
Y |
37943 |
9128 |
product |
29143 |
M |
0 |
|
29143 |
| 0 |
Untitled_Image_eene-x4.jpg |
900 |
900 |
N |
N |
Y |
37946 |
9129 |
product |
29143 |
M |
0 |
|
29143 |
| 0 |
Untitled_Image_4y5j-zc.jpg |
900 |
900 |
N |
N |
Y |
37921 |
9111 |
product |
29125 |
M |
1 |
|
29125 |
| 0 |
Untitled_Image_8dd4-o8.jpg |
900 |
900 |
N |
N |
Y |
37896 |
9109 |
product |
29102 |
M |
2 |
|
29102 |
| 0 |
50ml.jpg |
900 |
900 |
N |
N |
Y |
37927 |
9121 |
product |
29129 |
M |
2 |
|
29129 |
| 0 |
50ml_i236-8n.jpg |
900 |
900 |
N |
N |
Y |
37937 |
9125 |
product |
29137 |
M |
2 |
|
29137 |