Query time 0.00091
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 (9602,9603,9881,9882,9877,9878,9884,9885,9604,9615,9874,9875)))",
"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 |
untitled_image_auo4-yv.jpg |
900 |
900 |
N |
N |
N |
38907 |
9602 |
product |
30055 |
M |
0 |
|
30055 |
| 0 |
untitled_image_1w96-xo.jpg |
900 |
900 |
N |
N |
N |
38915 |
9603 |
product |
30059 |
M |
0 |
|
30059 |
| 0 |
untitled_image_w0l9-jt.jpg |
900 |
900 |
N |
N |
N |
38919 |
9604 |
product |
30063 |
M |
0 |
|
30063 |
| 0 |
untitled_image_3jc0-zt.jpg |
900 |
900 |
N |
N |
N |
38945 |
9615 |
product |
30085 |
M |
0 |
|
30085 |
| 0 |
Untitled_Image__28_.jpg |
900 |
900 |
N |
N |
N |
39634 |
9874 |
product |
30690 |
M |
0 |
|
30690 |
| 0 |
MGHN4ref_AV1_GEO_US.jpg |
1144 |
1144 |
N |
N |
N |
39644 |
9875 |
product |
30696 |
M |
0 |
|
30696 |
| 0 |
Untitled_Image__29_.jpg |
900 |
900 |
N |
N |
N |
39648 |
9877 |
product |
30700 |
M |
0 |
|
30700 |
| 0 |
ba9d4cf0-8869-41ae-abd2-6e8603231b95.jpg |
4000 |
4000 |
N |
N |
N |
39658 |
9878 |
product |
30706 |
M |
0 |
|
30706 |
| 0 |
Untitled_Image__30_.jpg |
900 |
900 |
N |
N |
N |
39664 |
9881 |
product |
30710 |
M |
0 |
|
30710 |
| 0 |
Untitled_Image__32_.jpg |
900 |
900 |
N |
N |
N |
39678 |
9884 |
product |
30720 |
M |
0 |
|
30720 |
| 0 |
ad6f06a6-0437-4e18-919c-b5be7fd06dfb.jpg |
4000 |
4000 |
N |
N |
N |
39686 |
9885 |
product |
30724 |
M |
0 |
|
30724 |
| 0 |
Untitled_Image__31_.jpg |
900 |
900 |
N |
N |
N |
39674 |
9882 |
product |
30716 |
M |
4 |
|
30716 |