Query time 0.00188
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "174.41"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "33.00"
},
"nested_loop": [
{
"table": {
"table_name": "q_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": 33,
"rows_produced_per_join": 33,
"filtered": "100.00",
"index_condition": "((`portal`.`q_images_links`.`object_type` = 'product') and (`portal`.`q_images_links`.`type` = 'A') and (`portal`.`q_images_links`.`object_id` in ('10515','10516','10334','10335','10341','10347','10350','10353','10355','10356','10360','10362','10363','10364','10365','10366')))",
"cost_info": {
"read_cost": "55.61",
"eval_cost": "6.60",
"prefix_cost": "62.21",
"data_read_per_join": "3K"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "q_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"portal.q_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 33,
"filtered": "100.00",
"cost_info": {
"read_cost": "33.00",
"eval_cost": "6.60",
"prefix_cost": "101.81",
"data_read_per_join": "25K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
],
"attached_condition": "<if>(is_not_null_compl(q_images), (`portal`.`q_images_links`.`detailed_id` = `portal`.`q_images`.`image_id`), true)"
}
},
{
"table": {
"table_name": "q_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "107",
"ref": [
"portal.q_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 33,
"filtered": "100.00",
"cost_info": {
"read_cost": "33.00",
"eval_cost": "6.60",
"prefix_cost": "141.41",
"data_read_per_join": "19K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(q_common_descriptions), (`portal`.`q_common_descriptions`.`object_id` = `portal`.`q_images`.`image_id`), true)"
}
}
]
}
}
}
Result
image_id |
image_path |
image_x |
image_y |
is_high_res |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
0 |
51v7nRoN-iL._AC_UL872_SEARCH212385_FMwebp_QL65_.jpg |
872 |
721 |
N |
20964 |
10334 |
product |
22926 |
A |
1 |
|
22926 |
0 |
41FijipObbL.jpg |
500 |
500 |
N |
21048 |
10355 |
product |
23010 |
A |
1 |
|
23010 |
0 |
716uFAtCCkL._SY575_.jpg |
575 |
575 |
N |
21078 |
10364 |
product |
23040 |
A |
1 |
|
23040 |
0 |
61h589lJITL._SL1200_.jpg |
900 |
1200 |
N |
20965 |
10334 |
product |
22927 |
A |
2 |
|
22927 |
0 |
51vh-kwensL.jpg |
500 |
500 |
N |
21049 |
10355 |
product |
23011 |
A |
2 |
|
23011 |
0 |
61wwB6pxfRL._SY575_.jpg |
575 |
575 |
N |
21079 |
10364 |
product |
23041 |
A |
2 |
|
23041 |
0 |
519YAJdx9gL._SL1200_.jpg |
900 |
1200 |
N |
20966 |
10334 |
product |
22928 |
A |
3 |
|
22928 |
0 |
51aCtPB5ZmL.jpg |
500 |
500 |
N |
21050 |
10355 |
product |
23012 |
A |
3 |
|
23012 |
0 |
7167H8YNw-L._SY575_.jpg |
575 |
575 |
N |
21080 |
10364 |
product |
23042 |
A |
3 |
|
23042 |
0 |
51NqLCbAHCL._SL1200_.jpg |
900 |
1200 |
N |
20967 |
10334 |
product |
22929 |
A |
4 |
|
22929 |
0 |
71hpKEJVn1L._SY575_.jpg |
575 |
575 |
N |
21081 |
10364 |
product |
23043 |
A |
4 |
|
23043 |
0 |
41SG3TtgpbL.jpg |
500 |
367 |
N |
20969 |
10335 |
product |
22931 |
A |
10 |
|
22931 |
0 |
51HlmveOfnL._SX522_.jpg |
522 |
522 |
N |
20996 |
10341 |
product |
22958 |
A |
10 |
|
22958 |
0 |
513cz2RAxJL._SL1000_.jpg |
1000 |
1000 |
N |
21021 |
10347 |
product |
22983 |
A |
10 |
|
22983 |
0 |
510L1J_uLvL.jpg |
500 |
500 |
N |
21035 |
10350 |
product |
22997 |
A |
10 |
|
22997 |
0 |
31g2VHALKoL.jpg |
500 |
500 |
N |
21046 |
10353 |
product |
23008 |
A |
10 |
|
23008 |
0 |
617qfWzSP2L._SY575_.jpg |
575 |
575 |
N |
21052 |
10356 |
product |
23014 |
A |
10 |
|
23014 |
0 |
61S-XwUMo-L._SY575_.jpg |
575 |
575 |
N |
21066 |
10360 |
product |
23028 |
A |
10 |
|
23028 |
0 |
91BimTZDsiL._SY575_.jpg |
575 |
575 |
N |
21073 |
10362 |
product |
23035 |
A |
10 |
|
23035 |
0 |
61S-XwUMo-L._SY575__93c0-06.jpg |
575 |
575 |
N |
21076 |
10363 |
product |
23038 |
A |
10 |
|
23038 |
0 |
51LhmpOSKqL._SL1270_.jpg |
1080 |
1270 |
N |
21083 |
10365 |
product |
23045 |
A |
10 |
|
23045 |
0 |
41Vfb5rqpPL._SL1000_.jpg |
1000 |
1000 |
N |
21836 |
10515 |
product |
23798 |
A |
10 |
|
23798 |
0 |
31CycPC284L.jpg |
500 |
500 |
N |
21840 |
10516 |
product |
23802 |
A |
10 |
|
23802 |
0 |
4107WbH2OzL.jpg |
500 |
347 |
N |
20970 |
10335 |
product |
22932 |
A |
20 |
|
22932 |
0 |
51XHjH7cqkL._SX522_.jpg |
522 |
522 |
N |
20997 |
10341 |
product |
22959 |
A |
20 |
|
22959 |
0 |
41V6Ot20xtL._SL1000_.jpg |
1000 |
1000 |
N |
21022 |
10347 |
product |
22984 |
A |
20 |
|
22984 |
0 |
41ZQgIOKgCL.jpg |
500 |
500 |
N |
21036 |
10350 |
product |
22998 |
A |
20 |
|
22998 |
0 |
61inSubQA7L._SY575_.jpg |
575 |
575 |
N |
21053 |
10356 |
product |
23015 |
A |
20 |
|
23015 |
0 |
71VkLi_jx4L._SY575_.jpg |
575 |
575 |
N |
21067 |
10360 |
product |
23029 |
A |
20 |
|
23029 |
0 |
914yTRD4FfL._SY575_.jpg |
575 |
575 |
N |
21074 |
10362 |
product |
23036 |
A |
20 |
|
23036 |
0 |
71VkLi_jx4L._SY575__z4yb-ru.jpg |
575 |
575 |
N |
21077 |
10363 |
product |
23039 |
A |
20 |
|
23039 |
0 |
616NBqf6JgL._SL1080_.jpg |
1080 |
1062 |
N |
21084 |
10365 |
product |
23046 |
A |
20 |
|
23046 |
0 |
41nhXg8gdcL._SL1000_.jpg |
1000 |
1000 |
N |
21837 |
10515 |
product |
23799 |
A |
20 |
|
23799 |
0 |
41TAthfpt9L.jpg |
500 |
500 |
N |
21841 |
10516 |
product |
23803 |
A |
20 |
|
23803 |
0 |
51HggqdtK0L.jpg |
500 |
500 |
N |
20971 |
10335 |
product |
22933 |
A |
30 |
|
22933 |
0 |
41FPljjwZrL._SL1000_.jpg |
1000 |
1000 |
N |
21023 |
10347 |
product |
22985 |
A |
30 |
|
22985 |
0 |
61LsYUp36wL._SY575_.jpg |
575 |
575 |
N |
21054 |
10356 |
product |
23016 |
A |
30 |
|
23016 |
0 |
615DyZD6RLL._SL1032_.jpg |
1032 |
954 |
N |
21085 |
10365 |
product |
23047 |
A |
30 |
|
23047 |
0 |
41VGMYq5hyL._SL1000_.jpg |
1000 |
1000 |
N |
21838 |
10515 |
product |
23800 |
A |
30 |
|
23800 |
0 |
4158aaz5_GL.jpg |
500 |
500 |
N |
21842 |
10516 |
product |
23804 |
A |
30 |
|
23804 |
0 |
51319B13qDL._SL1000_.jpg |
1000 |
1000 |
N |
21024 |
10347 |
product |
22986 |
A |
40 |
|
22986 |
0 |
51I0EwihuUL._SL1080_.jpg |
1080 |
718 |
N |
21086 |
10365 |
product |
23048 |
A |
40 |
|
23048 |
0 |
71-PmSU-4mL._SL1000_.jpg |
1000 |
1000 |
N |
21839 |
10515 |
product |
23801 |
A |
40 |
|
23801 |