Query time 0.00158
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "38.41"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "16.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": 16,
"rows_produced_per_join": 16,
"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 (7838,7839,7826,7827,7829,7830,7809,7811,7866,7867,7841,7842,7856,8209,7863,7865)))",
"cost_info": {
"read_cost": "9.61",
"eval_cost": "1.60",
"prefix_cost": "11.21",
"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": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.00",
"eval_cost": "1.60",
"prefix_cost": "16.81",
"data_read_per_join": "12K"
},
"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": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.00",
"eval_cost": "1.60",
"prefix_cost": "22.41",
"data_read_per_join": "9K"
},
"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_design_n3xn-gc.jpg |
900 |
900 |
N |
N |
Y |
33852 |
7809 |
product |
25544 |
M |
0 |
|
25544 |
| 0 |
Untitled_design_pakn-vl.jpg |
900 |
900 |
N |
N |
Y |
33881 |
7826 |
product |
25571 |
M |
0 |
|
25571 |
| 0 |
Untitled_design_8qlt-xj.jpg |
900 |
900 |
N |
N |
Y |
33887 |
7829 |
product |
25576 |
M |
0 |
|
25576 |
| 0 |
Untitled_design_d4zn-8h.jpg |
900 |
900 |
N |
N |
Y |
33911 |
7838 |
product |
25599 |
M |
0 |
|
25599 |
| 0 |
b.jpg |
900 |
900 |
N |
N |
Y |
33915 |
7841 |
product |
25602 |
M |
0 |
|
25602 |
| 0 |
BLM91_tn1v-6h.jpg |
900 |
900 |
N |
N |
Y |
33931 |
7856 |
product |
25617 |
M |
0 |
|
25617 |
| 0 |
Untitled_design_8awa-m8.jpg |
900 |
900 |
N |
N |
Y |
33938 |
7863 |
product |
25624 |
M |
0 |
|
25624 |
| 0 |
Untitled_design_brui-oq.jpg |
900 |
900 |
N |
N |
Y |
33942 |
7866 |
product |
25627 |
M |
0 |
|
25627 |
| 0 |
Untitled_design_3x5b-tw.jpg |
900 |
900 |
N |
N |
Y |
33856 |
7811 |
product |
25546 |
M |
1 |
|
25546 |
| 0 |
Untitled_design_zo8a-df.jpg |
900 |
900 |
N |
N |
Y |
33883 |
7827 |
product |
25572 |
M |
1 |
|
25572 |
| 0 |
Untitled_design_pmwk-jg.jpg |
900 |
900 |
N |
N |
Y |
33889 |
7830 |
product |
25577 |
M |
1 |
|
25577 |
| 0 |
Untitled_design_bf8a-u7.jpg |
900 |
900 |
N |
N |
Y |
33913 |
7839 |
product |
25600 |
M |
1 |
|
25600 |
| 0 |
w.jpg |
900 |
900 |
N |
N |
Y |
33917 |
7842 |
product |
25603 |
M |
1 |
|
25603 |
| 0 |
Untitled_design_7lgy-hj.jpg |
900 |
900 |
N |
N |
Y |
33941 |
7865 |
product |
25626 |
M |
1 |
|
25626 |
| 0 |
Untitled_design_7uje-56.jpg |
900 |
900 |
N |
N |
Y |
33944 |
7867 |
product |
25628 |
M |
1 |
|
25628 |
| 0 |
BLM91_qqcx-ow_1g0c-rq.jpg |
900 |
900 |
N |
N |
Y |
34794 |
8209 |
product |
26460 |
M |
1 |
|
26460 |