Query time 0.00134
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "107.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "19.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": 19,
"rows_produced_per_join": 19,
"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 ('45732','45734','45735','45736','45737','45738','45739','45740','45741','45742','45743','45744','45747','45748','45750','45751')))",
"cost_info": {
"read_cost": "38.81",
"eval_cost": "3.80",
"prefix_cost": "42.61",
"data_read_per_join": "1K"
},
"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": 19,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.00",
"eval_cost": "3.80",
"prefix_cost": "65.41",
"data_read_per_join": "14K"
},
"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": 19,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.00",
"eval_cost": "3.80",
"prefix_cost": "88.21",
"data_read_per_join": "11K"
},
"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 |
81T-JwTjZPL._AC_SL1500__dwgx-bm.jpg |
880 |
1500 |
N |
74120 |
45732 |
product |
76063 |
M |
0 |
|
76063 |
0 |
41mbCeatmoL._AC_SX450_.jpg |
450 |
306 |
N |
74123 |
45734 |
product |
76066 |
M |
0 |
|
76066 |
0 |
10327041114162.jpg |
500 |
500 |
N |
74128 |
45737 |
product |
76071 |
M |
0 |
|
76071 |
0 |
10327041114162_5ml2-xd.jpg |
500 |
500 |
N |
74129 |
45737 |
product |
76072 |
M |
0 |
|
76072 |
0 |
40100569_2795415346.jpeg |
4134 |
3089 |
N |
75880 |
45751 |
product |
77823 |
M |
0 |
|
77823 |
0 |
40100569_2795415346_x734-5q.jpeg |
4134 |
3089 |
N |
75881 |
45751 |
product |
77824 |
M |
0 |
|
77824 |
0 |
614ooqLAwsL._AC_SL1000_.jpg |
943 |
757 |
N |
76003 |
45750 |
product |
77946 |
M |
0 |
|
77946 |
0 |
Bestway-67620-Queen-size-2-33m-1.png |
750 |
800 |
N |
76007 |
45748 |
product |
77950 |
M |
0 |
|
77950 |
0 |
Bestway-67620-Queen-size-2-33m-1_d7d7-oh.png |
750 |
800 |
N |
76008 |
45748 |
product |
77951 |
M |
0 |
|
77951 |
0 |
Bestway-67619-New-design-2019-inflatable-roll.jpg |
1000 |
1000 |
N |
76025 |
45747 |
product |
77968 |
M |
0 |
|
77968 |
0 |
Bestway-67619-New-design-2019-inflatable-roll_monp-km.jpg |
1000 |
1000 |
N |
76026 |
45747 |
product |
77969 |
M |
0 |
|
77969 |
0 |
Bestway_67558_Serii_191_x_97_x_43_sm_s_dorognoi_sumkoi_1117286_2494710.jpg |
557 |
416 |
N |
76896 |
45741 |
product |
78839 |
M |
0 |
|
78839 |
0 |
Bestway_67558_Serii_191_x_97_x_43_sm_s_dorognoi_sumkoi_1117286_2494710_6vgq-fb.jpg |
557 |
416 |
N |
76897 |
45741 |
product |
78840 |
M |
0 |
|
78840 |
0 |
BW67574-01.jpg |
1000 |
1000 |
N |
78166 |
45743 |
product |
80109 |
M |
0 |
|
80109 |
0 |
40100334_4533836355.jpeg |
3543 |
2362 |
N |
78167 |
45744 |
product |
80110 |
M |
0 |
|
80110 |
0 |
40100334_4533836355_qpsa-0u.jpeg |
3543 |
2362 |
N |
78168 |
45744 |
product |
80111 |
M |
0 |
|
80111 |
0 |
40100334_4533836355_g2dd-ae.jpeg |
3543 |
2362 |
N |
78169 |
45744 |
product |
80112 |
M |
0 |
|
80112 |
0 |
2_8ea0-gg.jpg |
640 |
626 |
N |
81412 |
45736 |
product |
83355 |
M |
0 |
|
83355 |
0 |
2_dduu-vj.jpg |
640 |
626 |
N |
81434 |
45735 |
product |
83377 |
M |
0 |
|
83377 |
0 |
2_qoy3-6q.jpg |
640 |
626 |
N |
82432 |
45742 |
product |
84375 |
M |
0 |
|
84375 |