Query time 0.00225
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "185.61"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "32.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": 32,
"rows_produced_per_join": 32,
"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 ('3195','3368','3369','3370','3199','3377','3378','3379','3203','3381','3382','3383','3384','3385','3390','3395','3400','3405','3410','3415','3420','3248','3426','3427','3428','3429','3430','3435','3024','3144','3145','3146')))",
"cost_info": {
"read_cost": "70.41",
"eval_cost": "6.40",
"prefix_cost": "76.81",
"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": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "32.00",
"eval_cost": "6.40",
"prefix_cost": "115.21",
"data_read_per_join": "24K"
},
"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": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "32.00",
"eval_cost": "6.40",
"prefix_cost": "153.61",
"data_read_per_join": "19K"
},
"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 |
item_XXL_36854510_144223848.jpg |
800 |
785 |
N |
7570 |
3195 |
product |
9535 |
M |
0 |
|
9535 |
0 |
item_XXL_39244230_152690813.jpg |
800 |
800 |
N |
7586 |
3199 |
product |
9551 |
M |
0 |
|
9551 |
0 |
item_XXL_39519991_153990515_sg1f-66.jpg |
800 |
800 |
N |
8573 |
3381 |
product |
10538 |
M |
0 |
|
10538 |
0 |
item_XXL_39519991_153990515_giay-jc.jpg |
800 |
800 |
N |
8574 |
3382 |
product |
10539 |
M |
0 |
|
10539 |
0 |
item_XXL_39519991_153990515_sn4i-go.jpg |
800 |
800 |
N |
8575 |
3383 |
product |
10540 |
M |
0 |
|
10540 |
0 |
item_XXL_39519991_153990515_1fry-5k.jpg |
800 |
800 |
N |
8576 |
3384 |
product |
10541 |
M |
0 |
|
10541 |
0 |
item_XXL_39504430_153941549_ab9p-2q.jpg |
800 |
800 |
N |
8581 |
3385 |
product |
10546 |
M |
0 |
|
10546 |
0 |
item_XXL_39504851_153942520_u3x8-37.jpg |
800 |
800 |
N |
8586 |
3390 |
product |
10551 |
M |
0 |
|
10551 |
0 |
item_XXL_39503627_153937906.jpg |
512 |
800 |
N |
8587 |
3395 |
product |
10552 |
M |
0 |
|
10552 |
0 |
item_XXL_39502759_153934599.jpg |
800 |
800 |
N |
8612 |
3400 |
product |
10577 |
M |
0 |
|
10577 |
0 |
item_XXL_39505578_153945111.jpg |
800 |
800 |
N |
8637 |
3405 |
product |
10602 |
M |
0 |
|
10602 |
0 |
item_XXL_39503180_153936333.jpg |
800 |
800 |
N |
8642 |
3410 |
product |
10607 |
M |
0 |
|
10607 |
0 |
item_XXL_39502870_153935048.jpg |
800 |
800 |
N |
8667 |
3415 |
product |
10632 |
M |
0 |
|
10632 |
0 |
item_XXL_39504522_153941832.jpg |
800 |
800 |
N |
8692 |
3420 |
product |
10657 |
M |
0 |
|
10657 |
0 |
item_XXL_43763359_cd2e3e588cf3b_9dlo-dn.jpg |
770 |
1200 |
N |
8699 |
3426 |
product |
10664 |
M |
0 |
|
10664 |
0 |
item_XXL_43763359_cd2e3e588cf3b_hn8d-9x.jpg |
770 |
1200 |
N |
8701 |
3427 |
product |
10666 |
M |
0 |
|
10666 |
0 |
item_XXL_43763359_cd2e3e588cf3b_cggk-mz.jpg |
770 |
1200 |
N |
8703 |
3428 |
product |
10668 |
M |
0 |
|
10668 |
0 |
item_XXL_43763359_cd2e3e588cf3b_03w2-u4.jpg |
770 |
1200 |
N |
8705 |
3429 |
product |
10670 |
M |
0 |
|
10670 |
0 |
item_XXL_43763321_7536aca6ca8f0.jpg |
706 |
1200 |
N |
8707 |
3430 |
product |
10672 |
M |
0 |
|
10672 |
0 |
item_XXL_43763339_32a14e8e5cf89.jpg |
585 |
697 |
N |
8717 |
3435 |
product |
10682 |
M |
0 |
|
10682 |
0 |
10445613899_822367466.jpg |
683 |
1024 |
N |
83754 |
3024 |
product |
83542 |
M |
0 |
|
83542 |
0 |
item_XXL_36854510_144223848.jpg |
800 |
785 |
N |
83824 |
3368 |
product |
9535 |
M |
0 |
|
9535 |
0 |
item_XXL_36854510_144223848.jpg |
800 |
785 |
N |
83825 |
3369 |
product |
9535 |
M |
0 |
|
9535 |
0 |
item_XXL_36854510_144223848.jpg |
800 |
785 |
N |
83826 |
3370 |
product |
9535 |
M |
0 |
|
9535 |
0 |
item_XXL_39244230_152690813.jpg |
800 |
800 |
N |
83861 |
3377 |
product |
9551 |
M |
0 |
|
9551 |
0 |
item_XXL_39244230_152690813.jpg |
800 |
800 |
N |
83862 |
3378 |
product |
9551 |
M |
0 |
|
9551 |
0 |
item_XXL_39244230_152690813.jpg |
800 |
800 |
N |
83863 |
3379 |
product |
9551 |
M |
0 |
|
9551 |
0 |
item_XXL_39519991_153990515.jpg |
800 |
800 |
N |
83864 |
3203 |
product |
10537 |
M |
0 |
|
10537 |
0 |
item_XXL_43763359_cd2e3e588cf3b.jpg |
770 |
1200 |
N |
83866 |
3248 |
product |
10662 |
M |
0 |
|
10662 |
0 |
item_XXL_39211779_152410228.jpg |
834 |
1200 |
N |
83751 |
3144 |
product |
8532 |
M |
10 |
|
8532 |
0 |
item_XXL_39211779_152410228.jpg |
834 |
1200 |
N |
83752 |
3145 |
product |
8532 |
M |
10 |
|
8532 |
0 |
item_XXL_39211779_152410228.jpg |
834 |
1200 |
N |
83753 |
3146 |
product |
8532 |
M |
10 |
|
8532 |