Query time 0.00612
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "239.10"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "47.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": 47,
"rows_produced_per_join": 47,
"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 (614832,1232975,588096,880671,1088508,697953,796373,591739,612280,1120145,695183,600012,614835,1302601,590335,866417,589124,696523,593274,1232966,1232977,696950,621062,596399,588307,1434961,590366,697334,590358,594343,866380,1233023,562160,694679,595794,589041)))",
"cost_info": {
"read_cost": "85.73",
"eval_cost": "4.70",
"prefix_cost": "90.43",
"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": 47,
"filtered": "100.00",
"cost_info": {
"read_cost": "46.54",
"eval_cost": "4.70",
"prefix_cost": "141.67",
"data_read_per_join": "35K"
},
"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": 47,
"filtered": "100.00",
"cost_info": {
"read_cost": "45.74",
"eval_cost": "4.70",
"prefix_cost": "192.11",
"data_read_per_join": "27K"
},
"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 |
| 885086 |
562160 |
product |
0 |
885323 |
A |
0 |
kit-cabluri-audio-blow-aw300-pentru-masina-pentru-conectare-boxe-subwoofere-statii-amplificatoare-auto-_o0cw-ir.jpg |
|
800 |
600 |
885323 |
| 885087 |
562160 |
product |
0 |
885324 |
A |
0 |
kit-cabluri-audio-blow-aw300-pentru-masina-pentru-conectare-boxe-subwoofere-statii-amplificatoare-auto-_gtms-2h.jpg |
|
800 |
600 |
885324 |
| 944769 |
600012 |
product |
0 |
945006 |
A |
0 |
carcasa-cheie-auto-cu-3-butoane-fo-113-compatibil-ford-allcars_yfwo-xu.jpg |
|
1200 |
1200 |
945006 |
| 944770 |
600012 |
product |
0 |
945007 |
A |
0 |
carcasa-cheie-auto-cu-3-butoane-fo-113-compatibil-ford-allcars_qvvk-ke.jpg |
|
1200 |
1200 |
945007 |
| 944771 |
600012 |
product |
0 |
945008 |
A |
0 |
carcasa-cheie-auto-cu-3-butoane-fo-113-compatibil-ford-allcars_o0i8-cm.jpg |
|
1200 |
1200 |
945008 |
| 961871 |
614835 |
product |
0 |
962108 |
A |
0 |
folie-reflectorizanta-galbena-pretmetru-maniacars_3wf2-pm.jpg |
|
800 |
600 |
962108 |
| 975341 |
621062 |
product |
0 |
975578 |
A |
0 |
carcasa-cheie-auto-briceag-cu-3-butoane-rotunde--buton-panica-vw-124-compatibila-volkswagen-seat-skoda-allcars_o42q-76.jpg |
|
1000 |
1000 |
975578 |
| 1093906 |
696523 |
product |
0 |
1094143 |
A |
0 |
suport-telefon-magnetic-cu-ventuza-db040-maniacars.jpg |
|
1500 |
1324 |
1094143 |
| 1094590 |
696950 |
product |
0 |
1094827 |
A |
0 |
folie-caroserie-crom-mat-portocaliu--1-x-152cm--cod-1612b-maniacars.jpg |
|
600 |
294 |
1094827 |
| 1095185 |
697334 |
product |
0 |
1095422 |
A |
0 |
set-t3-1-led-3528smd-12v-culoare-albastru-produs-lux-maniacars.png |
|
600 |
600 |
1095422 |
| 1770479 |
1120145 |
product |
0 |
1770718 |
A |
0 |
fir-cu-neon-pentru-lumina-ambientala-auto-lungime-1m-culoare-galben-_v9wz-dj.jpg |
|
600 |
600 |
1770718 |
| 1770480 |
1120145 |
product |
0 |
1770719 |
A |
0 |
fir-cu-neon-pentru-lumina-ambientala-auto-lungime-1m-culoare-galben-_4ly3-rt.jpg |
|
800 |
800 |
1770719 |
| 1770481 |
1120145 |
product |
0 |
1770720 |
A |
0 |
fir-cu-neon-pentru-lumina-ambientala-auto-lungime-1m-culoare-galben-_lchs-z9.jpg |
|
790 |
790 |
1770720 |
| 1770482 |
1120145 |
product |
0 |
1770721 |
A |
0 |
fir-cu-neon-pentru-lumina-ambientala-auto-lungime-1m-culoare-galben-_zopa-2i.jpg |
|
778 |
436 |
1770721 |
| 2119855 |
1302601 |
product |
0 |
2120107 |
A |
0 |
banda-decorativa-flexibila-pentru-interior-auto-lungime-5m-culoare-albastru-_kpt2-1e.jpg |
|
1200 |
1091 |
2120107 |
| 2119856 |
1302601 |
product |
0 |
2120108 |
A |
0 |
banda-decorativa-flexibila-pentru-interior-auto-lungime-5m-culoare-albastru-_7m7r-xs.jpg |
|
1000 |
817 |
2120108 |
| 2119857 |
1302601 |
product |
0 |
2120109 |
A |
0 |
banda-decorativa-flexibila-pentru-interior-auto-lungime-5m-culoare-albastru-_uv0e-3c.jpg |
|
1000 |
890 |
2120109 |
| 2581018 |
1434961 |
product |
0 |
2581271 |
A |
0 |
antena-auto-ornamentala-universala-tip-rechin-din-plastic-15x55x7cm-culoare-alb-_bvl5-d0.jpg |
|
652 |
500 |
2581271 |
| 2581019 |
1434961 |
product |
0 |
2581272 |
A |
0 |
antena-auto-ornamentala-universala-tip-rechin-din-plastic-15x55x7cm-culoare-alb-_vxm1-qk.jpg |
|
652 |
500 |
2581272 |
| 2581020 |
1434961 |
product |
0 |
2581273 |
A |
0 |
antena-auto-ornamentala-universala-tip-rechin-din-plastic-15x55x7cm-culoare-alb-_k6h0-aq.jpg |
|
652 |
500 |
2581273 |
| 2581021 |
1434961 |
product |
0 |
2581274 |
A |
0 |
antena-auto-ornamentala-universala-tip-rechin-din-plastic-15x55x7cm-culoare-alb-_9p6d-pr.jpg |
|
652 |
500 |
2581274 |