Query time 0.00217
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": "cscart_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": "((`webmarco`.`cscart_images_links`.`object_type` = 'product') and (`webmarco`.`cscart_images_links`.`type` = 'M') and (`webmarco`.`cscart_images_links`.`object_id` in (366827,366828,366829,366830,366831,366832,366833,366834,366835,366836,366837,366838,366771,366772,366773,366774,366775,366776,366815,366816,366817,366818,366819,366820,366690,366691,366692,366693,366760,366761,366762,366821)))",
"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": "cscart_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"webmarco.cscart_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"
]
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "108",
"ref": [
"webmarco.cscart_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"
]
}
}
]
}
}
}
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 |
produts_img_600__19_.png |
600 |
600 |
N |
3016696 |
366690 |
product |
963081 |
M |
0 |
|
963081 |
0 |
produts_img_600__19_.png |
600 |
600 |
N |
3016718 |
366691 |
product |
963081 |
M |
0 |
|
963081 |
0 |
produts_img_600__19_.png |
600 |
600 |
N |
3016719 |
366692 |
product |
963081 |
M |
0 |
|
963081 |
0 |
produts_img_600__19_.png |
600 |
600 |
N |
3016720 |
366693 |
product |
963081 |
M |
0 |
|
963081 |
0 |
produts_img_600_-_2022-11-30T094927.396.png |
600 |
600 |
N |
3018722 |
366760 |
product |
964853 |
M |
0 |
|
964853 |
0 |
produts_img_600_-_2022-11-30T094927.396.png |
600 |
600 |
N |
3018723 |
366761 |
product |
964853 |
M |
0 |
|
964853 |
0 |
produts_img_600_-_2022-11-30T094927.396.png |
600 |
600 |
N |
3018724 |
366762 |
product |
964853 |
M |
0 |
|
964853 |
0 |
produts_img_600_-_2022-11-30T100344.846.png |
600 |
600 |
N |
3018751 |
366771 |
product |
964861 |
M |
0 |
|
964861 |
0 |
produts_img_600_-_2022-11-30T100344.846.png |
600 |
600 |
N |
3018770 |
366772 |
product |
964861 |
M |
0 |
|
964861 |
0 |
produts_img_600_-_2022-11-30T100344.846.png |
600 |
600 |
N |
3018771 |
366773 |
product |
964861 |
M |
0 |
|
964861 |
0 |
produts_img_600_-_2022-11-30T100344.846.png |
600 |
600 |
N |
3018772 |
366774 |
product |
964861 |
M |
0 |
|
964861 |
0 |
produts_img_600_-_2022-11-30T100344.846.png |
600 |
600 |
N |
3018773 |
366775 |
product |
964861 |
M |
0 |
|
964861 |
0 |
produts_img_600_-_2022-11-30T100344.846.png |
600 |
600 |
N |
3018774 |
366776 |
product |
964861 |
M |
0 |
|
964861 |
0 |
produts_img_600_-_2022-11-30T122111.150.png |
600 |
600 |
N |
3018967 |
366815 |
product |
964934 |
M |
0 |
|
964934 |
0 |
produts_img_600_-_2022-11-30T122111.150.png |
600 |
600 |
N |
3018986 |
366816 |
product |
964934 |
M |
0 |
|
964934 |
0 |
produts_img_600_-_2022-11-30T122111.150.png |
600 |
600 |
N |
3018987 |
366817 |
product |
964934 |
M |
0 |
|
964934 |
0 |
produts_img_600_-_2022-11-30T122111.150.png |
600 |
600 |
N |
3018988 |
366818 |
product |
964934 |
M |
0 |
|
964934 |
0 |
produts_img_600_-_2022-11-30T122111.150.png |
600 |
600 |
N |
3018989 |
366819 |
product |
964934 |
M |
0 |
|
964934 |
0 |
produts_img_600_-_2022-11-30T122111.150.png |
600 |
600 |
N |
3018990 |
366820 |
product |
964934 |
M |
0 |
|
964934 |
0 |
produts_img_600_-_2022-11-30T123027.853.png |
600 |
600 |
N |
3018991 |
366821 |
product |
964938 |
M |
0 |
|
964938 |
0 |
produts_img_600_-_2022-11-30T124217.975.png |
600 |
600 |
N |
3019015 |
366827 |
product |
964942 |
M |
0 |
|
964942 |
0 |
produts_img_600_-_2022-11-30T124217.975.png |
600 |
600 |
N |
3019040 |
366828 |
product |
964942 |
M |
0 |
|
964942 |
0 |
produts_img_600_-_2022-11-30T124217.975.png |
600 |
600 |
N |
3019041 |
366829 |
product |
964942 |
M |
0 |
|
964942 |
0 |
produts_img_600_-_2022-11-30T124217.975.png |
600 |
600 |
N |
3019042 |
366830 |
product |
964942 |
M |
0 |
|
964942 |
0 |
produts_img_600_-_2022-11-30T124217.975.png |
600 |
600 |
N |
3019043 |
366831 |
product |
964942 |
M |
0 |
|
964942 |
0 |
produts_img_600_-_2022-11-30T124217.975.png |
600 |
600 |
N |
3019044 |
366832 |
product |
964942 |
M |
0 |
|
964942 |
0 |
produts_img_600_-_2022-11-30T124915.827.png |
600 |
600 |
N |
3019045 |
366833 |
product |
964947 |
M |
0 |
|
964947 |
0 |
produts_img_600_-_2022-11-30T124915.827.png |
600 |
600 |
N |
3019070 |
366834 |
product |
964947 |
M |
0 |
|
964947 |
0 |
produts_img_600_-_2022-11-30T124915.827.png |
600 |
600 |
N |
3019071 |
366835 |
product |
964947 |
M |
0 |
|
964947 |
0 |
produts_img_600_-_2022-11-30T124915.827.png |
600 |
600 |
N |
3019072 |
366836 |
product |
964947 |
M |
0 |
|
964947 |
0 |
produts_img_600_-_2022-11-30T124915.827.png |
600 |
600 |
N |
3019073 |
366837 |
product |
964947 |
M |
0 |
|
964947 |
0 |
produts_img_600_-_2022-11-30T124915.827.png |
600 |
600 |
N |
3019074 |
366838 |
product |
964947 |
M |
0 |
|
964947 |