Query time 0.00218
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "185.61"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "32.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": 32,
"rows_produced_per_join": 32,
"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 ('8440','8441','8442','8443','8444','8445','8446','8447','8449','8450','8451','8452','8453','8454','8455','8457','8458','8459','8460','8461','8462','8463','8464','8465','8466','8467','8468','8469','8470','8471','8472','8473')))",
"cost_info": {
"read_cost": "70.41",
"eval_cost": "6.40",
"prefix_cost": "76.81",
"data_read_per_join": "3K"
},
"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": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "32.00",
"eval_cost": "6.40",
"prefix_cost": "115.21",
"data_read_per_join": "24K"
},
"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": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "32.00",
"eval_cost": "6.40",
"prefix_cost": "153.61",
"data_read_per_join": "19K"
},
"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 |
25159L-2-item_XL_39414130_153410454.jpg |
600 |
600 |
N |
17830 |
8440 |
product |
19792 |
M |
0 |
|
19792 |
0 |
25159L-3-item_XL_39414144_153410583.jpg |
600 |
600 |
N |
17833 |
8441 |
product |
19795 |
M |
0 |
|
19795 |
0 |
25159L-4-item_XL_39414155_153410705.jpg |
600 |
600 |
N |
17836 |
8442 |
product |
19798 |
M |
0 |
|
19798 |
0 |
25159L-5-item_XL_39414167_153410803.jpg |
600 |
600 |
N |
17839 |
8443 |
product |
19801 |
M |
0 |
|
19801 |
0 |
25159L-6-item_XL_39414180_153410926.jpg |
600 |
600 |
N |
17842 |
8444 |
product |
19804 |
M |
0 |
|
19804 |
0 |
25159L-7-item_XL_39414191_153411057.jpg |
600 |
600 |
N |
17845 |
8445 |
product |
19807 |
M |
0 |
|
19807 |
0 |
25159L-8-item_XL_39414204_153411203.jpg |
600 |
600 |
N |
17848 |
8446 |
product |
19810 |
M |
0 |
|
19810 |
0 |
25156G-1-item_XL_39414212_153411301.jpg |
600 |
600 |
N |
17851 |
8447 |
product |
19813 |
M |
0 |
|
19813 |
0 |
25156G-3-item_XL_39414227_153411603.jpg |
600 |
600 |
N |
17855 |
8449 |
product |
19817 |
M |
0 |
|
19817 |
0 |
25156G-4-item_XL_39414241_153411725.jpg |
600 |
600 |
N |
17859 |
8450 |
product |
19821 |
M |
0 |
|
19821 |
0 |
25156G-5-item_XL_39414253_153411898.jpg |
600 |
600 |
N |
17863 |
8451 |
product |
19825 |
M |
0 |
|
19825 |
0 |
25156G-6-item_XL_39414261_153412067.jpg |
600 |
600 |
N |
17867 |
8452 |
product |
19829 |
M |
0 |
|
19829 |
0 |
25156G-7-item_XL_39414082_153409914.jpg |
600 |
600 |
N |
17871 |
8453 |
product |
19833 |
M |
0 |
|
19833 |
0 |
25157G-1-item_XL_39414122_153410367.jpg |
600 |
600 |
N |
17875 |
8454 |
product |
19837 |
M |
0 |
|
19837 |
0 |
25157G-2-item_XL_39414136_153410541.jpg |
600 |
600 |
N |
17879 |
8455 |
product |
19841 |
M |
0 |
|
19841 |
0 |
25157G-4-item_XL_39414170_153410845.jpg |
600 |
600 |
N |
17883 |
8457 |
product |
19845 |
M |
0 |
|
19845 |
0 |
25157G-5-item_XL_39414185_153410978.jpg |
600 |
600 |
N |
17887 |
8458 |
product |
19849 |
M |
0 |
|
19849 |
0 |
25157G-6-item_XL_39414201_153411169.jpg |
600 |
600 |
N |
17891 |
8459 |
product |
19853 |
M |
0 |
|
19853 |
0 |
25157G-7-item_XL_39414211_153411289.jpg |
600 |
600 |
N |
17895 |
8460 |
product |
19857 |
M |
0 |
|
19857 |
0 |
25157G-8-item_XL_39414220_153411454.jpg |
600 |
600 |
N |
17899 |
8461 |
product |
19861 |
M |
0 |
|
19861 |
0 |
25157G-9-item_XL_39414234_153411677.jpg |
600 |
600 |
N |
17903 |
8462 |
product |
19865 |
M |
0 |
|
19865 |
0 |
25157L-1-item_XL_39414077_153409877.jpg |
600 |
600 |
N |
17911 |
8464 |
product |
19873 |
M |
0 |
|
19873 |
0 |
25157L-3-item_XL_39414098_153410122.jpg |
600 |
600 |
N |
17914 |
8466 |
product |
19876 |
M |
0 |
|
19876 |
0 |
25157L-4-item_XL_39414108_153410239.jpg |
600 |
600 |
N |
17917 |
8467 |
product |
19879 |
M |
0 |
|
19879 |
0 |
25157L-5-item_XL_39414121_153410372.jpg |
600 |
600 |
N |
17920 |
8468 |
product |
19882 |
M |
0 |
|
19882 |
0 |
25157L-6-item_XL_39414134_153410520.jpg |
600 |
600 |
N |
17923 |
8469 |
product |
19885 |
M |
0 |
|
19885 |
0 |
25157L-7-item_XL_39414149_153410634.jpg |
600 |
600 |
N |
17926 |
8470 |
product |
19888 |
M |
0 |
|
19888 |
0 |
25157L-8-item_XL_39414161_153410760.jpg |
600 |
600 |
N |
17929 |
8471 |
product |
19891 |
M |
0 |
|
19891 |
0 |
25157L-9-item_XL_39414176_153410869.jpg |
600 |
600 |
N |
17932 |
8472 |
product |
19894 |
M |
0 |
|
19894 |
0 |
25157L-10-item_XL_39414184_153410975.jpg |
600 |
600 |
N |
17935 |
8473 |
product |
19897 |
M |
0 |
|
19897 |
0 |
item_XL_39414086_153409972.jpg |
600 |
600 |
N |
18653 |
8465 |
product |
20615 |
M |
0 |
|
20615 |
0 |
spectr.jpg |
640 |
626 |
N |
48328 |
8463 |
product |
50289 |
M |
0 |
|
50289 |