Query time 0.00189
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "201.22"
},
"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 (687122,1133394,687121,1764724,1750123,1129179,1764709,1129177,2196550,1764704,1779525,1764664,1141555)))",
"cost_info": {
"read_cost": "59.42",
"eval_cost": "4.30",
"prefix_cost": "63.72",
"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.image_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 43,
"filtered": "100.00",
"cost_info": {
"read_cost": "42.97",
"eval_cost": "4.30",
"prefix_cost": "110.99",
"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`.`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": 43,
"filtered": "100.00",
"cost_info": {
"read_cost": "42.93",
"eval_cost": "4.30",
"prefix_cost": "158.22",
"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 |
| 1080518 |
687121 |
product |
0 |
1080755 |
A |
0 |
|
|
|
|
|
| 1080519 |
687121 |
product |
0 |
1080756 |
A |
0 |
|
|
|
|
|
| 1792281 |
1129177 |
product |
0 |
1792530 |
A |
0 |
|
|
|
|
|
| 1792282 |
1129177 |
product |
0 |
1792531 |
A |
0 |
|
|
|
|
|
| 1792287 |
1129179 |
product |
0 |
1792536 |
A |
0 |
|
|
|
|
|
| 1806832 |
1133394 |
product |
0 |
1807082 |
A |
0 |
|
|
|
|
|
| 1806833 |
1133394 |
product |
0 |
1807083 |
A |
0 |
|
|
|
|
|
| 1811383 |
687122 |
product |
0 |
1811635 |
A |
0 |
|
|
|
|
|
| 1811384 |
687122 |
product |
0 |
1811636 |
A |
0 |
|
|
|
|
|
| 1839015 |
1141555 |
product |
0 |
1839267 |
A |
0 |
|
|
|
|
|
| 1839016 |
1141555 |
product |
0 |
1839268 |
A |
0 |
|
|
|
|
|
| 1839017 |
1141555 |
product |
0 |
1839269 |
A |
0 |
|
|
|
|
|
| 1839018 |
1141555 |
product |
0 |
1839270 |
A |
0 |
|
|
|
|
|
| 4059271 |
1764664 |
product |
0 |
4059524 |
A |
0 |
|
|
|
|
|
| 4059272 |
1764664 |
product |
0 |
4059525 |
A |
0 |
|
|
|
|
|
| 4059273 |
1764664 |
product |
0 |
4059526 |
A |
0 |
|
|
|
|
|
| 4059274 |
1764664 |
product |
0 |
4059527 |
A |
0 |
|
|
|
|
|
| 4059275 |
1764664 |
product |
0 |
4059528 |
A |
0 |
|
|
|
|
|
| 4059546 |
1764704 |
product |
0 |
4059799 |
A |
0 |
|
|
|
|
|
| 4059547 |
1764704 |
product |
0 |
4059800 |
A |
0 |
|
|
|
|
|
| 4059548 |
1764704 |
product |
0 |
4059801 |
A |
0 |
|
|
|
|
|
| 4059549 |
1764704 |
product |
0 |
4059802 |
A |
0 |
|
|
|
|
|
| 4059550 |
1764704 |
product |
0 |
4059803 |
A |
0 |
|
|
|
|
|
| 4059551 |
1764704 |
product |
0 |
4059804 |
A |
0 |
|
|
|
|
|
| 4059581 |
1764709 |
product |
0 |
4059834 |
A |
0 |
|
|
|
|
|
| 4059582 |
1764709 |
product |
0 |
4059835 |
A |
0 |
|
|
|
|
|
| 4059583 |
1764709 |
product |
0 |
4059836 |
A |
0 |
|
|
|
|
|
| 4059584 |
1764709 |
product |
0 |
4059837 |
A |
0 |
|
|
|
|
|
| 4059585 |
1764709 |
product |
0 |
4059838 |
A |
0 |
|
|
|
|
|
| 4059681 |
1764724 |
product |
0 |
4059934 |
A |
0 |
|
|
|
|
|
| 4059682 |
1764724 |
product |
0 |
4059935 |
A |
0 |
|
|
|
|
|
| 4059683 |
1764724 |
product |
0 |
4059936 |
A |
0 |
|
|
|
|
|
| 4059684 |
1764724 |
product |
0 |
4059937 |
A |
0 |
|
|
|
|
|
| 4059685 |
1764724 |
product |
0 |
4059938 |
A |
0 |
|
|
|
|
|
| 4059686 |
1764724 |
product |
0 |
4059939 |
A |
0 |
|
|
|
|
|
| 4059687 |
1764724 |
product |
0 |
4059940 |
A |
0 |
|
|
|
|
|
| 4164850 |
1779525 |
product |
0 |
4165103 |
A |
0 |
|
|
|
|
|
| 4164851 |
1779525 |
product |
0 |
4165104 |
A |
0 |
|
|
|
|
|
| 4164852 |
1779525 |
product |
0 |
4165105 |
A |
0 |
|
|
|
|
|
| 5531110 |
2196550 |
product |
0 |
5531363 |
A |
0 |
|
|
|
|
|
| 5531111 |
2196550 |
product |
0 |
5531364 |
A |
0 |
|
|
|
|
|
| 5531112 |
2196550 |
product |
0 |
5531365 |
A |
0 |
|
|
|
|
|