Query time 0.00174
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "179.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "34.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": 34,
"rows_produced_per_join": 34,
"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 ('10448','10449','10450','10451','10452','10453','10454','10455','10456','10457','10458','10459','10460','10461','10462','10463')))",
"cost_info": {
"read_cost": "56.81",
"eval_cost": "6.80",
"prefix_cost": "63.61",
"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": 34,
"filtered": "100.00",
"cost_info": {
"read_cost": "34.00",
"eval_cost": "6.80",
"prefix_cost": "104.41",
"data_read_per_join": "26K"
},
"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": 34,
"filtered": "100.00",
"cost_info": {
"read_cost": "34.00",
"eval_cost": "6.80",
"prefix_cost": "145.21",
"data_read_per_join": "20K"
},
"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 |
51iZmERypQL._SL1000_.jpg |
1000 |
1000 |
N |
21693 |
10461 |
product |
23655 |
A |
1 |
|
23655 |
0 |
20180913181832_83384.jpg |
500 |
500 |
N |
26728 |
10453 |
product |
28690 |
A |
1 |
|
28690 |
0 |
51VXUJwBmLL._SL1200_.jpg |
1200 |
1200 |
N |
26769 |
10457 |
product |
28731 |
A |
1 |
|
28731 |
0 |
21Or_b4JMYL.jpg |
500 |
500 |
N |
21678 |
10457 |
product |
23640 |
A |
2 |
|
23640 |
0 |
21aaWQhzI4L.jpg |
500 |
500 |
N |
21690 |
10460 |
product |
23652 |
A |
2 |
|
23652 |
0 |
415o9gWlzqL.jpg |
486 |
500 |
N |
21694 |
10461 |
product |
23656 |
A |
2 |
|
23656 |
0 |
41WWU7yJ6pL._SL1000_.jpg |
1000 |
1000 |
N |
21691 |
10460 |
product |
23653 |
A |
3 |
|
23653 |
0 |
41gSCXeVBoL.jpg |
500 |
500 |
N |
21695 |
10461 |
product |
23657 |
A |
3 |
|
23657 |
0 |
31B1z9CrR4L._SL1000_.jpg |
1000 |
483 |
N |
21692 |
10460 |
product |
23654 |
A |
4 |
|
23654 |
0 |
41P7U9oRUSL.jpg |
500 |
500 |
N |
21696 |
10461 |
product |
23658 |
A |
4 |
|
23658 |
0 |
41ZfoZhkL_L._SL1400_.jpg |
1400 |
1039 |
N |
26770 |
10457 |
product |
28732 |
A |
4 |
|
28732 |
0 |
41x8tDYBU9L.jpg |
500 |
500 |
N |
21697 |
10461 |
product |
23659 |
A |
5 |
|
23659 |
0 |
51XKxjvqqAL._SL1200_.jpg |
1200 |
1200 |
N |
26771 |
10457 |
product |
28733 |
A |
5 |
|
28733 |
0 |
41mmTHfGgWL.jpg |
500 |
500 |
N |
21656 |
10448 |
product |
23618 |
A |
10 |
|
23618 |
0 |
31g6Tk3zpDL.jpg |
500 |
500 |
N |
21660 |
10449 |
product |
23622 |
A |
10 |
|
23622 |
0 |
61FEbqbRP7L._SX342_.jpg |
342 |
403 |
N |
21663 |
10450 |
product |
23625 |
A |
10 |
|
23625 |
0 |
618rx19so5L._SL1000_.jpg |
1000 |
1000 |
N |
21667 |
10452 |
product |
23629 |
A |
10 |
|
23629 |
0 |
619PyGqCfgL._SX385_.jpg |
385 |
385 |
N |
21670 |
10454 |
product |
23632 |
A |
10 |
|
23632 |
0 |
31tf_jq_ldL._SX342_.jpg |
342 |
342 |
N |
21673 |
10455 |
product |
23635 |
A |
10 |
|
23635 |
0 |
51wO42bPv2L._SX342_.jpg |
342 |
419 |
N |
21677 |
10456 |
product |
23639 |
A |
10 |
|
23639 |
0 |
81e4FPbfdpL._SL1500_.jpg |
1500 |
1500 |
N |
21681 |
10458 |
product |
23643 |
A |
10 |
|
23643 |
0 |
61GONLJ2cML._SL1500_.jpg |
1500 |
1500 |
N |
21686 |
10459 |
product |
23648 |
A |
10 |
|
23648 |
0 |
21zo35EwqvL.jpg |
500 |
500 |
N |
21699 |
10462 |
product |
23661 |
A |
10 |
|
23661 |
0 |
41EMZqh2JSL._SL1000_.jpg |
1000 |
1000 |
N |
21701 |
10463 |
product |
23663 |
A |
10 |
|
23663 |
0 |
4181mr4LW5L.jpg |
500 |
500 |
N |
21657 |
10448 |
product |
23619 |
A |
20 |
|
23619 |
0 |
41VI82Fm4fL.jpg |
500 |
500 |
N |
21661 |
10449 |
product |
23623 |
A |
20 |
|
23623 |
0 |
61AWbNF1mbL._SX342_.jpg |
342 |
342 |
N |
21664 |
10450 |
product |
23626 |
A |
20 |
|
23626 |
0 |
51cJtLN47cL._SL1000_.jpg |
1000 |
1000 |
N |
21668 |
10452 |
product |
23630 |
A |
20 |
|
23630 |
0 |
51OZsTjzTML._SX385_.jpg |
385 |
385 |
N |
21671 |
10454 |
product |
23633 |
A |
20 |
|
23633 |
0 |
61VB9Blzz4L._SX425_.jpg |
425 |
346 |
N |
21674 |
10455 |
product |
23636 |
A |
20 |
|
23636 |
0 |
81BrkqVusEL._SL1500_.jpg |
1500 |
1500 |
N |
21682 |
10458 |
product |
23644 |
A |
20 |
|
23644 |
0 |
61dWERoHcRL._SL1500_.jpg |
1500 |
1500 |
N |
21687 |
10459 |
product |
23649 |
A |
20 |
|
23649 |
0 |
41leOXJbd-L._SL1000_.jpg |
1000 |
1000 |
N |
21702 |
10463 |
product |
23664 |
A |
20 |
|
23664 |
0 |
41cGDrgoh1L.jpg |
500 |
500 |
N |
21658 |
10448 |
product |
23620 |
A |
30 |
|
23620 |
0 |
41SZ3WmCjfL.jpg |
500 |
500 |
N |
21662 |
10449 |
product |
23624 |
A |
30 |
|
23624 |
0 |
71alIRfok3L._SX342_.jpg |
342 |
342 |
N |
21665 |
10450 |
product |
23627 |
A |
30 |
|
23627 |
0 |
51arquLOSUL._SL1000_.jpg |
1000 |
1000 |
N |
21669 |
10452 |
product |
23631 |
A |
30 |
|
23631 |
0 |
51NMFbYRWPL._SX342_.jpg |
342 |
426 |
N |
21675 |
10455 |
product |
23637 |
A |
30 |
|
23637 |
0 |
71Selj70uVL._SL1500_.jpg |
1500 |
1500 |
N |
21683 |
10458 |
product |
23645 |
A |
30 |
|
23645 |
0 |
41chhubefbL.jpg |
500 |
328 |
N |
21688 |
10459 |
product |
23650 |
A |
30 |
|
23650 |
0 |
616ck6U-aFL._SL1000_.jpg |
1000 |
680 |
N |
21659 |
10448 |
product |
23621 |
A |
40 |
|
23621 |
0 |
61-pB51y0HL._SX342_.jpg |
342 |
342 |
N |
21666 |
10450 |
product |
23628 |
A |
40 |
|
23628 |
0 |
71rWoMSthKL._SL1500_.jpg |
1500 |
1500 |
N |
21684 |
10458 |
product |
23646 |
A |
40 |
|
23646 |