Query time 0.00116
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "225.61"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "42.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": 42,
"rows_produced_per_join": 42,
"filtered": "100.00",
"index_condition": "((`eshopuga_upgr_4122`.`cscart_images_links`.`object_type` = 'product') and (`eshopuga_upgr_4122`.`cscart_images_links`.`type` = 'M') and (`eshopuga_upgr_4122`.`cscart_images_links`.`object_id` in (1467,1484,1486,1487,1488,1489,1090,1091,1092,1089,1490,1491,962,902,1468,903,1469,1470,1471,1492,1493,1494,1495,1496)))",
"cost_info": {
"read_cost": "74.41",
"eval_cost": "8.40",
"prefix_cost": "82.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": [
"eshopuga_upgr_4122.cscart_images_links.image_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 42,
"filtered": "100.00",
"cost_info": {
"read_cost": "42.00",
"eval_cost": "8.40",
"prefix_cost": "133.21",
"data_read_per_join": "32K"
},
"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": "107",
"ref": [
"eshopuga_upgr_4122.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 42,
"filtered": "100.00",
"cost_info": {
"read_cost": "42.00",
"eval_cost": "8.40",
"prefix_cost": "183.61",
"data_read_per_join": "24K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`eshopuga_upgr_4122`.`cscart_common_descriptions`.`object_id` = `eshopuga_upgr_4122`.`cscart_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 |
|
|
|
|
2240 |
902 |
product |
2358 |
M |
0 |
|
|
0 |
|
|
|
|
2241 |
903 |
product |
2359 |
M |
0 |
|
|
0 |
|
|
|
|
2308 |
962 |
product |
2426 |
M |
0 |
|
|
0 |
|
|
|
|
2443 |
1089 |
product |
2561 |
M |
0 |
|
|
0 |
|
|
|
|
2444 |
1090 |
product |
2562 |
M |
0 |
|
|
0 |
|
|
|
|
2445 |
1091 |
product |
2563 |
M |
0 |
|
|
0 |
|
|
|
|
2446 |
1092 |
product |
2564 |
M |
0 |
|
|
0 |
|
|
|
|
2830 |
1467 |
product |
2948 |
M |
0 |
|
|
0 |
|
|
|
|
2831 |
1468 |
product |
2949 |
M |
0 |
|
|
0 |
|
|
|
|
2832 |
1469 |
product |
2950 |
M |
0 |
|
|
0 |
|
|
|
|
2833 |
1470 |
product |
2951 |
M |
0 |
|
|
0 |
|
|
|
|
2834 |
1471 |
product |
2952 |
M |
0 |
|
|
0 |
|
|
|
|
2847 |
1484 |
product |
2965 |
M |
0 |
|
|
0 |
|
|
|
|
2849 |
1486 |
product |
2967 |
M |
0 |
|
|
0 |
|
|
|
|
2850 |
1487 |
product |
2968 |
M |
0 |
|
|
0 |
|
|
|
|
2851 |
1488 |
product |
2969 |
M |
0 |
|
|
0 |
|
|
|
|
2852 |
1489 |
product |
2970 |
M |
0 |
|
|
0 |
|
|
|
|
2853 |
1490 |
product |
2971 |
M |
0 |
|
|
0 |
|
|
|
|
2854 |
1491 |
product |
2972 |
M |
0 |
|
|
0 |
|
|
|
|
2855 |
1492 |
product |
2973 |
M |
0 |
|
|
0 |
|
|
|
|
2856 |
1493 |
product |
2974 |
M |
0 |
|
|
0 |
|
|
|
|
2857 |
1494 |
product |
2975 |
M |
0 |
|
|
0 |
|
|
|
|
2858 |
1495 |
product |
2976 |
M |
0 |
|
|
0 |
|
|
|
|
2859 |
1496 |
product |
2977 |
M |
0 |
|
|