Query time 0.00193
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "267.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "49.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": 49,
"rows_produced_per_join": 49,
"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 ('30896','30897','30898','30899','30900','30901','30902','30903','30904','30905','30906','30907','30908','30909','30910','30911','30912','30913','30914','30915','30916','30917','30918','30919','30920','30921','30922','30923','30924','30925','30926','30927')))",
"cost_info": {
"read_cost": "90.81",
"eval_cost": "9.80",
"prefix_cost": "100.61",
"data_read_per_join": "4K"
},
"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": 49,
"filtered": "100.00",
"cost_info": {
"read_cost": "49.00",
"eval_cost": "9.80",
"prefix_cost": "159.41",
"data_read_per_join": "37K"
},
"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": 49,
"filtered": "100.00",
"cost_info": {
"read_cost": "49.00",
"eval_cost": "9.80",
"prefix_cost": "218.21",
"data_read_per_join": "29K"
},
"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 |
61yzR0PR2lL._SL1000_.jpg |
1000 |
1000 |
N |
48942 |
30927 |
product |
50903 |
M |
0 |
|
50903 |
0 |
811f-zCm24L._SL1000_.jpg |
1000 |
1000 |
N |
48943 |
30926 |
product |
50904 |
M |
0 |
|
50904 |
0 |
61kk3fYFt4L._SL1000_.jpg |
1000 |
1000 |
N |
48944 |
30925 |
product |
50905 |
M |
0 |
|
50905 |
0 |
71hhxQaDpGL._SL1024_.jpg |
1024 |
1024 |
N |
48946 |
30924 |
product |
50907 |
M |
0 |
|
50907 |
0 |
61PLpae039L._SL1000_.jpg |
1000 |
1000 |
N |
48948 |
30923 |
product |
50909 |
M |
0 |
|
50909 |
0 |
51jWQZPizNL._SL1488_.jpg |
1488 |
885 |
N |
48951 |
30922 |
product |
50912 |
M |
0 |
|
50912 |
0 |
412Y2hPv1qL.jpg |
500 |
477 |
N |
48956 |
30919 |
product |
50917 |
M |
0 |
|
50917 |
0 |
61zn8UJSslL._SL1000_.jpg |
1000 |
1000 |
N |
48958 |
30918 |
product |
50919 |
M |
0 |
|
50919 |
0 |
61gJ3VjM8UL._SL1000_.jpg |
1000 |
1000 |
N |
48969 |
30917 |
product |
50930 |
M |
0 |
|
50930 |
0 |
61dg-FFXAVL._SL1000_.jpg |
1000 |
1000 |
N |
48971 |
30915 |
product |
50932 |
M |
0 |
|
50932 |
0 |
51r3rv3S0IL._SL1024_.jpg |
1024 |
1024 |
N |
48972 |
30914 |
product |
50933 |
M |
0 |
|
50933 |
0 |
61_SZr6V9GL._SL1000_.jpg |
1000 |
1000 |
N |
48975 |
30913 |
product |
50936 |
M |
0 |
|
50936 |
0 |
515KLhX1oaL.jpg |
500 |
500 |
N |
48977 |
30912 |
product |
50938 |
M |
0 |
|
50938 |
0 |
51RAX-kV-cL._SL1024_.jpg |
1024 |
1024 |
N |
48980 |
30910 |
product |
50941 |
M |
0 |
|
50941 |
0 |
615gZPYXXML._SL1000_.jpg |
1000 |
1000 |
N |
48981 |
30909 |
product |
50942 |
M |
0 |
|
50942 |
0 |
61nrEH2D5XL._SL1000_.jpg |
1000 |
1000 |
N |
49559 |
30906 |
product |
51520 |
M |
0 |
|
51520 |
0 |
61SuXVaycwL._SL1024_.jpg |
1024 |
1024 |
N |
49561 |
30905 |
product |
51522 |
M |
0 |
|
51522 |
0 |
61gUV1J5aCL._SL1000_.jpg |
1000 |
1000 |
N |
49563 |
30904 |
product |
51524 |
M |
0 |
|
51524 |
0 |
51SqlHCc_wL._SL1000_.jpg |
1000 |
1000 |
N |
49564 |
30903 |
product |
51525 |
M |
0 |
|
51525 |
0 |
61zr0UZHCAL._SL1000_.jpg |
1000 |
1000 |
N |
49566 |
30902 |
product |
51527 |
M |
0 |
|
51527 |
0 |
7121jspIolL._SL1000_.jpg |
1000 |
1000 |
N |
49567 |
30901 |
product |
51528 |
M |
0 |
|
51528 |
0 |
61NDOciNuiL._SL1000_.jpg |
1000 |
1000 |
N |
49569 |
30900 |
product |
51530 |
M |
0 |
|
51530 |
0 |
510k4MU0G2L._SL1000_.jpg |
1000 |
1000 |
N |
49571 |
30899 |
product |
51532 |
M |
0 |
|
51532 |
0 |
71jqXLih98L._SL1000_.jpg |
1000 |
1000 |
N |
49572 |
30898 |
product |
51533 |
M |
0 |
|
51533 |
0 |
41UQENE9yrL.jpg |
500 |
500 |
N |
49575 |
30897 |
product |
51536 |
M |
0 |
|
51536 |
0 |
61Ht9LAHlRL._SL1024_.jpg |
1024 |
1024 |
N |
49579 |
30896 |
product |
51540 |
M |
0 |
|
51540 |
0 |
lunch_box_web.jpg |
640 |
626 |
N |
57619 |
30907 |
product |
59579 |
M |
0 |
|
59579 |
0 |
2_92sz-b6.jpg |
640 |
626 |
N |
81744 |
30921 |
product |
83687 |
M |
0 |
|
83687 |
0 |
2_be8u-tf.jpg |
640 |
626 |
N |
81829 |
30920 |
product |
83772 |
M |
0 |
|
83772 |
0 |
2_y3ko-8x.jpg |
640 |
626 |
N |
82421 |
30911 |
product |
84364 |
M |
0 |
|
84364 |
0 |
2_65k3-08.jpg |
640 |
626 |
N |
82545 |
30916 |
product |
84488 |
M |
0 |
|
84488 |
0 |
2_to0t-85.jpg |
640 |
626 |
N |
82933 |
30908 |
product |
84876 |
M |
0 |
|
84876 |