Query time 0.00202
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "85.53"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "16.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": 16,
"rows_produced_per_join": 16,
"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 (1051347,1033307,1051345,1026843,1025342,1025990,1025812,1117647,1033092,1117676,1025931,1033008,1026803,1033351,1026863,2002373)))",
"cost_info": {
"read_cost": "33.10",
"eval_cost": "1.60",
"prefix_cost": "34.70",
"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": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "15.88",
"eval_cost": "1.60",
"prefix_cost": "52.19",
"data_read_per_join": "12K"
},
"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": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "15.75",
"eval_cost": "1.60",
"prefix_cost": "69.53",
"data_read_per_join": "9K"
},
"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 |
| 1580361 |
1025342 |
product |
0 |
1580598 |
M |
0 |
butuc-fata-aluminiu---mto-bsp1107-.jpg |
|
838 |
745 |
1580598 |
| 1580878 |
1025812 |
product |
0 |
1581115 |
M |
0 |
coronite-14-x-9-ax-pedalier-mtb-rus---mto-r50045-.jpg |
|
302 |
260 |
1581115 |
| 1581009 |
1025931 |
product |
0 |
1581246 |
M |
0 |
disc-frana-diametru-180mm-material-otel-inoxidab---mto-bsp07311-.jpg |
|
800 |
800 |
1581246 |
| 1581077 |
1025990 |
product |
0 |
1581314 |
M |
0 |
far-lanterna-cobra---mto-bac0300-.jpg |
|
420 |
280 |
1581314 |
| 1581954 |
1026803 |
product |
0 |
1582191 |
M |
0 |
pedale-aluminiu-drepte---negre---mto-r501181-.jpg |
|
500 |
345 |
1582191 |
| 1581997 |
1026843 |
product |
0 |
1582234 |
M |
0 |
petice-48---mto-r50097-.jpg |
|
998 |
676 |
1582234 |
| 1582018 |
1026863 |
product |
0 |
1582255 |
M |
0 |
pinion-bmx--20t---mto-r50136-.jpg |
|
493 |
458 |
1582255 |
| 1590251 |
1033008 |
product |
0 |
1590488 |
M |
0 |
roata---28x15-175---fata---al-dub---mtb-36h-14g---mto-r500806-.jpg |
|
100 |
100 |
1590488 |
| 1590335 |
1033092 |
product |
0 |
1590572 |
M |
0 |
sa-cu-arcuri--gaura--grilaj---mto-r50153-.jpg |
|
700 |
466 |
1590572 |
| 1590550 |
1033307 |
product |
0 |
1590787 |
M |
0 |
sonerie-ghidon---metal---mto-r500041-.jpg |
|
678 |
726 |
1590787 |
| 1590594 |
1033351 |
product |
0 |
1590831 |
M |
0 |
stop-carry---mto-bac0329-.jpg |
|
316 |
220 |
1590831 |
| 1615840 |
1051345 |
product |
0 |
1616077 |
M |
0 |
antifurt-cheie---a---9mm5mm60cm---mto-r50008-.jpg |
|
384 |
384 |
1616077 |
| 1615841 |
1051347 |
product |
0 |
1616078 |
M |
0 |
anvelopa-deestone-26x175-47-559---strada---d1006---mto-dee010-.jpg |
|
480 |
585 |
1616078 |
| 1762677 |
1117647 |
product |
0 |
1762916 |
M |
0 |
ghidaj-cablu-frana---90---mto-r500355-.jpg |
|
241 |
173 |
1762916 |
| 1762707 |
1117676 |
product |
0 |
1762946 |
M |
0 |
pinion-7---mto-r50132-.jpg |
|
500 |
397 |
1762946 |
| 4761591 |
2002373 |
product |
0 |
4761844 |
M |
0 |
Set-catadioptrii--tuburi-reflectorizante-pentru-spite-bicicleta-12-bucati--culoare-galben.jpg |
Set catadioptrii, tuburi reflectorizante pentru spite bicicleta 12 bucati, culoare galben |
1200 |
1024 |
4761844 |