Query time 0.00395
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "223.19"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "43.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": 43,
"rows_produced_per_join": 43,
"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 (1232147,1231457,1282897,1231084,1231096,1214595,1231474,1231195,1232266,1338924,1231338,1662790,1231494,1232184,1108819,1232049,1231612,1232051,1232167,1238120,1231458,1231459,1231377,1231215,1231569,1232092,1231160,1731849,1232054,1232064,1108779,1108820,1231839,1231181,1231476,1153203)))",
"cost_info": {
"read_cost": "82.18",
"eval_cost": "4.30",
"prefix_cost": "86.48",
"data_read_per_join": "4K"
},
"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": 43,
"filtered": "100.00",
"cost_info": {
"read_cost": "42.72",
"eval_cost": "4.30",
"prefix_cost": "133.50",
"data_read_per_join": "32K"
},
"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": 43,
"filtered": "100.00",
"cost_info": {
"read_cost": "42.39",
"eval_cost": "4.30",
"prefix_cost": "180.19",
"data_read_per_join": "25K"
},
"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 |
| 1957049 |
1214595 |
product |
0 |
1957301 |
A |
0 |
aparat-multifunctional-anti-insecte-si-rozatoare-3in1-lampa-uv-senzor-de-lumina-5w-negru-_65fh-no.jpg |
|
1167 |
1017 |
1957301 |
| 1957050 |
1214595 |
product |
0 |
1957302 |
A |
0 |
aparat-multifunctional-anti-insecte-si-rozatoare-3in1-lampa-uv-senzor-de-lumina-5w-negru-_5f8r-fj.jpg |
|
1200 |
1200 |
1957302 |
| 1957051 |
1214595 |
product |
0 |
1957303 |
A |
0 |
aparat-multifunctional-anti-insecte-si-rozatoare-3in1-lampa-uv-senzor-de-lumina-5w-negru-_yefo-vl.jpg |
|
1200 |
1200 |
1957303 |
| 1957052 |
1214595 |
product |
0 |
1957304 |
A |
0 |
aparat-multifunctional-anti-insecte-si-rozatoare-3in1-lampa-uv-senzor-de-lumina-5w-negru-_hnrd-dm.jpg |
|
1200 |
1200 |
1957304 |
| 1991211 |
1231458 |
product |
0 |
1991463 |
A |
0 |
pompita-amorsare-carburator-universala-_hz4d-vj.png |
|
682 |
455 |
1991463 |
| 1991212 |
1231458 |
product |
0 |
1991464 |
A |
0 |
pompita-amorsare-carburator-universala-_76fq-mz.png |
|
682 |
455 |
1991464 |
| 1991247 |
1231474 |
product |
0 |
1991499 |
A |
0 |
suport-coarne-mtc-26mm-_eajv-gy.png |
|
682 |
455 |
1991499 |
| 1991252 |
1231476 |
product |
0 |
1991504 |
A |
0 |
suport-coarne-mtc-26mm-mare-_su8j-tf.png |
|
682 |
455 |
1991504 |
| 1991253 |
1231476 |
product |
0 |
1991505 |
A |
0 |
suport-coarne-mtc-26mm-mare-_q327-x6.png |
|
682 |
455 |
1991505 |
| 1991291 |
1231494 |
product |
0 |
1991543 |
A |
0 |
suport-aparatoare-26mm-tablita-_i3nn-ho.png |
|
682 |
455 |
1991543 |
| 1991292 |
1231494 |
product |
0 |
1991544 |
A |
0 |
suport-aparatoare-26mm-tablita-_sfy7-ey.png |
|
682 |
455 |
1991544 |
| 1992131 |
1232092 |
product |
0 |
1992383 |
A |
0 |
ulei-lant-drujba-premium-1l-_o1ou-p1.jpg |
|
682 |
454 |
1992383 |
| 1992327 |
1232167 |
product |
0 |
1992579 |
A |
0 |
manusi-de-gradinarit-cu-4-gheare-pentru-sapat-_tzxi-ri.jpg |
|
1200 |
1200 |
1992579 |
| 2007077 |
1238120 |
product |
0 |
2007329 |
A |
0 |
sticker-auto-parbriz-because-audi-alb-_icze-r5.jpg |
|
794 |
561 |
2007329 |
| 2084954 |
1282897 |
product |
0 |
2085206 |
A |
0 |
suport-prindere-tableta-pe-tetiera-auto-vip-mtv---spt82214-.jpg |
|
500 |
500 |
2085206 |
| 2084955 |
1282897 |
product |
0 |
2085207 |
A |
0 |
suport-prindere-tableta-pe-tetiera-auto-vip-mtv---spt82214-_z9cq-tq.jpg |
|
500 |
500 |
2085207 |
| 2252185 |
1338924 |
product |
0 |
2252437 |
A |
0 |
suport-telefon-cu-incarcator-wireless-s5-2in1-_50f9-k4.jpg |
|
800 |
800 |
2252437 |
| 3946885 |
1731849 |
product |
0 |
3947138 |
A |
0 |
Scai-dublu-cu-banda-dublu-adeziva-VELCRO---pret---metru---MRA36-040621-16_9qu8-14.jpg |
Scai dublu cu banda dublu adeziva VELCRO ( pret / metru ) MRA36-040621-16 |
960 |
720 |
3947138 |