Query time 0.00072
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "85.88"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "18.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": 18,
"rows_produced_per_join": 18,
"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 (897045,1302501,1302521,1302511,1302499,1302514,1302515)))",
"cost_info": {
"read_cost": "26.65",
"eval_cost": "1.80",
"prefix_cost": "28.45",
"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": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "17.94",
"eval_cost": "1.80",
"prefix_cost": "48.19",
"data_read_per_join": "13K"
},
"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": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "17.89",
"eval_cost": "1.80",
"prefix_cost": "67.88",
"data_read_per_join": "10K"
},
"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 |
| 1394477 |
897045 |
product |
0 |
1394714 |
A |
0 |
instalatie-luminoasa-led-de-craciun-300-led-uri-cu-8-functii-3m-albastru-_nxh9-5n.jpg |
|
2000 |
2000 |
1394714 |
| 2119488 |
1302499 |
product |
0 |
2119740 |
A |
0 |
instalatie-decorativa-led-de-craciun-20-led-uri-lumina-calda-2m-3x-baterii-lr44-_sck6-ok.jpg |
|
600 |
600 |
2119740 |
| 2119489 |
1302499 |
product |
0 |
2119741 |
A |
0 |
instalatie-decorativa-led-de-craciun-20-led-uri-lumina-calda-2m-3x-baterii-lr44-_gm9r-r7.jpg |
|
600 |
600 |
2119741 |
| 2119490 |
1302499 |
product |
0 |
2119742 |
A |
0 |
instalatie-decorativa-led-de-craciun-20-led-uri-lumina-calda-2m-3x-baterii-lr44-_8c2o-g5.jpg |
|
600 |
600 |
2119742 |
| 2119496 |
1302501 |
product |
0 |
2119748 |
A |
0 |
instalatie-luminoasa-led-de-craciun-20-led-uri-lumina-alb-rece-2m-2x-baterii-aa-_f9i1-4b.jpg |
|
480 |
480 |
2119748 |
| 2119497 |
1302501 |
product |
0 |
2119749 |
A |
0 |
instalatie-luminoasa-led-de-craciun-20-led-uri-lumina-alb-rece-2m-2x-baterii-aa-_ziq3-o1.jpg |
|
480 |
480 |
2119749 |
| 2119498 |
1302501 |
product |
0 |
2119750 |
A |
0 |
instalatie-luminoasa-led-de-craciun-20-led-uri-lumina-alb-rece-2m-2x-baterii-aa-_kiul-b6.jpg |
|
480 |
480 |
2119750 |
| 2119532 |
1302511 |
product |
0 |
2119784 |
A |
0 |
instalatie-decorativa-de-craciun-led-20-becuri-bulb-cu-100-led-uri-lumina-alb-rece-4m-_oqvb-2c.jpg |
|
480 |
480 |
2119784 |
| 2119533 |
1302511 |
product |
0 |
2119785 |
A |
0 |
instalatie-decorativa-de-craciun-led-20-becuri-bulb-cu-100-led-uri-lumina-alb-rece-4m-_i3p4-nk.jpg |
|
480 |
480 |
2119785 |
| 2119534 |
1302511 |
product |
0 |
2119786 |
A |
0 |
instalatie-decorativa-de-craciun-led-20-becuri-bulb-cu-100-led-uri-lumina-alb-rece-4m-_8gsa-vr.jpg |
|
480 |
480 |
2119786 |
| 2119543 |
1302514 |
product |
0 |
2119795 |
A |
0 |
instalatie-luminoasa-led-de-craciun-100-led-uri-lumina-alb-rece-3m-3x-baterii-aa-_r4uz-ag.jpg |
|
480 |
480 |
2119795 |
| 2119544 |
1302514 |
product |
0 |
2119796 |
A |
0 |
instalatie-luminoasa-led-de-craciun-100-led-uri-lumina-alb-rece-3m-3x-baterii-aa-_2ldl-a7.jpg |
|
480 |
480 |
2119796 |
| 2119546 |
1302515 |
product |
0 |
2119798 |
A |
0 |
instalatie-decorativa-tip-bulb-de-craciun-led-30-becuri-bulb-cu-150-led-uri-lumina-alb-rece-6m-_v9bj-oe.jpg |
|
480 |
480 |
2119798 |
| 2119547 |
1302515 |
product |
0 |
2119799 |
A |
0 |
instalatie-decorativa-tip-bulb-de-craciun-led-30-becuri-bulb-cu-150-led-uri-lumina-alb-rece-6m-_enh5-5n.jpg |
|
480 |
480 |
2119799 |
| 2119548 |
1302515 |
product |
0 |
2119800 |
A |
0 |
instalatie-decorativa-tip-bulb-de-craciun-led-30-becuri-bulb-cu-150-led-uri-lumina-alb-rece-6m-_ba9b-l7.jpg |
|
480 |
480 |
2119800 |
| 2119567 |
1302521 |
product |
0 |
2119819 |
A |
0 |
instalatie-luminoasa-led-de-craciun-300-led-uri-cu-8-functii-albastru--roz-3m-220v-_ljbc-lf.jpg |
|
480 |
480 |
2119819 |
| 2119568 |
1302521 |
product |
0 |
2119820 |
A |
0 |
instalatie-luminoasa-led-de-craciun-300-led-uri-cu-8-functii-albastru--roz-3m-220v-_34fq-6q.jpg |
|
480 |
480 |
2119820 |
| 2119569 |
1302521 |
product |
0 |
2119821 |
A |
0 |
instalatie-luminoasa-led-de-craciun-300-led-uri-cu-8-functii-albastru--roz-3m-220v-_3l0y-vk.jpg |
|
480 |
480 |
2119821 |