Query time 0.00098
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "167.09"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "35.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": 35,
"rows_produced_per_join": 35,
"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 (1002681,1002498,1232020,1232123,1232132,1231444,1231691,1232130,1232131,1232118,1231700,1232128,1232127,1231692)))",
"cost_info": {
"read_cost": "51.96",
"eval_cost": "3.50",
"prefix_cost": "55.46",
"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": 35,
"filtered": "100.00",
"cost_info": {
"read_cost": "34.95",
"eval_cost": "3.50",
"prefix_cost": "93.92",
"data_read_per_join": "26K"
},
"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": 35,
"filtered": "100.00",
"cost_info": {
"read_cost": "34.67",
"eval_cost": "3.50",
"prefix_cost": "132.09",
"data_read_per_join": "20K"
},
"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 |
| 1991170 |
1231444 |
product |
0 |
1991422 |
A |
0 |
|
|
|
|
|
| 1991557 |
1231691 |
product |
0 |
1991809 |
A |
0 |
|
|
|
|
|
| 1991558 |
1231691 |
product |
0 |
1991810 |
A |
0 |
|
|
|
|
|
| 1991559 |
1231691 |
product |
0 |
1991811 |
A |
0 |
|
|
|
|
|
| 1991560 |
1231691 |
product |
0 |
1991812 |
A |
0 |
|
|
|
|
|
| 1991562 |
1231692 |
product |
0 |
1991814 |
A |
0 |
|
|
|
|
|
| 1991563 |
1231692 |
product |
0 |
1991815 |
A |
0 |
|
|
|
|
|
| 1991564 |
1231692 |
product |
0 |
1991816 |
A |
0 |
|
|
|
|
|
| 1991565 |
1231692 |
product |
0 |
1991817 |
A |
0 |
|
|
|
|
|
| 1991587 |
1231700 |
product |
0 |
1991839 |
A |
0 |
|
|
|
|
|
| 1991588 |
1231700 |
product |
0 |
1991840 |
A |
0 |
|
|
|
|
|
| 1991589 |
1231700 |
product |
0 |
1991841 |
A |
0 |
|
|
|
|
|
| 1991590 |
1231700 |
product |
0 |
1991842 |
A |
0 |
|
|
|
|
|
| 1992040 |
1232020 |
product |
0 |
1992292 |
A |
0 |
|
|
|
|
|
| 1992041 |
1232020 |
product |
0 |
1992293 |
A |
0 |
|
|
|
|
|
| 1992042 |
1232020 |
product |
0 |
1992294 |
A |
0 |
|
|
|
|
|
| 1992043 |
1232020 |
product |
0 |
1992295 |
A |
0 |
|
|
|
|
|
| 1992216 |
1232123 |
product |
0 |
1992468 |
A |
0 |
|
|
|
|
|
| 1992217 |
1232123 |
product |
0 |
1992469 |
A |
0 |
|
|
|
|
|
| 1992218 |
1232123 |
product |
0 |
1992470 |
A |
0 |
|
|
|
|
|
| 1992238 |
1232127 |
product |
0 |
1992490 |
A |
0 |
|
|
|
|
|
| 1992239 |
1232127 |
product |
0 |
1992491 |
A |
0 |
|
|
|
|
|
| 1992240 |
1232127 |
product |
0 |
1992492 |
A |
0 |
|
|
|
|
|
| 1992242 |
1232128 |
product |
0 |
1992494 |
A |
0 |
|
|
|
|
|
| 1992243 |
1232128 |
product |
0 |
1992495 |
A |
0 |
|
|
|
|
|
| 1992244 |
1232128 |
product |
0 |
1992496 |
A |
0 |
|
|
|
|
|
| 1992245 |
1232128 |
product |
0 |
1992497 |
A |
0 |
|
|
|
|
|
| 1992246 |
1232128 |
product |
0 |
1992498 |
A |
0 |
|
|
|
|
|
| 1992247 |
1232128 |
product |
0 |
1992499 |
A |
0 |
|
|
|
|
|
| 1992256 |
1232130 |
product |
0 |
1992508 |
A |
0 |
|
|
|
|
|
| 1992258 |
1232131 |
product |
0 |
1992510 |
A |
0 |
|
|
|
|
|
| 1992260 |
1232132 |
product |
0 |
1992512 |
A |
0 |
|
|
|
|
|