Query time 0.00094
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "192.81"
},
"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 (1029131,1029075,1028783,1051342,1051499,1029173,1028496,1051407,1029127,1032879,1051420,1029100,1051411,1028475,1051509,1028753,1029112,1028738,1032919,1051341,1051343,1028600,1032891,1028545,1029184,1028719,1032924,1028464,1028517,1028727,1028541,1028792,1028734,1032904,1032863,1029178)))",
"cost_info": {
"read_cost": "74.47",
"eval_cost": "3.60",
"prefix_cost": "78.07",
"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.88",
"eval_cost": "3.60",
"prefix_cost": "117.55",
"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.66",
"eval_cost": "3.60",
"prefix_cost": "156.81",
"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 |
| 1583932 |
1028464 |
product |
0 |
1584169 |
M |
0 |
|
|
|
|
|
| 1583943 |
1028475 |
product |
0 |
1584180 |
M |
0 |
|
|
|
|
|
| 1583963 |
1028496 |
product |
0 |
1584200 |
M |
0 |
|
|
|
|
|
| 1583984 |
1028517 |
product |
0 |
1584221 |
M |
0 |
|
|
|
|
|
| 1584008 |
1028541 |
product |
0 |
1584245 |
M |
0 |
|
|
|
|
|
| 1584012 |
1028545 |
product |
0 |
1584249 |
M |
0 |
|
|
|
|
|
| 1584067 |
1028600 |
product |
0 |
1584304 |
M |
0 |
|
|
|
|
|
| 1584186 |
1028719 |
product |
0 |
1584423 |
M |
0 |
|
|
|
|
|
| 1584194 |
1028727 |
product |
0 |
1584431 |
M |
0 |
|
|
|
|
|
| 1584201 |
1028734 |
product |
0 |
1584438 |
M |
0 |
|
|
|
|
|
| 1584205 |
1028738 |
product |
0 |
1584442 |
M |
0 |
|
|
|
|
|
| 1584220 |
1028753 |
product |
0 |
1584457 |
M |
0 |
|
|
|
|
|
| 1584250 |
1028783 |
product |
0 |
1584487 |
M |
0 |
|
|
|
|
|
| 1584259 |
1028792 |
product |
0 |
1584496 |
M |
0 |
|
|
|
|
|
| 1584542 |
1029075 |
product |
0 |
1584779 |
M |
0 |
|
|
|
|
|
| 1584567 |
1029100 |
product |
0 |
1584804 |
M |
0 |
|
|
|
|
|
| 1584579 |
1029112 |
product |
0 |
1584816 |
M |
0 |
|
|
|
|
|
| 1584594 |
1029127 |
product |
0 |
1584831 |
M |
0 |
|
|
|
|
|
| 1584598 |
1029131 |
product |
0 |
1584835 |
M |
0 |
|
|
|
|
|
| 1584640 |
1029173 |
product |
0 |
1584877 |
M |
0 |
|
|
|
|
|
| 1584645 |
1029178 |
product |
0 |
1584882 |
M |
0 |
|
|
|
|
|
| 1584651 |
1029184 |
product |
0 |
1584888 |
M |
0 |
|
|
|
|
|
| 1590106 |
1032863 |
product |
0 |
1590343 |
M |
0 |
|
|
|
|
|
| 1590122 |
1032879 |
product |
0 |
1590359 |
M |
0 |
|
|
|
|
|
| 1590134 |
1032891 |
product |
0 |
1590371 |
M |
0 |
|
|
|
|
|
| 1590147 |
1032904 |
product |
0 |
1590384 |
M |
0 |
|
|
|
|
|
| 1590162 |
1032919 |
product |
0 |
1590399 |
M |
0 |
|
|
|
|
|
| 1590167 |
1032924 |
product |
0 |
1590404 |
M |
0 |
|
|
|
|
|
| 1615836 |
1051341 |
product |
0 |
1616073 |
M |
0 |
|
|
|
|
|
| 1615837 |
1051342 |
product |
0 |
1616074 |
M |
0 |
|
|
|
|
|
| 1615838 |
1051343 |
product |
0 |
1616075 |
M |
0 |
|
|
|
|
|
| 1615901 |
1051407 |
product |
0 |
1616138 |
M |
0 |
|
|
|
|
|
| 1615905 |
1051411 |
product |
0 |
1616142 |
M |
0 |
|
|
|
|
|
| 1615914 |
1051420 |
product |
0 |
1616151 |
M |
0 |
|
|
|
|
|
| 1615993 |
1051499 |
product |
0 |
1616230 |
M |
0 |
|
|
|
|
|
| 1616003 |
1051509 |
product |
0 |
1616240 |
M |
0 |
|
|
|
|
|