Query time 0.00216
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "227.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "44.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": 44,
"rows_produced_per_join": 44,
"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 ('10367','10368','10369','10370','10371','10372','10373','10374','10022','10023','10024','10025','10026','10027','10028','10029')))",
"cost_info": {
"read_cost": "68.81",
"eval_cost": "8.80",
"prefix_cost": "77.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": 44,
"filtered": "100.00",
"cost_info": {
"read_cost": "44.00",
"eval_cost": "8.80",
"prefix_cost": "130.41",
"data_read_per_join": "33K"
},
"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": 44,
"filtered": "100.00",
"cost_info": {
"read_cost": "44.00",
"eval_cost": "8.80",
"prefix_cost": "183.21",
"data_read_per_join": "26K"
},
"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 |
616xaU-V-kL._SL1500_.jpg |
1500 |
844 |
N |
18502 |
10023 |
product |
20464 |
A |
1 |
|
20464 |
0 |
41FIjySnKtL.jpg |
500 |
500 |
N |
21097 |
10369 |
product |
23059 |
A |
1 |
|
23059 |
0 |
616xaU-V-kL._SL1500__e9sw-sk.jpg |
1500 |
844 |
N |
18503 |
10023 |
product |
20465 |
A |
2 |
|
20465 |
0 |
41FgfwBjwvL.jpg |
500 |
382 |
N |
21099 |
10369 |
product |
23061 |
A |
2 |
|
23061 |
0 |
6124WNXeMRL._SX522_.jpg |
522 |
294 |
N |
18505 |
10023 |
product |
20467 |
A |
3 |
|
20467 |
0 |
51-ctQXx7JL.jpg |
500 |
500 |
N |
21100 |
10369 |
product |
23062 |
A |
3 |
|
23062 |
0 |
31QsUhJ3dWL.jpg |
500 |
500 |
N |
18506 |
10023 |
product |
20468 |
A |
4 |
|
20468 |
0 |
51idOmuDltL.jpg |
500 |
355 |
N |
21101 |
10369 |
product |
23063 |
A |
4 |
|
23063 |
0 |
616_3j_2gSL._SL1000_.jpg |
1000 |
1000 |
N |
18498 |
10022 |
product |
20460 |
A |
10 |
|
20460 |
0 |
41Gtw3ne2hL._SL1081_.jpg |
1064 |
1081 |
N |
18508 |
10024 |
product |
20470 |
A |
10 |
|
20470 |
0 |
51Iv7n9HBrL._SL1080_.jpg |
1042 |
1080 |
N |
18512 |
10025 |
product |
20474 |
A |
10 |
|
20474 |
0 |
31lXXUO6rHL.jpg |
500 |
357 |
N |
18515 |
10026 |
product |
20477 |
A |
10 |
|
20477 |
0 |
61SkuJ73eDL._SL1500_.jpg |
1063 |
1500 |
N |
18519 |
10027 |
product |
20481 |
A |
10 |
|
20481 |
0 |
51_3zNOyw_L._SL1128_.jpg |
1080 |
1128 |
N |
18526 |
10028 |
product |
20488 |
A |
10 |
|
20488 |
0 |
71F52tybG9L._SL1000_.jpg |
1000 |
1000 |
N |
18531 |
10029 |
product |
20493 |
A |
10 |
|
20493 |
0 |
51fuwt4jTPL._SL1132_.jpg |
1132 |
827 |
N |
21089 |
10367 |
product |
23051 |
A |
10 |
|
23051 |
0 |
31EOT1gS0tL.jpg |
500 |
467 |
N |
21093 |
10368 |
product |
23055 |
A |
10 |
|
23055 |
0 |
201711170106511leg9szn.jpg |
500 |
500 |
N |
21103 |
10370 |
product |
23065 |
A |
10 |
|
23065 |
0 |
31aaEA1-qDL.jpg |
500 |
375 |
N |
21108 |
10371 |
product |
23070 |
A |
10 |
|
23070 |
0 |
61yLwJwHTOL._SX522_.jpg |
522 |
522 |
N |
21110 |
10372 |
product |
23072 |
A |
10 |
|
23072 |
0 |
51STvdXXTkL._SX522_.jpg |
522 |
522 |
N |
21113 |
10373 |
product |
23075 |
A |
10 |
|
23075 |
0 |
61bWKXNGqnL._SX522_.jpg |
522 |
522 |
N |
21117 |
10374 |
product |
23079 |
A |
10 |
|
23079 |
0 |
61dqIdLIVgL._SL1000_.jpg |
1000 |
1000 |
N |
18499 |
10022 |
product |
20461 |
A |
20 |
|
20461 |
0 |
41nuhgrOgYL._SL1080_.jpg |
1059 |
1080 |
N |
18509 |
10024 |
product |
20471 |
A |
20 |
|
20471 |
0 |
41E5Yz-8uAL._SL1071_.jpg |
1041 |
1071 |
N |
18513 |
10025 |
product |
20475 |
A |
20 |
|
20475 |
0 |
41lGT6-sx-L.jpg |
500 |
356 |
N |
18516 |
10026 |
product |
20478 |
A |
20 |
|
20478 |
0 |
61KCkMXYYrL._SL1138_.jpg |
1098 |
1138 |
N |
18520 |
10027 |
product |
20482 |
A |
20 |
|
20482 |
0 |
41etaFnSyUL.jpg |
500 |
436 |
N |
18527 |
10028 |
product |
20489 |
A |
20 |
|
20489 |
0 |
71NILs-_cVL._SL1080_.jpg |
1080 |
540 |
N |
18532 |
10029 |
product |
20494 |
A |
20 |
|
20494 |
0 |
51Uz1uTyJaL._SL1151_.jpg |
1151 |
822 |
N |
21090 |
10367 |
product |
23052 |
A |
20 |
|
23052 |
0 |
41w6SEJJjGL.jpg |
500 |
497 |
N |
21094 |
10368 |
product |
23056 |
A |
20 |
|
23056 |
0 |
61-T6mdBQrL._SL1000_.jpg |
1000 |
962 |
N |
21104 |
10370 |
product |
23066 |
A |
20 |
|
23066 |
0 |
61MM2PAWqrL._SX522_.jpg |
522 |
522 |
N |
21111 |
10372 |
product |
23073 |
A |
20 |
|
23073 |
0 |
61u9LRfjeAL._SX522_.jpg |
522 |
522 |
N |
21114 |
10373 |
product |
23076 |
A |
20 |
|
23076 |
0 |
61R-ulxxb9L._SX522_.jpg |
522 |
522 |
N |
21118 |
10374 |
product |
23080 |
A |
20 |
|
23080 |
0 |
51Ecn63vt9L._SL1000_.jpg |
1000 |
1000 |
N |
18500 |
10022 |
product |
20462 |
A |
30 |
|
20462 |
0 |
51EP9FzKXbL._SL1095_.jpg |
1075 |
1095 |
N |
18510 |
10024 |
product |
20472 |
A |
30 |
|
20472 |
0 |
31bDC7XJMmL.jpg |
500 |
356 |
N |
18517 |
10026 |
product |
20479 |
A |
30 |
|
20479 |
0 |
71KotePNT1L._SL1273_.jpg |
1099 |
1273 |
N |
18521 |
10027 |
product |
20483 |
A |
30 |
|
20483 |
0 |
414b1R1JXOL.jpg |
500 |
350 |
N |
18528 |
10028 |
product |
20490 |
A |
30 |
|
20490 |
0 |
51NTrpoxNFL._SL1000_.jpg |
1000 |
1000 |
N |
18533 |
10029 |
product |
20495 |
A |
30 |
|
20495 |
0 |
5152NsryVtL._SL1143_.jpg |
1143 |
811 |
N |
21091 |
10367 |
product |
23053 |
A |
30 |
|
23053 |
0 |
513BJmdfmML._SL1000_.jpg |
1000 |
686 |
N |
21105 |
10370 |
product |
23067 |
A |
30 |
|
23067 |
0 |
61aKj4CBC_L._SX522_.jpg |
522 |
522 |
N |
21115 |
10373 |
product |
23077 |
A |
30 |
|
23077 |
0 |
81b0fKGzzEL._SL1500_.jpg |
1500 |
1493 |
N |
18501 |
10022 |
product |
20463 |
A |
40 |
|
20463 |
0 |
61qMIJ6AACL._SL1287_.jpg |
1099 |
1287 |
N |
18522 |
10027 |
product |
20484 |
A |
40 |
|
20484 |
0 |
51sZAm3gziL.jpg |
500 |
478 |
N |
18529 |
10028 |
product |
20491 |
A |
40 |
|
20491 |
0 |
61pqQu_D93L._SL1500_.jpg |
1500 |
919 |
N |
18534 |
10029 |
product |
20496 |
A |
40 |
|
20496 |
0 |
51px9gtOjPL.jpg |
500 |
373 |
N |
21095 |
10368 |
product |
23057 |
A |
40 |
|
23057 |
0 |
51QMQeGhaXL._SL1000_.jpg |
1000 |
469 |
N |
21106 |
10370 |
product |
23068 |
A |
40 |
|
23068 |
0 |
51hq4dlB5CL._SL1095_.jpg |
1095 |
1089 |
N |
18523 |
10027 |
product |
20485 |
A |
50 |
|
20485 |
0 |
51aNd1kXwsL._SL1000_.jpg |
1000 |
1000 |
N |
18535 |
10029 |
product |
20497 |
A |
50 |
|
20497 |
0 |
71inbeTZVFL._SL1030_.jpg |
1030 |
652 |
N |
21096 |
10368 |
product |
23058 |
A |
50 |
|
23058 |
0 |
71bewvB32rL._SL1000_.jpg |
1000 |
1000 |
N |
18524 |
10027 |
product |
20486 |
A |
60 |
|
20486 |