Query time 0.00310
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "99.22"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "19.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": 19,
"rows_produced_per_join": 19,
"filtered": "100.00",
"index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'category') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'M') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (33868,33903,33865,33856,36185,2474,2554,2463,918,2960,6638,912,6578,5393,5152,5521,16633,2890,23795)))",
"cost_info": {
"read_cost": "37.92",
"eval_cost": "1.90",
"prefix_cost": "39.82",
"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": 19,
"filtered": "100.00",
"cost_info": {
"read_cost": "18.56",
"eval_cost": "1.90",
"prefix_cost": "60.28",
"data_read_per_join": "14K"
},
"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": 19,
"filtered": "100.00",
"cost_info": {
"read_cost": "18.04",
"eval_cost": "1.90",
"prefix_cost": "80.22",
"data_read_per_join": "11K"
},
"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 |
| 8722 |
912 |
category |
0 |
8959 |
M |
0 |
jucarii-de-plus.jpg |
|
900 |
959 |
8959 |
| 8759 |
918 |
category |
0 |
8996 |
M |
0 |
jucarii-antistres.jpg |
|
900 |
959 |
8996 |
| 79228 |
2463 |
category |
0 |
79465 |
M |
0 |
jocuri-si-accesorii.jpg |
|
500 |
500 |
79465 |
| 79881 |
2474 |
category |
0 |
80118 |
M |
0 |
articole-copii.jpg |
|
388 |
313 |
80118 |
| 84605 |
2554 |
category |
0 |
84842 |
M |
0 |
biciclete-si-triciclete-copii.jpg |
|
850 |
850 |
84842 |
| 102837 |
2890 |
category |
0 |
103074 |
M |
0 |
puzzle-din-lemn.jpg |
|
900 |
959 |
103074 |
| 104330 |
2960 |
category |
0 |
104567 |
M |
0 |
jucarii-bebelusi.jpg |
|
800 |
800 |
104567 |
| 265469 |
5152 |
category |
0 |
265706 |
M |
0 |
masini-cu-telecomanda.jpg |
|
370 |
370 |
265706 |
| 322122 |
5393 |
category |
0 |
322359 |
M |
0 |
jucarii-interactive.jpg |
|
370 |
370 |
322359 |
| 345334 |
5521 |
category |
0 |
345571 |
M |
0 |
masinute-electrice.jpg |
|
1183 |
1000 |
345571 |
| 547209 |
6578 |
category |
0 |
547446 |
M |
0 |
jucarii-diverse.jpg |
|
1620 |
1080 |
547446 |
| 564475 |
6638 |
category |
0 |
564712 |
M |
0 |
jucarii-de-exterior.jpg |
|
568 |
499 |
564712 |
| 1589319 |
16633 |
category |
0 |
1589556 |
M |
0 |
mese-biliard.jpg |
|
1500 |
1125 |
1589556 |
| 3121140 |
33856 |
category |
0 |
3121393 |
M |
0 |
Jucarii-din-Lemn.jpg |
Jucarii din Lemn |
960 |
960 |
3121393 |
| 3121383 |
33865 |
category |
0 |
3121636 |
M |
0 |
Jocuri-de-Indemanare.jpg |
Jocuri de Indemanare |
400 |
400 |
3121636 |
| 3121455 |
33868 |
category |
0 |
3121708 |
M |
0 |
Centre-de-Activitate.jpg |
Centre de Activitate |
600 |
592 |
3121708 |
| 3134628 |
33903 |
category |
0 |
3134881 |
M |
0 |
Jocuri-cu-Carti.jpg |
Jocuri cu Carti |
945 |
593 |
3134881 |
| 3468835 |
36185 |
category |
0 |
3469088 |
M |
0 |
Jucarii-Indemanare.jpg |
Jucarii Indemanare |
480 |
480 |
3469088 |