Query time 0.00486
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "77.44"
},
"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` = 'product') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'A') 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.99",
"eval_cost": "1.50",
"prefix_cost": "30.49",
"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.68",
"eval_cost": "1.50",
"prefix_cost": "46.67",
"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.27",
"eval_cost": "1.50",
"prefix_cost": "62.44",
"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 |
| 955926 |
611248 |
product |
0 |
956163 |
A |
0 |
proiector-led-ch059-6d-20w-1224v-spot-beam-30-geam-transparent-maniacars_xpyg-gz.jpg |
|
800 |
800 |
956163 |
| 955947 |
611260 |
product |
0 |
956184 |
A |
0 |
banda-flexibila-led-drl-30cm-cu-functie-de-semnalizare-dinamica-flowbo30cm-maniacars_dku9-8c.jpg |
|
260 |
260 |
956184 |
| 1095181 |
697332 |
product |
0 |
1095418 |
A |
0 |
set-t47-1-led-5050-smd-12v-culoare-albastru-produs-lux-maniacars.png |
|
600 |
600 |
1095418 |
| 1095185 |
697334 |
product |
0 |
1095422 |
A |
0 |
set-t3-1-led-3528smd-12v-culoare-albastru-produs-lux-maniacars.png |
|
600 |
600 |
1095422 |
| 1540782 |
992022 |
product |
0 |
1541019 |
A |
0 |
proiector-led-42083-y-combo-180w-12-24v-lumina-galbena-mall_3rtm-49.jpg |
|
600 |
600 |
1541019 |
| 1541360 |
992370 |
product |
0 |
1541597 |
A |
0 |
banda-flexibila-led-drl-lumina-alba-30cm-bo30w---24v-mall_f5zu-hq.jpg |
|
500 |
500 |
1541597 |
| 2085026 |
1282939 |
product |
0 |
2085278 |
A |
0 |
bec-o-faza-tv-ba15s-5630-18smd-alb-canbus-9v-30v-nonpolar-topcars-.jpg |
|
4376 |
2917 |
2085278 |
| 2085027 |
1282939 |
product |
0 |
2085279 |
A |
0 |
bec-o-faza-tv-ba15s-5630-18smd-alb-canbus-9v-30v-nonpolar-topcars-_n4pd-lh.jpg |
|
4376 |
2917 |
2085279 |
| 3947214 |
1732072 |
product |
0 |
3947467 |
A |
0 |
Proiector-LED-30W-12-24V-6500K--SPOT--SWKS-G6530S1-MRA36-190321-13_02jy-kg.jpg |
Proiector LED 30W 12-24V 6500K SPOT SWKS-G6530S1 MRA36-190321-13 |
2500 |
2500 |
3947467 |