Query time 0.00299
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "79.76"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "15.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": 15,
"rows_produced_per_join": 15,
"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 (40162,40150,21174,20833,20978,21367,19539,21181,19535,20814,19454,19447,19449,19549,20997)))",
"cost_info": {
"read_cost": "30.79",
"eval_cost": "1.50",
"prefix_cost": "32.29",
"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": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.84",
"eval_cost": "1.50",
"prefix_cost": "48.64",
"data_read_per_join": "11K"
},
"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": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.62",
"eval_cost": "1.50",
"prefix_cost": "64.76",
"data_read_per_join": "8K"
},
"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 |
| 1650178 |
19447 |
category |
0 |
1650416 |
M |
0 |
scule-de-mana.jpg |
|
232 |
600 |
1650416 |
| 1650181 |
19449 |
category |
0 |
1650419 |
M |
0 |
scule-garaj.jpg |
|
600 |
590 |
1650419 |
| 1650190 |
19454 |
category |
0 |
1650428 |
M |
0 |
scule-baterie-auto.jpg |
|
825 |
759 |
1650428 |
| 1650331 |
19535 |
category |
0 |
1650569 |
M |
0 |
kit-uri-siguranta-auto.jpg |
|
600 |
563 |
1650569 |
| 1650348 |
19539 |
category |
0 |
1650586 |
M |
0 |
diverse_6zj3-0c.jpg |
|
798 |
799 |
1650586 |
| 1650368 |
19549 |
category |
0 |
1650606 |
M |
0 |
scule-roti-si-anvelope.jpg |
|
768 |
731 |
1650606 |
| 1653391 |
20814 |
category |
0 |
1653629 |
M |
0 |
raclete.jpg |
|
561 |
561 |
1653629 |
| 1653459 |
20833 |
category |
0 |
1653697 |
M |
0 |
chingi-ancorare-marfa-si-plasa-bagaje.jpg |
|
1200 |
1200 |
1653697 |
| 1653821 |
20978 |
category |
0 |
1654059 |
M |
0 |
compresor-aer-auto.jpg |
|
600 |
600 |
1654059 |
| 1653880 |
20997 |
category |
0 |
1654118 |
M |
0 |
seturi---saibe-pana-stifturi-cuie-agrafe.jpg |
|
800 |
800 |
1654118 |
| 1655531 |
21174 |
category |
0 |
1655769 |
M |
0 |
buson-rezervor.jpg |
|
1000 |
1000 |
1655769 |
| 1655575 |
21181 |
category |
0 |
1655813 |
M |
0 |
imbracaminte.jpg |
|
1000 |
1000 |
1655813 |
| 1656946 |
21367 |
category |
0 |
1657184 |
M |
0 |
cricuri-auto.jpg |
|
216 |
238 |
1657184 |
| 3720723 |
40150 |
category |
0 |
3720976 |
M |
0 |
Scule-pentru-Sistemul-de-Lubrefiere.jpg |
Scule pentru Sistemul de Lubrefiere |
340 |
297 |
3720976 |
| 3720735 |
40162 |
category |
0 |
3720988 |
M |
0 |
Scule-pentru-Sistemul-de-Franare.jpg |
Scule pentru Sistemul de Franare |
340 |
128 |
3720988 |