Query time 0.00184
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "162.41"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "28.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": 28,
"rows_produced_per_join": 28,
"filtered": "100.00",
"index_condition": "((`portal`.`q_images_links`.`object_type` = 'product') and (`portal`.`q_images_links`.`type` = 'M') and (`portal`.`q_images_links`.`object_id` in ('3799','3800','3801','3802','3803','3805','3806','3566','3567','3568','3569','3747','3748','3749','3750','3751','3752','3753','3755','3756','3757','3758','3759','3760','3761','3762','3764','3772')))",
"cost_info": {
"read_cost": "61.61",
"eval_cost": "5.60",
"prefix_cost": "67.21",
"data_read_per_join": "2K"
},
"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": 28,
"filtered": "100.00",
"cost_info": {
"read_cost": "28.00",
"eval_cost": "5.60",
"prefix_cost": "100.81",
"data_read_per_join": "21K"
},
"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": 28,
"filtered": "100.00",
"cost_info": {
"read_cost": "28.00",
"eval_cost": "5.60",
"prefix_cost": "134.41",
"data_read_per_join": "16K"
},
"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 |
HF00006.jpg |
800 |
1091 |
N |
8775 |
3566 |
product |
10740 |
M |
0 |
|
10740 |
0 |
HF00008.jpg |
800 |
1091 |
N |
8776 |
3567 |
product |
10741 |
M |
0 |
|
10741 |
0 |
HF00009.jpg |
800 |
1091 |
N |
8777 |
3568 |
product |
10742 |
M |
0 |
|
10742 |
0 |
HF00011.jpg |
800 |
1091 |
N |
8778 |
3569 |
product |
10743 |
M |
0 |
|
10743 |
0 |
HWEL002B.jpg |
800 |
1091 |
N |
8941 |
3747 |
product |
10906 |
M |
0 |
|
10906 |
0 |
HWEL004Y.jpg |
800 |
1091 |
N |
8942 |
3748 |
product |
10907 |
M |
0 |
|
10907 |
0 |
HWEL005B.jpg |
800 |
1091 |
N |
8943 |
3749 |
product |
10908 |
M |
0 |
|
10908 |
0 |
HWEL006G.jpg |
800 |
1091 |
N |
8944 |
3750 |
product |
10909 |
M |
0 |
|
10909 |
0 |
HWEL009P.jpg |
800 |
1091 |
N |
8945 |
3751 |
product |
10910 |
M |
0 |
|
10910 |
0 |
HWEL010G.jpg |
800 |
1091 |
N |
8946 |
3752 |
product |
10911 |
M |
0 |
|
10911 |
0 |
HWEL011P.jpg |
800 |
1091 |
N |
8947 |
3753 |
product |
10912 |
M |
0 |
|
10912 |
0 |
HWEL015B.jpg |
800 |
1091 |
N |
8949 |
3755 |
product |
10914 |
M |
0 |
|
10914 |
0 |
HWEL017B.jpg |
800 |
1091 |
N |
8950 |
3756 |
product |
10915 |
M |
0 |
|
10915 |
0 |
HWEL018P.jpg |
800 |
1091 |
N |
8951 |
3757 |
product |
10916 |
M |
0 |
|
10916 |
0 |
HWEL023P.jpg |
800 |
1091 |
N |
8952 |
3758 |
product |
10917 |
M |
0 |
|
10917 |
0 |
HWEL024GY.jpg |
800 |
1091 |
N |
8953 |
3759 |
product |
10918 |
M |
0 |
|
10918 |
0 |
HWEL026Y.jpg |
800 |
1091 |
N |
8954 |
3760 |
product |
10919 |
M |
0 |
|
10919 |
0 |
HWEL027G.jpg |
800 |
1091 |
N |
8955 |
3761 |
product |
10920 |
M |
0 |
|
10920 |
0 |
HWEL030B.jpg |
800 |
1091 |
N |
8958 |
3764 |
product |
10923 |
M |
0 |
|
10923 |
0 |
HLDB500.jpg |
550 |
550 |
N |
8963 |
3772 |
product |
10928 |
M |
0 |
|
10928 |
0 |
HETM801P.jpg |
820 |
820 |
N |
9057 |
3799 |
product |
11022 |
M |
0 |
|
11022 |
0 |
HETM802P.jpg |
425 |
425 |
N |
9058 |
3800 |
product |
11023 |
M |
0 |
|
11023 |
0 |
HETM804Y.jpg |
820 |
820 |
N |
9060 |
3802 |
product |
11025 |
M |
0 |
|
11025 |
0 |
HETM805P.jpg |
340 |
340 |
N |
9061 |
3803 |
product |
11026 |
M |
0 |
|
11026 |
0 |
HF00003.jpg |
800 |
1091 |
N |
9063 |
3805 |
product |
11028 |
M |
0 |
|
11028 |
0 |
rubber_gloves_web.jpg |
640 |
626 |
N |
63178 |
3801 |
product |
65134 |
M |
0 |
|
65134 |
0 |
2__7__6be1-d7.jpg |
640 |
626 |
N |
82238 |
3806 |
product |
84181 |
M |
0 |
|
84181 |
0 |
2_tgfo-dd.jpg |
640 |
626 |
N |
83009 |
3762 |
product |
84952 |
M |
0 |
|
84952 |