Query time 0.00690
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "74.28"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "14.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": 14,
"rows_produced_per_join": 14,
"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 (611248,698147,611260,695183,697334,992022,992370,612373,697717,697332,991976,1732072,1282939,1732198)))",
"cost_info": {
"read_cost": "28.61",
"eval_cost": "1.40",
"prefix_cost": "30.01",
"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": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "13.85",
"eval_cost": "1.40",
"prefix_cost": "45.26",
"data_read_per_join": "10K"
},
"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": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "13.62",
"eval_cost": "1.40",
"prefix_cost": "60.29",
"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 |
| 955925 |
611248 |
product |
0 |
956162 |
M |
0 |
proiector-led-ch059-6d-20w-1224v-spot-beam-30-geam-transparent-maniacars.jpg |
|
466 |
466 |
956162 |
| 955946 |
611260 |
product |
0 |
956183 |
M |
0 |
banda-flexibila-led-drl-30cm-cu-functie-de-semnalizare-dinamica-flowbo30cm-maniacars.jpg |
|
1000 |
1000 |
956183 |
| 957931 |
612373 |
product |
0 |
958168 |
M |
0 |
bec-6-led-sofit-36mm-12v-alba--cod-pt49-maniacars.jpg |
|
800 |
570 |
958168 |
| 1092685 |
695183 |
product |
0 |
1092922 |
M |
0 |
bec-bord-12v-12w-set-10-buc-maniacars.jpg |
|
500 |
500 |
1092922 |
| 1095180 |
697332 |
product |
0 |
1095417 |
M |
0 |
set-t47-1-led-5050-smd-12v-culoare-albastru-produs-lux-maniacars.jpg |
|
400 |
250 |
1095417 |
| 1095184 |
697334 |
product |
0 |
1095421 |
M |
0 |
set-t3-1-led-3528smd-12v-culoare-albastru-produs-lux-maniacars.jpg |
|
240 |
240 |
1095421 |
| 1095808 |
697717 |
product |
0 |
1096045 |
M |
0 |
bec-bord-dulie-plastic-24v-12w-pret-10buc-maniacars.jpg |
|
500 |
500 |
1096045 |
| 1096534 |
698147 |
product |
0 |
1096771 |
M |
0 |
led-smd-5050-lumina-albastra-maniacars.jpg |
|
128 |
160 |
1096771 |
| 1540715 |
991976 |
product |
0 |
1540952 |
M |
0 |
becuri-led-sofit-canbus-6smd-36mm-3030-premium-mall.jpg |
|
800 |
800 |
1540952 |
| 1540781 |
992022 |
product |
0 |
1541018 |
M |
0 |
proiector-led-42083-y-combo-180w-12-24v-lumina-galbena-mall.jpg |
|
600 |
600 |
1541018 |
| 1541359 |
992370 |
product |
0 |
1541596 |
M |
0 |
banda-flexibila-led-drl-lumina-alba-30cm-bo30w---24v-mall.jpg |
|
463 |
290 |
1541596 |
| 2085986 |
1282939 |
product |
0 |
2086238 |
M |
0 |
bec-o-faza-tv-ba15s-5630-18smd-alb-canbus-9v-30v-nonpolar-.jpg |
|
4805 |
3203 |
2086238 |
| 3947213 |
1732072 |
product |
0 |
3947466 |
M |
0 |
Proiector-LED-30W-12-24V-6500K--SPOT--SWKS-G6530S1-MRA36-190321-13.jpg |
Proiector LED 30W 12-24V 6500K SPOT SWKS-G6530S1 MRA36-190321-13 |
3000 |
3000 |
3947466 |
| 3947422 |
1732198 |
product |
0 |
3947675 |
M |
0 |
Bec-auto-LED-SOFIT-11X41--3014-cu-36-SMD-ALB-12V-CANBUS-JSUN26---pret-pe-set---MRA36-170221-7.png |
Bec auto LED SOFIT 11X41 3014 cu 36 SMD ALB 12V CANBUS JSUN26 ( pret pe set ) MRA36-170221-7 |
229 |
150 |
3947675 |