Query time 0.00051
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "50.17"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "11.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": 11,
"rows_produced_per_join": 11,
"filtered": "100.00",
"index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'product') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'A') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (1570431,1632408)))",
"cost_info": {
"read_cost": "14.01",
"eval_cost": "1.10",
"prefix_cost": "15.11",
"data_read_per_join": "1K"
},
"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": "3",
"ref": [
"maniamall_cscart.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "10.96",
"eval_cost": "1.10",
"prefix_cost": "27.17",
"data_read_per_join": "8K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y"
],
"attached_condition": "<if>(is_not_null_compl(cscart_images), (`maniamall_cscart`.`cscart_images_links`.`detailed_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
}
},
{
"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": [
"maniamall_cscart.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "10.90",
"eval_cost": "1.10",
"prefix_cost": "39.17",
"data_read_per_join": "6K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`maniamall_cscart`.`cscart_common_descriptions`.`object_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
Result
| pair_id |
object_id |
object_type |
image_id |
detailed_id |
type |
position |
image_path |
alt |
image_x |
image_y |
images_image_id |
| 3391950 |
1570431 |
product |
0 |
3392203 |
A |
0 |
pol_pl_Tor-wyrzutnia-dinozaur-2-autka-14812_4.jpg |
|
652 |
500 |
3392203 |
| 3391951 |
1570431 |
product |
0 |
3392204 |
A |
0 |
pol_pl_Tor-wyrzutnia-dinozaur-2-autka-14812_5.jpg |
|
652 |
500 |
3392204 |
| 3391952 |
1570431 |
product |
0 |
3392205 |
A |
0 |
pol_pl_Tor-wyrzutnia-dinozaur-2-autka-14812_6.jpg |
|
652 |
500 |
3392205 |
| 3391953 |
1570431 |
product |
0 |
3392206 |
A |
0 |
pol_pl_Tor-wyrzutnia-dinozaur-2-autka-14812_7.jpg |
|
652 |
500 |
3392206 |
| 3391954 |
1570431 |
product |
0 |
3392207 |
A |
0 |
pol_pl_Tor-wyrzutnia-dinozaur-2-autka-14812_8.jpg |
|
653 |
500 |
3392207 |
| 3391955 |
1570431 |
product |
0 |
3392208 |
A |
0 |
pol_pl_Tor-wyrzutnia-dinozaur-2-autka-14812_9.jpg |
|
652 |
500 |
3392208 |
| 3391956 |
1570431 |
product |
0 |
3392209 |
A |
0 |
pol_pl_Tor-wyrzutnia-dinozaur-2-autka-14812_10.jpg |
|
750 |
447 |
3392209 |
| 3391957 |
1570431 |
product |
0 |
3392210 |
A |
0 |
pol_pl_Tor-wyrzutnia-dinozaur-2-autka-14812_11.jpg |
|
699 |
500 |
3392210 |
| 3391958 |
1570431 |
product |
0 |
3392211 |
A |
0 |
pol_pl_Tor-wyrzutnia-dinozaur-2-autka-14812_2.jpg |
|
652 |
500 |
3392211 |
| 3545883 |
1632408 |
product |
0 |
3546136 |
A |
0 |
jucarie-senzoriala-antistres-pop-it-now-din-silicon-125x125-cm-albastru-_k324-6l.jpg |
|
703 |
500 |
3546136 |
| 3545884 |
1632408 |
product |
0 |
3546137 |
A |
0 |
jucarie-senzoriala-antistres-pop-it-now-din-silicon-125x125-cm-albastru-_nigi-g2.jpg |
|
583 |
500 |
3546137 |