Query time 0.00318
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "140.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "26.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": 26,
"rows_produced_per_join": 26,
"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 ('13193','13194','13195','13196','13197','13198','13199','13200','13201','13202','13203','13204','13205','13206','13207','13208')))",
"cost_info": {
"read_cost": "47.21",
"eval_cost": "5.20",
"prefix_cost": "52.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": 26,
"filtered": "100.00",
"cost_info": {
"read_cost": "26.00",
"eval_cost": "5.20",
"prefix_cost": "83.61",
"data_read_per_join": "19K"
},
"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": 26,
"filtered": "100.00",
"cost_info": {
"read_cost": "26.00",
"eval_cost": "5.20",
"prefix_cost": "114.81",
"data_read_per_join": "15K"
},
"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 |
fe942e007a724d9463ba42625fb31495.jpg |
700 |
600 |
N |
26994 |
13193 |
product |
28956 |
A |
1 |
|
28956 |
0 |
item_XXL_4827583_1457203.jpg |
238 |
465 |
N |
27802 |
13198 |
product |
29764 |
A |
1 |
|
29764 |
0 |
61fwMenkj7L._UX569_.jpg |
569 |
569 |
N |
27933 |
13201 |
product |
29895 |
A |
1 |
|
29895 |
0 |
maxresdefault.jpg |
1280 |
720 |
N |
32669 |
13208 |
product |
34631 |
A |
1 |
|
34631 |
0 |
303ee5724d94d32d8c97351dddb6af6e41564e0f.jpg |
800 |
424 |
N |
32670 |
13207 |
product |
34632 |
A |
1 |
|
34632 |
0 |
casio.jpg |
944 |
860 |
N |
32672 |
13206 |
product |
34634 |
A |
1 |
|
34634 |
0 |
ltp-1215a-1a_6_1_1.jpg |
1100 |
1100 |
N |
32676 |
13205 |
product |
34638 |
A |
1 |
|
34638 |
0 |
ltp-1215a-1a2df-_cn__2.png |
650 |
650 |
N |
32677 |
13204 |
product |
34639 |
A |
1 |
|
34639 |
0 |
ltp-1191a-7adf_3.png |
650 |
650 |
N |
32678 |
13203 |
product |
34640 |
A |
1 |
|
34640 |
0 |
2017-04-04_15-58-20.jpg |
344 |
344 |
N |
32679 |
13200 |
product |
34641 |
A |
1 |
|
34641 |
0 |
casio-ladies-analog-watch-ltp-1191a-3cdf-citytime86-1403-25-citytime86_42.jpg |
800 |
517 |
N |
32684 |
13199 |
product |
34646 |
A |
1 |
|
34646 |
0 |
311317141casio_mtp_a2.jpg |
569 |
550 |
N |
32685 |
13197 |
product |
34647 |
A |
1 |
|
34647 |
0 |
mtp-1183q-7a_1024x1024.jpg |
675 |
1024 |
N |
32687 |
13196 |
product |
34649 |
A |
1 |
|
34649 |
0 |
Casio-watch-Women-s-fashion-simple-pointer-series-of-waterproof-watch-LTP-1183G-7A.jpg |
1000 |
1000 |
N |
32689 |
13195 |
product |
34651 |
A |
1 |
|
34651 |
0 |
Casio-MTP1183E-7A-Mens-Analog-Watch-Leather-Band-Classic.jpg |
400 |
399 |
N |
32690 |
13194 |
product |
34652 |
A |
1 |
|
34652 |
0 |
casio_watch_women.jpg |
640 |
626 |
N |
63105 |
13202 |
product |
65061 |
A |
1 |
|
65061 |
0 |
b5e0f7dda03cb8d22cf9c7af96b0fa87.jpg |
700 |
600 |
N |
27008 |
13207 |
product |
28970 |
A |
2 |
|
28970 |
0 |
c192952e2f78fd1fa6718655750bff4a.jpg |
700 |
600 |
N |
27009 |
13208 |
product |
28971 |
A |
2 |
|
28971 |
0 |
61o4ZBBTQAL._SL1200_.jpg |
1200 |
1200 |
N |
32673 |
13206 |
product |
34635 |
A |
2 |
|
34635 |
0 |
ltp-1191a-4a1df_2.png |
650 |
650 |
N |
32680 |
13200 |
product |
34642 |
A |
2 |
|
34642 |
0 |
ltp-1183e-7adf_3.png |
650 |
650 |
N |
32691 |
13194 |
product |
34653 |
A |
2 |
|
34653 |
0 |
3876c66ea7251d53512caec23f9cd38d.jpg |
700 |
600 |
N |
27007 |
13206 |
product |
28969 |
A |
3 |
|
28969 |
0 |
866673299.g_0-w_g.jpg |
1998 |
1851 |
N |
27633 |
13196 |
product |
29595 |
A |
3 |
|
29595 |
0 |
Ve-dep-tre-trung-cua-dong-ho-Casio-nu-LTP-1191A-4A1DF.JPG |
980 |
653 |
N |
32681 |
13200 |
product |
34643 |
A |
3 |
|
34643 |
0 |
556e6e6d4e5a5_279382b.jpg |
317 |
344 |
N |
32692 |
13194 |
product |
34654 |
A |
3 |
|
34654 |
0 |
61Isqol0BxL._UX679_.jpg |
679 |
436 |
N |
32674 |
13206 |
product |
34636 |
A |
4 |
|
34636 |
0 |
2017-04-04_15-58-32.jpg |
351 |
351 |
N |
32682 |
13200 |
product |
34644 |
A |
4 |
|
34644 |
0 |
LTP-1215A-2A2-1.jpg |
500 |
308 |
N |
32675 |
13206 |
product |
34637 |
A |
5 |
|
34637 |