Query time 0.00176
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "164.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "31.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": 31,
"rows_produced_per_join": 31,
"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 ('8653','8654','8655','8656','8657','8658','8659','8660','8661','8203','8204','8205','8207','8208','8209','8210')))",
"cost_info": {
"read_cost": "53.21",
"eval_cost": "6.20",
"prefix_cost": "59.41",
"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": 31,
"filtered": "100.00",
"cost_info": {
"read_cost": "31.00",
"eval_cost": "6.20",
"prefix_cost": "96.61",
"data_read_per_join": "23K"
},
"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": 31,
"filtered": "100.00",
"cost_info": {
"read_cost": "31.00",
"eval_cost": "6.20",
"prefix_cost": "133.81",
"data_read_per_join": "18K"
},
"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 |
416_BU3w6gL.jpg |
500 |
474 |
N |
18127 |
8653 |
product |
20089 |
A |
1 |
|
20089 |
0 |
51P2UyMpwSL.jpg |
500 |
500 |
N |
18155 |
8658 |
product |
20117 |
A |
1 |
|
20117 |
0 |
51Loim-VBZL.jpg |
396 |
500 |
N |
18129 |
8653 |
product |
20091 |
A |
2 |
|
20091 |
0 |
71T7LvZLBUL._SL1500_.jpg |
1500 |
1000 |
N |
18152 |
8658 |
product |
20114 |
A |
2 |
|
20114 |
0 |
51qJ_H9yylL.jpg |
500 |
500 |
N |
18130 |
8653 |
product |
20092 |
A |
3 |
|
20092 |
0 |
41ARyf_8ntL.jpg |
500 |
500 |
N |
18153 |
8658 |
product |
20115 |
A |
3 |
|
20115 |
0 |
514qB9JanvL.jpg |
500 |
500 |
N |
18131 |
8653 |
product |
20093 |
A |
4 |
|
20093 |
0 |
51yiJO9MXrL.jpg |
500 |
500 |
N |
18154 |
8658 |
product |
20116 |
A |
4 |
|
20116 |
0 |
51SyJct8NoL._SY450_.jpg |
450 |
450 |
N |
17120 |
8203 |
product |
19082 |
A |
10 |
|
19082 |
0 |
51v6tps4hGL.jpg |
500 |
371 |
N |
17125 |
8204 |
product |
19087 |
A |
10 |
|
19087 |
0 |
51wOJTA4AxL._SY450_.jpg |
450 |
450 |
N |
17130 |
8205 |
product |
19092 |
A |
10 |
|
19092 |
0 |
41bGYnLKxIL._SY450_.jpg |
405 |
450 |
N |
17135 |
8207 |
product |
19097 |
A |
10 |
|
19097 |
0 |
41EFLifYGHL.jpg |
500 |
500 |
N |
18133 |
8654 |
product |
20095 |
A |
10 |
|
20095 |
0 |
51ZWCwcJyfL.jpg |
402 |
500 |
N |
18138 |
8655 |
product |
20100 |
A |
10 |
|
20100 |
0 |
51ivfEXKUeL.jpg |
500 |
498 |
N |
18143 |
8656 |
product |
20105 |
A |
10 |
|
20105 |
0 |
51OxY3fTUpL.jpg |
500 |
486 |
N |
18148 |
8657 |
product |
20110 |
A |
10 |
|
20110 |
0 |
51HGmgis9TL.jpg |
500 |
500 |
N |
18158 |
8659 |
product |
20120 |
A |
10 |
|
20120 |
0 |
51uqxbCeukL.jpg |
500 |
500 |
N |
18163 |
8660 |
product |
20125 |
A |
10 |
|
20125 |
0 |
510leoz2uIL.jpg |
500 |
500 |
N |
18168 |
8661 |
product |
20130 |
A |
10 |
|
20130 |
0 |
41qf__nC_dL._SY450_.jpg |
450 |
450 |
N |
17121 |
8203 |
product |
19083 |
A |
20 |
|
19083 |
0 |
514_BoVmNdL._SY450_.jpg |
450 |
450 |
N |
17126 |
8204 |
product |
19088 |
A |
20 |
|
19088 |
0 |
61MoylrI34L._SY450_.jpg |
450 |
450 |
N |
17131 |
8205 |
product |
19093 |
A |
20 |
|
19093 |
0 |
41pt1rti4GL._SY450_.jpg |
450 |
450 |
N |
17136 |
8207 |
product |
19098 |
A |
20 |
|
19098 |
0 |
41AGxaFCI2L.jpg |
401 |
500 |
N |
18134 |
8654 |
product |
20096 |
A |
20 |
|
20096 |
0 |
41Bh9L6SuNL.jpg |
403 |
500 |
N |
18139 |
8655 |
product |
20101 |
A |
20 |
|
20101 |
0 |
517pef3evRL.jpg |
500 |
487 |
N |
18144 |
8656 |
product |
20106 |
A |
20 |
|
20106 |
0 |
51qZ1PJ5RtL.jpg |
500 |
500 |
N |
18149 |
8657 |
product |
20111 |
A |
20 |
|
20111 |
0 |
51SLpeGo4QL.jpg |
500 |
500 |
N |
18159 |
8659 |
product |
20121 |
A |
20 |
|
20121 |
0 |
51W6mgjzTgL.jpg |
500 |
500 |
N |
18164 |
8660 |
product |
20126 |
A |
20 |
|
20126 |
0 |
51Z8NkjZa5L.jpg |
500 |
500 |
N |
18169 |
8661 |
product |
20131 |
A |
20 |
|
20131 |
0 |
61DS0AshUnL._SY450_.jpg |
450 |
450 |
N |
17122 |
8203 |
product |
19084 |
A |
30 |
|
19084 |
0 |
51KcEhnd8XL._SY450_.jpg |
450 |
450 |
N |
17127 |
8204 |
product |
19089 |
A |
30 |
|
19089 |
0 |
61g1gk1NjJL._SY450_.jpg |
450 |
450 |
N |
17132 |
8205 |
product |
19094 |
A |
30 |
|
19094 |
0 |
41IQPdmr84L.jpg |
396 |
500 |
N |
18135 |
8654 |
product |
20097 |
A |
30 |
|
20097 |
0 |
51gV1hWFgHL.jpg |
500 |
495 |
N |
18140 |
8655 |
product |
20102 |
A |
30 |
|
20102 |
0 |
41X7p0mC6CL.jpg |
500 |
443 |
N |
18145 |
8656 |
product |
20107 |
A |
30 |
|
20107 |
0 |
51gzNMILrqL.jpg |
486 |
500 |
N |
18150 |
8657 |
product |
20112 |
A |
30 |
|
20112 |
0 |
519dCBD3b9L.jpg |
500 |
500 |
N |
18160 |
8659 |
product |
20122 |
A |
30 |
|
20122 |
0 |
51u4yfT2ZIL.jpg |
500 |
500 |
N |
18165 |
8660 |
product |
20127 |
A |
30 |
|
20127 |
0 |
71wA5cMAHNL._SL1500_.jpg |
1500 |
1000 |
N |
18170 |
8661 |
product |
20132 |
A |
30 |
|
20132 |
0 |
51OYNjx0BTL.jpg |
500 |
478 |
N |
17123 |
8203 |
product |
19085 |
A |
40 |
|
19085 |
0 |
612f7dKa9OL._SY450_.jpg |
450 |
450 |
N |
17128 |
8204 |
product |
19090 |
A |
40 |
|
19090 |
0 |
41KetWFA-PL.jpg |
500 |
500 |
N |
18136 |
8654 |
product |
20098 |
A |
40 |
|
20098 |
0 |
41xXa5CV9cL.jpg |
500 |
500 |
N |
18141 |
8655 |
product |
20103 |
A |
40 |
|
20103 |
0 |
51syYsIMi9L.jpg |
500 |
479 |
N |
18146 |
8656 |
product |
20108 |
A |
40 |
|
20108 |
0 |
51xaGzU7nEL.jpg |
500 |
500 |
N |
18151 |
8657 |
product |
20113 |
A |
40 |
|
20113 |
0 |
51oxGGo5CyL.jpg |
500 |
500 |
N |
18161 |
8659 |
product |
20123 |
A |
40 |
|
20123 |
0 |
51Sct7_H-_L.jpg |
500 |
500 |
N |
18166 |
8660 |
product |
20128 |
A |
40 |
|
20128 |