Query time 0.00174
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "233.61"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "42.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": 42,
"rows_produced_per_join": 42,
"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 ('35664','35665','35666','35667','35668','35669','35670','35671','35672','35673','35674','35675','35676','35677','35678','35679','35680','35681','35682','35683','35684','35685','35686','35687','35688','35689','35690','35691','35692','35693','35694','35695')))",
"cost_info": {
"read_cost": "82.41",
"eval_cost": "8.40",
"prefix_cost": "90.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": 42,
"filtered": "100.00",
"cost_info": {
"read_cost": "42.00",
"eval_cost": "8.40",
"prefix_cost": "141.21",
"data_read_per_join": "32K"
},
"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": 42,
"filtered": "100.00",
"cost_info": {
"read_cost": "42.00",
"eval_cost": "8.40",
"prefix_cost": "191.61",
"data_read_per_join": "24K"
},
"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 |
375x500.4293.jpg |
375 |
500 |
N |
57733 |
35664 |
product |
59693 |
M |
0 |
|
59693 |
0 |
375x500.6472.jpg |
375 |
500 |
N |
57743 |
35665 |
product |
59703 |
M |
0 |
|
59703 |
0 |
375x500.25575.jpg |
375 |
500 |
N |
57745 |
35666 |
product |
59705 |
M |
0 |
|
59705 |
0 |
Nasomatto-China-White-EdP-30ml.jpg |
600 |
600 |
N |
57747 |
35667 |
product |
59707 |
M |
0 |
|
59707 |
0 |
375x500.4291.jpg |
375 |
500 |
N |
57748 |
35668 |
product |
59708 |
M |
0 |
|
59708 |
0 |
375x500.4292.jpg |
375 |
500 |
N |
57750 |
35669 |
product |
59710 |
M |
0 |
|
59710 |
0 |
375x500.49223.jpg |
375 |
500 |
N |
57751 |
35670 |
product |
59711 |
M |
0 |
|
59711 |
0 |
31355.jpg |
400 |
575 |
N |
57763 |
35675 |
product |
59723 |
M |
0 |
|
59723 |
0 |
375x500.28181.jpg |
375 |
500 |
N |
57765 |
35676 |
product |
59725 |
M |
0 |
|
59725 |
0 |
375x500.16417.jpg |
375 |
500 |
N |
57767 |
35677 |
product |
59727 |
M |
0 |
|
59727 |
0 |
375x500.38032.jpg |
375 |
500 |
N |
57770 |
35678 |
product |
59730 |
M |
0 |
|
59730 |
0 |
375x500.21352.jpg |
375 |
500 |
N |
57771 |
35679 |
product |
59731 |
M |
0 |
|
59731 |
0 |
375x500.49401.jpg |
375 |
500 |
N |
57807 |
35686 |
product |
59763 |
M |
0 |
|
59763 |
0 |
375x500.30582.jpg |
375 |
500 |
N |
57808 |
35687 |
product |
59764 |
M |
0 |
|
59764 |
0 |
375x500.44174.jpg |
375 |
500 |
N |
57817 |
35689 |
product |
59773 |
M |
0 |
|
59773 |
0 |
375x500.30573.jpg |
375 |
500 |
N |
57819 |
35690 |
product |
59775 |
M |
0 |
|
59775 |
0 |
375x500.30588.jpg |
375 |
500 |
N |
57820 |
35691 |
product |
59776 |
M |
0 |
|
59776 |
0 |
375x500.30570.jpg |
375 |
500 |
N |
57821 |
35692 |
product |
59777 |
M |
0 |
|
59777 |
0 |
375x500.30586.jpg |
375 |
500 |
N |
57822 |
35693 |
product |
59778 |
M |
0 |
|
59778 |
0 |
375x500.30574.jpg |
375 |
500 |
N |
57824 |
35694 |
product |
59780 |
M |
0 |
|
59780 |
0 |
375x500.30581.jpg |
375 |
500 |
N |
57825 |
35695 |
product |
59781 |
M |
0 |
|
59781 |
0 |
375x500.22192.jpg |
375 |
500 |
N |
57942 |
35672 |
product |
59898 |
M |
0 |
|
59898 |
0 |
375x500.4295.jpg |
375 |
500 |
N |
57944 |
35671 |
product |
59900 |
M |
0 |
|
59900 |
0 |
375x500.28363.jpg |
375 |
500 |
N |
57945 |
35673 |
product |
59901 |
M |
0 |
|
59901 |
0 |
375x500.8406.jpg |
375 |
500 |
N |
57947 |
35674 |
product |
59903 |
M |
0 |
|
59903 |
0 |
375x500.7174.jpg |
375 |
500 |
N |
57949 |
35680 |
product |
59905 |
M |
0 |
|
59905 |
0 |
375x500.43480.jpg |
375 |
500 |
N |
57953 |
35681 |
product |
59909 |
M |
0 |
|
59909 |
0 |
375x500.30587.jpg |
375 |
500 |
N |
57955 |
35682 |
product |
59911 |
M |
0 |
|
59911 |
0 |
375x500.30589.jpg |
375 |
500 |
N |
57957 |
35683 |
product |
59913 |
M |
0 |
|
59913 |
0 |
375x500.30569.jpg |
375 |
500 |
N |
57958 |
35685 |
product |
59914 |
M |
0 |
|
59914 |
0 |
375x500.37602.jpg |
375 |
500 |
N |
57959 |
35688 |
product |
59915 |
M |
0 |
|
59915 |
0 |
61VOOIE0TPL._SL1000_.jpg |
1000 |
1000 |
N |
58024 |
35684 |
product |
59980 |
M |
0 |
|
59980 |