Query time 0.00209
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "243.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` = 'M') and (`portal`.`q_images_links`.`object_id` in ('40744','40745','40758','40759','40761','40768','40769','40770','40776','40788','40789','40790','40791','40792','40793','40794','40795','40796','40809','40821','40827','40828','40829','40830','40831','40832','40833','40834','40835','40836','40837','40839')))",
"cost_info": {
"read_cost": "84.81",
"eval_cost": "8.80",
"prefix_cost": "93.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": "146.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": "199.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 |
81qhAv7HAJL._SL1500_.jpg |
1500 |
1500 |
N |
65949 |
40796 |
product |
67900 |
M |
0 |
|
67900 |
0 |
51MhU_3NJ2L._SL1000_.jpg |
1000 |
842 |
N |
65950 |
40795 |
product |
67901 |
M |
0 |
|
67901 |
0 |
61lZhyds0OL._SL1000_.jpg |
1000 |
1000 |
N |
65951 |
40794 |
product |
67902 |
M |
0 |
|
67902 |
0 |
612RtzAsK8L._SL1000_.jpg |
1000 |
1000 |
N |
65956 |
40793 |
product |
67907 |
M |
0 |
|
67907 |
0 |
61M6NfsxaxL._SL1500_.jpg |
1500 |
1500 |
N |
65960 |
40792 |
product |
67911 |
M |
0 |
|
67911 |
0 |
61YsOKk8RcL._SL1000_.jpg |
1000 |
1000 |
N |
66206 |
40821 |
product |
68157 |
M |
0 |
|
68157 |
0 |
56341590400000000000000000000.jpg |
569 |
550 |
N |
66569 |
40768 |
product |
68520 |
M |
0 |
|
68520 |
0 |
615IRDcCEWL._SL1000_.jpg |
1000 |
1000 |
N |
66573 |
40769 |
product |
68524 |
M |
0 |
|
68524 |
0 |
9108791210000000000000000000000000000000.jpg |
569 |
550 |
N |
66577 |
40770 |
product |
68528 |
M |
0 |
|
68528 |
0 |
intex-beach-wave-swim-center-pool-57495np-01.jpg |
1000 |
1000 |
N |
66585 |
40745 |
product |
68536 |
M |
0 |
|
68536 |
0 |
652f15a422895e86ff108b836d40e570e20a6037.jpg |
482 |
376 |
N |
66587 |
40744 |
product |
68538 |
M |
0 |
|
68538 |
0 |
718NU14Ld3L._SL1000_.jpg |
1000 |
1000 |
N |
66598 |
40776 |
product |
68549 |
M |
0 |
|
68549 |
0 |
817dvzx4GyL._SL1500_.jpg |
1500 |
1042 |
N |
66626 |
40788 |
product |
68577 |
M |
0 |
|
68577 |
0 |
71_qBJIfiwL._SL1500_.jpg |
1500 |
1029 |
N |
66628 |
40789 |
product |
68579 |
M |
0 |
|
68579 |
0 |
71WmGocFaTL._SL1000_-500x500.jpg |
500 |
500 |
N |
66633 |
40790 |
product |
68584 |
M |
0 |
|
68584 |
0 |
3931411600.jpg |
569 |
550 |
N |
66634 |
40809 |
product |
68585 |
M |
0 |
|
68585 |
0 |
87082823500.jpg |
569 |
550 |
N |
66637 |
40827 |
product |
68588 |
M |
0 |
|
68588 |
0 |
61MYc_hp_PL._SL1000_.jpg |
1000 |
1000 |
N |
66641 |
40828 |
product |
68592 |
M |
0 |
|
68592 |
0 |
71OHCdU_apL._SL1000_.jpg |
1000 |
1000 |
N |
66644 |
40829 |
product |
68595 |
M |
0 |
|
68595 |
0 |
KD15438.jpg |
1143 |
1000 |
N |
66647 |
40830 |
product |
68598 |
M |
0 |
|
68598 |
0 |
25854161000.jpg |
569 |
550 |
N |
66650 |
40831 |
product |
68601 |
M |
0 |
|
68601 |
0 |
6923.1000.jpg |
1000 |
695 |
N |
66654 |
40833 |
product |
68605 |
M |
0 |
|
68605 |
0 |
25854161000_j13g-kf.jpg |
569 |
550 |
N |
66660 |
40831 |
product |
68611 |
M |
0 |
|
68611 |
0 |
542141880.jpg |
569 |
550 |
N |
66662 |
40834 |
product |
68613 |
M |
0 |
|
68613 |
0 |
154122_1557317964.jpg |
500 |
500 |
N |
66668 |
40832 |
product |
68619 |
M |
0 |
|
68619 |
0 |
intex-pool-float-angel-wings-mat-58786eu-P-356281-10757730_2.jpg |
470 |
470 |
N |
66672 |
40835 |
product |
68623 |
M |
0 |
|
68623 |
0 |
175956131000.jpg |
569 |
550 |
N |
66674 |
40836 |
product |
68625 |
M |
0 |
|
68625 |
0 |
81xH5s-n3NL._SL1500_.jpg |
1500 |
1500 |
N |
66678 |
40837 |
product |
68629 |
M |
0 |
|
68629 |
0 |
71vfxjwJ48L._SL1500_.jpg |
1500 |
1042 |
N |
66685 |
40839 |
product |
68636 |
M |
0 |
|
68636 |
0 |
51GRo624CQL._SL1000_.jpg |
1000 |
1000 |
N |
66737 |
40761 |
product |
68688 |
M |
0 |
|
68688 |
0 |
intex-swan-ride-on.jpg |
1200 |
1200 |
N |
66740 |
40759 |
product |
68691 |
M |
0 |
|
68691 |
0 |
81ihMt_gboL._SL1000_.jpg |
1000 |
1000 |
N |
66741 |
40758 |
product |
68692 |
M |
0 |
|
68692 |
0 |
cool_dots_web.jpg |
640 |
626 |
N |
68526 |
40791 |
product |
70477 |
M |
0 |
|
70477 |