Query time 0.00346
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "110.74"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "21.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": 21,
"rows_produced_per_join": 21,
"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,1128299,1199097,1718556,1128294,1129606,1128290,1199098,1129177,1128108,1199099,1199095,1129597,1128097,1128078,1193387,1198929,1198866,1198921)))",
"cost_info": {
"read_cost": "42.24",
"eval_cost": "2.10",
"prefix_cost": "44.34",
"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": 21,
"filtered": "100.00",
"cost_info": {
"read_cost": "20.63",
"eval_cost": "2.10",
"prefix_cost": "67.07",
"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": 21,
"filtered": "100.00",
"cost_info": {
"read_cost": "20.57",
"eval_cost": "2.10",
"prefix_cost": "89.74",
"data_read_per_join": "12K"
},
"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 |
| 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 |
| 1792280 |
1129177 |
product |
0 |
1792529 |
M |
0 |
leagan-balansoar-dreptunghiular-suspendat-pentru-casa-sau-gradina-cu-franjuri-150kg-gri-.jpg |
|
750 |
750 |
1792529 |
| 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 |
| 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 |
| 3911081 |
1718556 |
product |
0 |
3911334 |
M |
0 |
Perna-pentru-sezlon.jpg |
Perna pentru sezlong de terasa sau gradina, bumbac cu umplutura moale, curele de fixare, 160x50x4 cm, culoare Albastru |
1200 |
1200 |
3911334 |