Query time 0.00166
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "136.01"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "25.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": 25,
"rows_produced_per_join": 25,
"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 ('13077','10530','10529','10524','10521','8383','8384','8385','8386','8387','8388','8389','8390','8391','8392','8393')))",
"cost_info": {
"read_cost": "46.01",
"eval_cost": "5.00",
"prefix_cost": "51.01",
"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": 25,
"filtered": "100.00",
"cost_info": {
"read_cost": "25.00",
"eval_cost": "5.00",
"prefix_cost": "81.01",
"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": 25,
"filtered": "100.00",
"cost_info": {
"read_cost": "25.00",
"eval_cost": "5.00",
"prefix_cost": "111.01",
"data_read_per_join": "14K"
},
"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 |
71KwLyCyl7L._SX522_.jpg |
522 |
522 |
N |
21882 |
10529 |
product |
23844 |
A |
1 |
|
23844 |
0 |
71s3zz7DtgL._SX522_.jpg |
522 |
522 |
N |
21885 |
10530 |
product |
23847 |
A |
1 |
|
23847 |
0 |
cca2eedffd80038af3d3a901f1fbddd5.jpg |
700 |
600 |
N |
30711 |
13077 |
product |
32673 |
A |
1 |
|
32673 |
0 |
N17445220A_1.jpg |
800 |
1091 |
N |
85048 |
10521 |
product |
23828 |
A |
1 |
|
23828 |
0 |
71uPhijN1AL._SX522_.jpg |
522 |
522 |
N |
85054 |
10524 |
product |
23840 |
A |
1 |
|
23840 |
0 |
61TNerSoW_L._SX522_.jpg |
522 |
522 |
N |
21883 |
10529 |
product |
23845 |
A |
2 |
|
23845 |
0 |
71jTm61UnUL._SX522_.jpg |
522 |
522 |
N |
21886 |
10530 |
product |
23848 |
A |
2 |
|
23848 |
0 |
Screen_Shot_2019-05-26_at_1.04.03_PM.png |
532 |
593 |
N |
85049 |
10521 |
product |
23822 |
A |
2 |
|
23822 |
0 |
61VlcgRgRDL._SX522_.jpg |
522 |
522 |
N |
85055 |
10524 |
product |
23841 |
A |
2 |
|
23841 |
0 |
71i51N2VpLL._SL1500_.jpg |
1500 |
1500 |
N |
18731 |
8386 |
product |
20693 |
A |
3 |
|
20693 |
0 |
61MjP7KtmtL._SX522_.jpg |
522 |
522 |
N |
21887 |
10530 |
product |
23849 |
A |
3 |
|
23849 |
0 |
Screen_Shot_2019-05-26_at_1.04.32_PM.png |
533 |
629 |
N |
85050 |
10521 |
product |
23823 |
A |
3 |
|
23823 |
0 |
61b_g3I4XNL._SX522_.jpg |
522 |
522 |
N |
85056 |
10524 |
product |
23842 |
A |
3 |
|
23842 |
0 |
71M80fgBJhL._SL1500_.jpg |
1500 |
1500 |
N |
18732 |
8386 |
product |
20694 |
A |
4 |
|
20694 |
0 |
Screen_Shot_2019-05-26_at_1.04.17_PM.png |
534 |
602 |
N |
85051 |
10521 |
product |
23824 |
A |
4 |
|
23824 |
0 |
61ePBmBx7QL._SX522_.jpg |
522 |
522 |
N |
85052 |
10521 |
product |
23829 |
A |
5 |
|
23829 |
0 |
25161L-1-item_XL_39414198_153411158.jpg |
600 |
600 |
N |
17700 |
8387 |
product |
19662 |
A |
10 |
|
19662 |
0 |
25161L-2-item_XL_39414208_153411259.jpg |
600 |
600 |
N |
17703 |
8388 |
product |
19665 |
A |
10 |
|
19665 |
0 |
25161L-3-item_XL_39414215_153411390.jpg |
600 |
600 |
N |
17706 |
8389 |
product |
19668 |
A |
10 |
|
19668 |
0 |
25161L-4-item_XL_39414222_153411492.jpg |
600 |
600 |
N |
17709 |
8390 |
product |
19671 |
A |
10 |
|
19671 |
0 |
25161L-5-item_XL_39414226_153411621.jpg |
600 |
600 |
N |
17712 |
8391 |
product |
19674 |
A |
10 |
|
19674 |
0 |
25161L-6-item_XL_39414239_153411729.jpg |
600 |
600 |
N |
17715 |
8392 |
product |
19677 |
A |
10 |
|
19677 |
0 |
25161L-7-item_XL_39414251_153411877.jpg |
600 |
600 |
N |
17718 |
8393 |
product |
19680 |
A |
10 |
|
19680 |
0 |
25160L-1-item_XL_39414203_153411209.jpg |
600 |
600 |
N |
17747 |
8383 |
product |
19709 |
A |
10 |
|
19709 |
0 |
25160L-2-item_XL_39414210_153411305.jpg |
600 |
600 |
N |
17750 |
8384 |
product |
19712 |
A |
10 |
|
19712 |
0 |
25160L-3-item_XL_39414217_153411443.jpg |
600 |
600 |
N |
17753 |
8385 |
product |
19715 |
A |
10 |
|
19715 |
0 |
25161L-1-item_XL_39414198_153411186.jpg |
600 |
600 |
N |
17701 |
8387 |
product |
19663 |
A |
20 |
|
19663 |
0 |
25161L-2-item_XL_39414208_153411274.jpg |
600 |
600 |
N |
17704 |
8388 |
product |
19666 |
A |
20 |
|
19666 |
0 |
25161L-3-item_XL_39414215_153411408.jpg |
600 |
600 |
N |
17707 |
8389 |
product |
19669 |
A |
20 |
|
19669 |
0 |
25161L-4-item_XL_39414222_153411515.jpg |
600 |
600 |
N |
17710 |
8390 |
product |
19672 |
A |
20 |
|
19672 |
0 |
25161L-5-item_XL_39414226_153411640.jpg |
600 |
600 |
N |
17713 |
8391 |
product |
19675 |
A |
20 |
|
19675 |
0 |
25161L-6-item_XL_39414239_153411747.jpg |
600 |
600 |
N |
17716 |
8392 |
product |
19678 |
A |
20 |
|
19678 |
0 |
25161L-7-item_XL_39414251_153411901.jpg |
600 |
600 |
N |
17719 |
8393 |
product |
19681 |
A |
20 |
|
19681 |
0 |
25160L-1-item_XL_39414203_153411227.jpg |
600 |
600 |
N |
17748 |
8383 |
product |
19710 |
A |
20 |
|
19710 |
0 |
25160L-2-item_XL_39414210_153411328.jpg |
600 |
600 |
N |
17751 |
8384 |
product |
19713 |
A |
20 |
|
19713 |
0 |
25160L-3-item_XL_39414217_153411462.jpg |
600 |
600 |
N |
17754 |
8385 |
product |
19716 |
A |
20 |
|
19716 |