Query time 0.00182
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "394.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "76.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": 76,
"rows_produced_per_join": 76,
"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 ('37553','37554','37555','37557','37558','37559','37560','37561','37562','37563','37820','37821','37822','37823','37824','37825','37826','37827','37832','37833','37850','37858','37862','37864','37867','37868','37869','37872','37873','37874')))",
"cost_info": {
"read_cost": "121.21",
"eval_cost": "15.20",
"prefix_cost": "136.41",
"data_read_per_join": "7K"
},
"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": 76,
"filtered": "100.00",
"cost_info": {
"read_cost": "76.00",
"eval_cost": "15.20",
"prefix_cost": "227.61",
"data_read_per_join": "58K"
},
"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": 76,
"filtered": "100.00",
"cost_info": {
"read_cost": "76.00",
"eval_cost": "15.20",
"prefix_cost": "318.81",
"data_read_per_join": "45K"
},
"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 |
51WW4g3Z__L._SL1000_.jpg |
1000 |
1000 |
N |
62114 |
37823 |
product |
64070 |
M |
0 |
|
64070 |
0 |
91v6u1bdHAL._SL1500_.jpg |
1500 |
1500 |
N |
62117 |
37821 |
product |
64073 |
M |
0 |
|
64073 |
0 |
71XqCR9kd8L._SL1500_.jpg |
643 |
1500 |
N |
62118 |
37820 |
product |
64074 |
M |
0 |
|
64074 |
0 |
8166tQE7p8L._SL1500_.jpg |
1500 |
1125 |
N |
62635 |
37862 |
product |
64591 |
M |
0 |
|
64591 |
0 |
Capture_82mf-w9.PNG |
509 |
473 |
N |
62845 |
37833 |
product |
64801 |
M |
0 |
|
64801 |
0 |
61wdnQnuIVL._SL1280_.jpg |
960 |
1280 |
N |
62856 |
37827 |
product |
64812 |
M |
0 |
|
64812 |
0 |
31jHunxZ13L.jpg |
500 |
500 |
N |
62857 |
37826 |
product |
64813 |
M |
0 |
|
64813 |
0 |
17079441-s4-file-5ca6074872ad2.jpeg |
600 |
832 |
N |
62859 |
37825 |
product |
64815 |
M |
0 |
|
64815 |
0 |
51r7j2FvhSL._SL500_AA300_.jpg |
300 |
300 |
N |
62884 |
37850 |
product |
64840 |
M |
0 |
|
64840 |
0 |
s-l1600_creg-lk.jpg |
600 |
600 |
N |
62911 |
37554 |
product |
64867 |
M |
0 |
|
64867 |
0 |
N11201467A_1.jpg |
800 |
1091 |
N |
62912 |
37555 |
product |
64868 |
M |
0 |
|
64868 |
0 |
mist_web.jpg |
640 |
626 |
N |
63014 |
37822 |
product |
64970 |
M |
0 |
|
64970 |
0 |
818P1YKFWaL._SL1500_.jpg |
1500 |
1500 |
N |
63045 |
37557 |
product |
65001 |
M |
0 |
|
65001 |
0 |
e7916f783e0e3256abfb199f799f47ae001f921f_Bvlgari_001-600x600.jpg |
600 |
600 |
N |
63050 |
37560 |
product |
65006 |
M |
0 |
|
65006 |
0 |
bvlgari-omnia-coral-w-edt-65ml15ml-pouch-set.jpg |
800 |
800 |
N |
63052 |
37562 |
product |
65008 |
M |
0 |
|
65008 |
0 |
81vMg7yE-xL._SL1500_.jpg |
1500 |
1500 |
N |
63054 |
37563 |
product |
65010 |
M |
0 |
|
65010 |
0 |
84336p-d23_1.jpg |
470 |
394 |
N |
63060 |
37559 |
product |
65016 |
M |
0 |
|
65016 |
0 |
40073_001.png |
423 |
330 |
N |
63061 |
37561 |
product |
65017 |
M |
0 |
|
65017 |
0 |
513Lblr9aiL._SL1200_.jpg |
1200 |
1200 |
N |
63198 |
37832 |
product |
65154 |
M |
0 |
|
65154 |
0 |
22874556106.jpg |
700 |
700 |
N |
63209 |
37867 |
product |
65165 |
M |
0 |
|
65165 |
0 |
rose-elixir-hair-mist.jpg |
248 |
414 |
N |
63210 |
37868 |
product |
65166 |
M |
0 |
|
65166 |
0 |
white-musk-hair-mist.jpg |
248 |
414 |
N |
63212 |
37869 |
product |
65168 |
M |
0 |
|
65168 |
0 |
61ErWzETz7L._SX522_.jpg |
522 |
369 |
N |
63216 |
37873 |
product |
65172 |
M |
0 |
|
65172 |
0 |
df8ffbaa59dacda9005b1c4074c85dbdb27903a1.jpg |
275 |
442 |
N |
63217 |
37874 |
product |
65173 |
M |
0 |
|
65173 |
0 |
shower_gel_web_oyek-e0.jpg |
640 |
626 |
N |
69444 |
37864 |
product |
71395 |
M |
0 |
|
71395 |
0 |
2_h1dx-lh.jpg |
640 |
626 |
N |
80536 |
37858 |
product |
82479 |
M |
0 |
|
82479 |
0 |
2_zi7x-uw.jpg |
640 |
626 |
N |
82910 |
37553 |
product |
84853 |
M |
0 |
|
84853 |
0 |
BVLGARI-MAN-IN-BLACK-THE-REFILLABLE-TRAVEL-SPRAY-GIFT-SET-FOR-MEN.jpg |
510 |
600 |
N |
63048 |
37558 |
product |
65004 |
M |
1 |
|
65004 |
0 |
s-l640_h7o5-s8.jpg |
498 |
640 |
N |
63194 |
37824 |
product |
65150 |
M |
1 |
|
65150 |
0 |
41-9nEocBcL._SL1000_.jpg |
1000 |
1000 |
N |
63215 |
37872 |
product |
65171 |
M |
1 |
|
65171 |