Query time 0.00431
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "191.59"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "36.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": 36,
"rows_produced_per_join": 36,
"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 (1732000,1661266,1731933,1658668,1658805,2539827,1661450,1658400,1661340,2072334,1659066,1163013,1663387,2253671,1659620,1658630,1659207,1658657,1657931,1661143,1732317,1664148,1732319,1657915,1659840,1658338,1658635,1658606,1658866,1658169,1660818,1659802,1659293,1660499,1658645,1661096)))",
"cost_info": {
"read_cost": "73.09",
"eval_cost": "3.60",
"prefix_cost": "76.69",
"data_read_per_join": "3K"
},
"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.image_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 36,
"filtered": "100.00",
"cost_info": {
"read_cost": "35.93",
"eval_cost": "3.60",
"prefix_cost": "116.22",
"data_read_per_join": "27K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y"
],
"attached_condition": "<if>(is_not_null_compl(cscart_images), (`maniamall_cscart`.`cscart_images_links`.`image_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": 36,
"filtered": "100.00",
"cost_info": {
"read_cost": "35.77",
"eval_cost": "3.60",
"prefix_cost": "155.59",
"data_read_per_join": "21K"
},
"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 |
| 1870579 |
1163013 |
product |
0 |
1870831 |
M |
0 |
|
|
|
|
|
| 3643033 |
1657915 |
product |
0 |
3643286 |
M |
0 |
|
|
|
|
|
| 3643053 |
1657931 |
product |
0 |
3643306 |
M |
0 |
|
|
|
|
|
| 3643400 |
1658169 |
product |
0 |
3643653 |
M |
0 |
|
|
|
|
|
| 3643583 |
1658338 |
product |
0 |
3643836 |
M |
0 |
|
|
|
|
|
| 3643647 |
1658400 |
product |
0 |
3643900 |
M |
0 |
|
|
|
|
|
| 3643864 |
1658606 |
product |
0 |
3644117 |
M |
0 |
|
|
|
|
|
| 3643889 |
1658630 |
product |
0 |
3644142 |
M |
0 |
|
|
|
|
|
| 3643894 |
1658635 |
product |
0 |
3644147 |
M |
0 |
|
|
|
|
|
| 3643904 |
1658645 |
product |
0 |
3644157 |
M |
0 |
|
|
|
|
|
| 3643916 |
1658657 |
product |
0 |
3644169 |
M |
0 |
|
|
|
|
|
| 3643927 |
1658668 |
product |
0 |
3644180 |
M |
0 |
|
|
|
|
|
| 3644074 |
1658805 |
product |
0 |
3644327 |
M |
0 |
|
|
|
|
|
| 3644138 |
1658866 |
product |
0 |
3644391 |
M |
0 |
|
|
|
|
|
| 3644346 |
1659066 |
product |
0 |
3644599 |
M |
0 |
|
|
|
|
|
| 3644496 |
1659207 |
product |
0 |
3644749 |
M |
0 |
|
|
|
|
|
| 3644585 |
1659293 |
product |
0 |
3644838 |
M |
0 |
|
|
|
|
|
| 3644927 |
1659620 |
product |
0 |
3645180 |
M |
0 |
|
|
|
|
|
| 3645111 |
1659802 |
product |
0 |
3645364 |
M |
0 |
|
|
|
|
|
| 3645150 |
1659840 |
product |
0 |
3645403 |
M |
0 |
|
|
|
|
|
| 3645825 |
1660499 |
product |
0 |
3646078 |
M |
0 |
|
|
|
|
|
| 3646153 |
1660818 |
product |
0 |
3646406 |
M |
0 |
|
|
|
|
|
| 3646440 |
1661096 |
product |
0 |
3646693 |
M |
0 |
|
|
|
|
|
| 3646487 |
1661143 |
product |
0 |
3646740 |
M |
0 |
|
|
|
|
|
| 3646613 |
1661266 |
product |
0 |
3646866 |
M |
0 |
|
|
|
|
|
| 3646687 |
1661340 |
product |
0 |
3646940 |
M |
0 |
|
|
|
|
|
| 3646797 |
1661450 |
product |
0 |
3647050 |
M |
0 |
|
|
|
|
|
| 3648729 |
1663387 |
product |
0 |
3648982 |
M |
0 |
|
|
|
|
|
| 3649498 |
1664148 |
product |
0 |
3649751 |
M |
0 |
|
|
|
|
|
| 3947016 |
1731933 |
product |
0 |
3947269 |
M |
0 |
|
|
|
|
|
| 3947108 |
1732000 |
product |
0 |
3947361 |
M |
0 |
|
|
|
|
|
| 3947593 |
1732317 |
product |
0 |
3947846 |
M |
0 |
|
|
|
|
|
| 3947597 |
1732319 |
product |
0 |
3947850 |
M |
0 |
|
|
|
|
|
| 4986207 |
2072334 |
product |
0 |
4986460 |
M |
0 |
|
|
|
|
|
| 5641343 |
2253671 |
product |
0 |
5641596 |
M |
0 |
|
|
|
|
|
| 6559887 |
2539827 |
product |
0 |
6560140 |
M |
0 |
|
|
|
|
|