Query time 0.00479
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "121.74"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "23.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": 23,
"rows_produced_per_join": 23,
"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 (8239,8271,8297,8396,8402,8342,8433,8430,8434,8437,8463,8464,8517,8470,8506,8536,8542,8590,8567,8612,8613,21369,8663)))",
"cost_info": {
"read_cost": "46.85",
"eval_cost": "2.30",
"prefix_cost": "49.15",
"data_read_per_join": "2K"
},
"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": 23,
"filtered": "100.00",
"cost_info": {
"read_cost": "22.68",
"eval_cost": "2.30",
"prefix_cost": "74.13",
"data_read_per_join": "17K"
},
"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": 23,
"filtered": "100.00",
"cost_info": {
"read_cost": "22.31",
"eval_cost": "2.30",
"prefix_cost": "98.74",
"data_read_per_join": "13K"
},
"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 |
| 928802 |
8239 |
category |
0 |
929039 |
M |
0 |
baie-ulei.jpg |
|
500 |
333 |
929039 |
| 929174 |
8271 |
category |
0 |
929411 |
M |
0 |
bobine-inductie.jpg |
|
750 |
682 |
929411 |
| 929520 |
8297 |
category |
0 |
929757 |
M |
0 |
buson-umplere-ulei.jpg |
|
549 |
523 |
929757 |
| 929867 |
8342 |
category |
0 |
930104 |
M |
0 |
filtre-aer.jpg |
|
500 |
500 |
930104 |
| 931092 |
8396 |
category |
0 |
931329 |
M |
0 |
curele-transmisie.png |
|
352 |
221 |
931329 |
| 931122 |
8402 |
category |
0 |
931359 |
M |
0 |
debitmetre-aer.jpg |
|
1024 |
819 |
931359 |
| 931416 |
8430 |
category |
0 |
931653 |
M |
0 |
furtune-aerisire-chiuloasa.jpg |
|
800 |
400 |
931653 |
| 931446 |
8433 |
category |
0 |
931683 |
M |
0 |
furtune-admisie.jpg |
|
1000 |
1000 |
931683 |
| 931459 |
8434 |
category |
0 |
931696 |
M |
0 |
furtune-alimentare.jpg |
|
319 |
300 |
931696 |
| 931496 |
8437 |
category |
0 |
931733 |
M |
0 |
garnituri-motor.jpg |
|
598 |
360 |
931733 |
| 932391 |
8463 |
category |
0 |
932628 |
M |
0 |
intercooler.jpg |
|
738 |
631 |
932628 |
| 932394 |
8464 |
category |
0 |
932631 |
M |
0 |
intinzatoare-curea--role-ghidare.jpg |
|
800 |
700 |
932631 |
| 932462 |
8470 |
category |
0 |
932699 |
M |
0 |
lanturi-distributie.jpg |
|
800 |
706 |
932699 |
| 933603 |
8506 |
category |
0 |
933840 |
M |
0 |
motoras-pas-cu-pas.jpg |
|
900 |
835 |
933840 |
| 934084 |
8517 |
category |
0 |
934321 |
M |
0 |
joje-ulei.jpg |
|
800 |
600 |
934321 |
| 934276 |
8536 |
category |
0 |
934513 |
M |
0 |
pinion-ax-came.jpg |
|
800 |
722 |
934513 |
| 934394 |
8542 |
category |
0 |
934631 |
M |
0 |
pompe-combustibil.jpg |
|
1000 |
1000 |
934631 |
| 935065 |
8567 |
category |
0 |
935302 |
M |
0 |
sonde-nivel-combustibil.jpg |
|
600 |
600 |
935302 |
| 936688 |
8590 |
category |
0 |
936925 |
M |
0 |
simeringuri.jpg |
|
730 |
730 |
936925 |
| 937185 |
8612 |
category |
0 |
937422 |
M |
0 |
supape-evacuare.jpg |
|
800 |
800 |
937422 |
| 937189 |
8613 |
category |
0 |
937426 |
M |
0 |
supape-unisens.jpg |
|
303 |
150 |
937426 |
| 938086 |
8663 |
category |
0 |
938323 |
M |
0 |
valva-egr.jpg |
|
246 |
438 |
938323 |
| 1656955 |
21369 |
category |
0 |
1657193 |
M |
0 |
suruburi-chiuloasa.jpg |
|
260 |
140 |
1657193 |