Query time 0.00205
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "224.01"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "40.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": 40,
"rows_produced_per_join": 40,
"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 ('9019','9020','9021','9022','9023','9024','9035','9036','9037','9038','9039','9040','9041','9042','9043','9044','9045','9061','9062','9063','9064','9065','9066','9067','9068','9069','9070','9086','9088','9124','9125','9126')))",
"cost_info": {
"read_cost": "80.01",
"eval_cost": "8.00",
"prefix_cost": "88.01",
"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": 40,
"filtered": "100.00",
"cost_info": {
"read_cost": "40.00",
"eval_cost": "8.00",
"prefix_cost": "136.01",
"data_read_per_join": "30K"
},
"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": 40,
"filtered": "100.00",
"cost_info": {
"read_cost": "40.00",
"eval_cost": "8.00",
"prefix_cost": "184.01",
"data_read_per_join": "23K"
},
"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 |
IL20180806171703205.jpg |
900 |
1200 |
N |
21199 |
9125 |
product |
23161 |
A |
0 |
|
23161 |
0 |
71jYXf9zgfL._AC_SL1500_.jpg |
753 |
1500 |
N |
80483 |
9086 |
product |
82426 |
A |
0 |
|
82426 |
0 |
71DYP44r0CL._AC_SL1500_.jpg |
692 |
1332 |
N |
80770 |
9035 |
product |
82713 |
A |
0 |
|
82713 |
0 |
71DYP44r0CL._AC_SL1500__9s6u-17.jpg |
692 |
1332 |
N |
80772 |
9035 |
product |
82715 |
A |
0 |
|
82715 |
0 |
71DYP44r0CL._AC_SL1500__ljkb-re.jpg |
692 |
1332 |
N |
80774 |
9035 |
product |
82717 |
A |
0 |
|
82717 |
0 |
71HO5mPJOhL._AC_SL1500_.jpg |
847 |
1500 |
N |
80812 |
9063 |
product |
82755 |
A |
0 |
|
82755 |
0 |
61oJJTDpdjL._AC_SL1500_.jpg |
1500 |
196 |
N |
80813 |
9063 |
product |
82756 |
A |
0 |
|
82756 |
0 |
31O1DlUPzUL._AC_SY450_.jpg |
279 |
450 |
N |
80814 |
9064 |
product |
82757 |
A |
0 |
|
82757 |
0 |
mar2.jpg |
1080 |
1080 |
N |
19864 |
9041 |
product |
21826 |
A |
1 |
|
21826 |
0 |
NCABLE-KV-AC-ZEB_LS.jpg |
800 |
800 |
N |
19868 |
9045 |
product |
21830 |
A |
1 |
|
21830 |
0 |
STM-222-104GZ-54_LS.jpg |
800 |
800 |
N |
19885 |
9062 |
product |
21847 |
A |
1 |
|
21847 |
0 |
STM-222-129JX-29_2_eb5a43cd-ea7f-4dcf-ba57-96b21c02d956.jpg |
700 |
800 |
N |
19889 |
9066 |
product |
21851 |
A |
1 |
|
21851 |
0 |
STM-222-129L-29_LS.jpg |
800 |
800 |
N |
19892 |
9069 |
product |
21854 |
A |
1 |
|
21854 |
0 |
01.jpg |
1600 |
1600 |
N |
21146 |
9024 |
product |
23108 |
A |
1 |
|
23108 |
0 |
618d3-6MzvL._AC_SL1500_.jpg |
1280 |
1500 |
N |
80749 |
9020 |
product |
82692 |
A |
1 |
|
82692 |
0 |
71IamY_377L._AC_SL1500_.jpg |
1274 |
1500 |
N |
80751 |
9022 |
product |
82694 |
A |
1 |
|
82694 |
0 |
9100A8HzVvL._SY879_.jpg |
586 |
879 |
N |
80817 |
9068 |
product |
82760 |
A |
1 |
|
82760 |
0 |
91qUapIFNSL._AC_SL1500_.jpg |
1120 |
1500 |
N |
80818 |
9070 |
product |
82761 |
A |
1 |
|
82761 |
0 |
33873_twelvesouth-pencilsnap-magniten-kojen-kalyf-za-apple-pencil-svetlokafqv_3224096779.jpg |
1440 |
1440 |
N |
80830 |
9088 |
product |
82773 |
A |
1 |
|
82773 |
0 |
mxtdec.10.1.jpg.0a097dc876.999x800x800.jpg |
800 |
800 |
N |
21158 |
9069 |
product |
23120 |
A |
2 |
|
23120 |
0 |
03_2glo-mr.jpg |
1600 |
1600 |
N |
80746 |
9019 |
product |
82689 |
A |
2 |
|
82689 |
0 |
710xn_QrpDL._AC_SL1500_.jpg |
1500 |
1500 |
N |
80750 |
9020 |
product |
82693 |
A |
2 |
|
82693 |
0 |
617WZd_JkDL._AC_SL1500_.jpg |
1500 |
626 |
N |
80752 |
9022 |
product |
82695 |
A |
2 |
|
82695 |
0 |
617D7jNmNOL._AC_SL1500_.jpg |
1282 |
1500 |
N |
80753 |
9024 |
product |
82696 |
A |
2 |
|
82696 |
0 |
619GCb0AN-L._AC_SL1500_.jpg |
684 |
1332 |
N |
80771 |
9035 |
product |
82714 |
A |
2 |
|
82714 |
0 |
619GCb0AN-L._AC_SL1500__paax-fs.jpg |
684 |
1332 |
N |
80773 |
9035 |
product |
82716 |
A |
2 |
|
82716 |
0 |
619GCb0AN-L._AC_SL1500__9z0i-mr.jpg |
684 |
1332 |
N |
80775 |
9035 |
product |
82718 |
A |
2 |
|
82718 |
0 |
81dn8F83PKL._AC_SL1500_.jpg |
1173 |
1500 |
N |
80809 |
9062 |
product |
82752 |
A |
2 |
|
82752 |
0 |
81jgUc5LNSL._AC_SL1500_.jpg |
1251 |
1500 |
N |
80819 |
9070 |
product |
82762 |
A |
2 |
|
82762 |
0 |
33873_twelvesouth-pencilsnap-magniten-kojen-kalyf-za-apple-pencil-svetlokafqv_3224096779_n8t5-yb.jpg |
1440 |
1440 |
N |
80831 |
9088 |
product |
82774 |
A |
2 |
|
82774 |
0 |
417qOS3zkuL._AC_.jpg |
500 |
500 |
N |
80863 |
9124 |
product |
82806 |
A |
2 |
|
82806 |
0 |
71mimL-qVpL._SL1000_.jpg |
1000 |
1000 |
N |
80869 |
9125 |
product |
82812 |
A |
2 |
|
82812 |
0 |
04_pidc-b0.jpg |
1600 |
1600 |
N |
80747 |
9019 |
product |
82690 |
A |
3 |
|
82690 |
0 |
2_ahaq-54.jpg |
640 |
626 |
N |
81466 |
9062 |
product |
83409 |
A |
3 |
|
83409 |