Query time 0.00600
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "105.85"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "20.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": 20,
"rows_produced_per_join": 20,
"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 (697795,611344,611343,671469,614832,1088508,698251,991893,614900,698186,614875,697903,614824,991310,696234,695078,614833,697609,696257,1732162)))",
"cost_info": {
"read_cost": "40.80",
"eval_cost": "2.00",
"prefix_cost": "42.80",
"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": 20,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.71",
"eval_cost": "2.00",
"prefix_cost": "64.51",
"data_read_per_join": "15K"
},
"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": 20,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.34",
"eval_cost": "2.00",
"prefix_cost": "85.85",
"data_read_per_join": "11K"
},
"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 |
| 956083 |
611343 |
product |
0 |
956320 |
M |
0 |
butuc-roata-remorca-4100-cu-ax--cw-0203-maniacars.jpg |
|
406 |
273 |
956320 |
| 956084 |
611344 |
product |
0 |
956321 |
M |
0 |
butuc-roata-remorca-4100--hc-0203-maniacars.jpg |
|
346 |
260 |
956321 |
| 961858 |
614824 |
product |
0 |
962095 |
M |
0 |
lampa-laterala-cu-9-smd-12v-portocaliu-gn13-maniacars.jpg |
|
598 |
600 |
962095 |
| 961866 |
614832 |
product |
0 |
962103 |
M |
0 |
prindere-podea-pentru-marfa-u-01-maniacars.jpg |
|
800 |
600 |
962103 |
| 961867 |
614833 |
product |
0 |
962104 |
M |
0 |
cupla-remorca-patrata-1300j-maniacars.jpg |
|
800 |
600 |
962104 |
| 961914 |
614875 |
product |
0 |
962151 |
M |
0 |
abtibild-3d-2-fata-in-flacari-maniacars.jpg |
|
800 |
600 |
962151 |
| 961948 |
614900 |
product |
0 |
962185 |
M |
0 |
banda-reflectorizanta-albastra-015b-10mm-x-457m-maniacars.jpg |
|
300 |
225 |
962185 |
| 1050787 |
671469 |
product |
0 |
1051024 |
M |
0 |
dus-solar-de-camping-capacitate-40l--furtun-cu-capat-dus-.jpg |
|
1200 |
900 |
1051024 |
| 1092504 |
695078 |
product |
0 |
1092741 |
M |
0 |
abtibild--dragon--alb-reflectorizant-an16-maniacars.jpg |
|
800 |
349 |
1092741 |
| 1093476 |
696234 |
product |
0 |
1093713 |
M |
0 |
rola-ornament-neagra-cu-adeziv-8mm-x-15m-maniacars.jpg |
|
675 |
450 |
1093713 |
| 1093520 |
696257 |
product |
0 |
1093757 |
M |
0 |
ornament-toba-inox-sq01-maniacars.jpg |
|
600 |
600 |
1093757 |
| 1095635 |
697609 |
product |
0 |
1095872 |
M |
0 |
oglinda-camion-universala-manuala-012-maniacars.jpg |
|
600 |
450 |
1095872 |
| 1095918 |
697795 |
product |
0 |
1096155 |
M |
0 |
abtibild-cromat-litere--cifre--semne-3d-maniacars.jpg |
|
800 |
600 |
1096155 |
| 1096105 |
697903 |
product |
0 |
1096342 |
M |
0 |
lampa-gabarit-14-x-15-de-24v-maniacars.jpg |
|
800 |
600 |
1096342 |
| 1096595 |
698186 |
product |
0 |
1096832 |
M |
0 |
suport-numar-inmatriculare-fara-scris-maniacars.jpg |
|
640 |
480 |
1096832 |
| 1096697 |
698251 |
product |
0 |
1096934 |
M |
0 |
suport-numar-inmatriculare-cromat-maniacars.jpg |
|
300 |
300 |
1096934 |
| 1539941 |
991310 |
product |
0 |
1540178 |
M |
0 |
lampa-gabarit-led-12v-cod-l1063139-mall.jpg |
|
800 |
533 |
1540178 |
| 1540584 |
991893 |
product |
0 |
1540821 |
M |
0 |
lampa-stop-camion-led-cu-semnalizare-dinamica-sl-5004-stanga-12-24v-mall.jpg |
|
449 |
317 |
1540821 |
| 1697846 |
1088508 |
product |
0 |
1698084 |
M |
0 |
abtibild-limita-viteza-camion-refectorizanta-mall.jpg |
|
724 |
483 |
1698084 |
| 3947357 |
1732162 |
product |
0 |
3947610 |
M |
0 |
Camera-marsarier-wireless-cu-display-12V-DISCN97-MRA36-220221-3.png |
Camera marsarier wireless cu display 12V DISCN97 MRA36-220221-3 |
800 |
800 |
3947610 |