Query time 0.00116
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "117.69"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "22.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": 22,
"rows_produced_per_join": 22,
"filtered": "100.00",
"index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'product') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'M') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (1128285,1128289,1129605,1129852,525901,1128299,1199097,1128294,1129606,1128290,1199098,1128108,1199099,1199095,1129597,1128097,1128078,1129863,1193387,1198929,1198866,1198921)))",
"cost_info": {
"read_cost": "45.58",
"eval_cost": "2.20",
"prefix_cost": "47.78",
"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": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.86",
"eval_cost": "2.20",
"prefix_cost": "71.84",
"data_read_per_join": "16K"
},
"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": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.65",
"eval_cost": "2.20",
"prefix_cost": "95.69",
"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 |
| 817960 |
525901 |
product |
0 |
818197 |
M |
0 |
perna-decorativa-pufoasa-catifelata-culoare-verde-dimensiune-43x43cm-.jpg |
|
1200 |
876 |
818197 |
| 1788520 |
1128078 |
product |
0 |
1788769 |
M |
0 |
0e2e73f9488a8395d7849a703422__1_.jpg |
|
1000 |
1000 |
1788769 |
| 1788655 |
1128108 |
product |
0 |
1788904 |
M |
0 |
ysHFMqo.jpg |
|
650 |
650 |
1788904 |
| 1789076 |
1128285 |
product |
0 |
1789325 |
M |
0 |
Oc7xPdN.jpg |
|
650 |
650 |
1789325 |
| 1789082 |
1128290 |
product |
0 |
1789331 |
M |
0 |
1TOVNHd.jpg |
|
650 |
650 |
1789331 |
| 1792522 |
1128097 |
product |
0 |
1792771 |
M |
0 |
gri_inchis2.jpg |
|
650 |
650 |
1792771 |
| 1792593 |
1128289 |
product |
0 |
1792842 |
M |
0 |
W6LEXje.jpg |
|
650 |
650 |
1792842 |
| 1792601 |
1128294 |
product |
0 |
1792850 |
M |
0 |
YWaqxkW.jpg |
|
650 |
650 |
1792850 |
| 1793241 |
1129597 |
product |
0 |
1793490 |
M |
0 |
1xgalben.jpg |
|
650 |
650 |
1793490 |
| 1793262 |
1129605 |
product |
0 |
1793511 |
M |
0 |
ssntzN1.jpg |
|
650 |
650 |
1793511 |
| 1793265 |
1129606 |
product |
0 |
1793514 |
M |
0 |
qgjngSE.jpg |
|
650 |
650 |
1793514 |
| 1793468 |
1128299 |
product |
0 |
1793717 |
M |
0 |
gdlxYfs.jpg |
|
650 |
650 |
1793717 |
| 1793703 |
1129852 |
product |
0 |
1793952 |
M |
0 |
S74Ukpd.jpg |
|
798 |
462 |
1793952 |
| 1793772 |
1129863 |
product |
0 |
1794021 |
M |
0 |
dfgbh.jpg |
|
1024 |
1024 |
1794021 |
| 1931476 |
1193387 |
product |
0 |
1931728 |
M |
0 |
albastru.jpg |
|
1000 |
1000 |
1931728 |
| 1931504 |
1198866 |
product |
0 |
1931756 |
M |
0 |
verde_5cue-74.jpg |
|
600 |
600 |
1931756 |
| 1931616 |
1198921 |
product |
0 |
1931868 |
M |
0 |
50x30_maro.jpg |
|
1000 |
1000 |
1931868 |
| 1931625 |
1198929 |
product |
0 |
1931877 |
M |
0 |
50x30galben.jpg |
|
1000 |
1000 |
1931877 |
| 1932279 |
1199097 |
product |
0 |
1932531 |
M |
0 |
grey_edited.png |
|
700 |
700 |
1932531 |
| 1932290 |
1199098 |
product |
0 |
1932542 |
M |
0 |
brown_edited.png |
|
700 |
700 |
1932542 |
| 3661065 |
1199095 |
product |
0 |
3661318 |
M |
0 |
blue_edited.png |
|
700 |
700 |
3661318 |
| 3663014 |
1199099 |
product |
0 |
3663267 |
M |
0 |
1.jpg |
|
650 |
650 |
3663267 |