Query time 0.00117
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "177.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": "((`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 (1831,1839,1830,1838,1833,1837,1846,1217,951,471,469,483,473,474,481,479,1190,1193,943,1156,944,803,1904,1165)))",
"cost_info": {
"read_cost": "62.41",
"eval_cost": "6.40",
"prefix_cost": "68.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": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "32.00",
"eval_cost": "6.40",
"prefix_cost": "107.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": "107",
"ref": [
"eshopuga_upgr_4122.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": "145.61",
"data_read_per_join": "19K"
},
"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 |
|
|
|
|
1790 |
469 |
product |
1908 |
M |
0 |
|
|
0 |
|
|
|
|
1792 |
471 |
product |
1910 |
M |
0 |
|
|
0 |
|
|
|
|
1794 |
473 |
product |
1912 |
M |
0 |
|
|
0 |
|
|
|
|
1795 |
474 |
product |
1913 |
M |
0 |
|
|
0 |
|
|
|
|
1800 |
479 |
product |
1918 |
M |
0 |
|
|
0 |
|
|
|
|
1802 |
481 |
product |
1920 |
M |
0 |
|
|
0 |
|
|
|
|
1804 |
483 |
product |
1922 |
M |
0 |
|
|
0 |
|
|
|
|
2134 |
803 |
product |
2252 |
M |
0 |
|
|
0 |
|
|
|
|
2284 |
943 |
product |
2402 |
M |
0 |
|
|
0 |
|
|
|
|
2292 |
944 |
product |
2410 |
M |
0 |
|
|
0 |
|
|
|
|
2297 |
951 |
product |
2415 |
M |
0 |
|
|
0 |
|
|
|
|
2509 |
1156 |
product |
2627 |
M |
0 |
|
|
0 |
|
|
|
|
2518 |
1165 |
product |
2636 |
M |
0 |
|
|
0 |
|
|
|
|
2543 |
1190 |
product |
2661 |
M |
0 |
|
|
0 |
|
|
|
|
2546 |
1193 |
product |
2664 |
M |
0 |
|
|
0 |
|
|
|
|
2570 |
1217 |
product |
2688 |
M |
0 |
|
|
0 |
|
|
|
|
3243 |
1830 |
product |
3361 |
M |
0 |
|
|
0 |
|
|
|
|
3244 |
1831 |
product |
3362 |
M |
0 |
|
|
0 |
|
|
|
|
3246 |
1833 |
product |
3364 |
M |
0 |
|
|
0 |
|
|
|
|
3250 |
1837 |
product |
3368 |
M |
0 |
|
|
0 |
|
|
|
|
3251 |
1838 |
product |
3369 |
M |
0 |
|
|
0 |
|
|
|
|
3252 |
1839 |
product |
3370 |
M |
0 |
|
|
0 |
|
|
|
|
3259 |
1846 |
product |
3377 |
M |
0 |
|
|
0 |
|
|
|
|
3316 |
1904 |
product |
3434 |
M |
0 |
|
|