Query time 0.00114
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "97.00"
},
"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` = 'M') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (590365,590359,590343,590337,590341,590335,590358,590366,590364,590369,590368,590348,590351,1070392,590356,590350,1070391,590355)))",
"cost_info": {
"read_cost": "37.64",
"eval_cost": "1.80",
"prefix_cost": "39.44",
"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.image_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "17.99",
"eval_cost": "1.80",
"prefix_cost": "59.23",
"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`.`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": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "17.97",
"eval_cost": "1.80",
"prefix_cost": "79.00",
"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 |
| 931024 |
590335 |
product |
0 |
931261 |
M |
0 |
|
|
|
|
|
| 931026 |
590337 |
product |
0 |
931263 |
M |
0 |
|
|
|
|
|
| 931030 |
590341 |
product |
0 |
931267 |
M |
0 |
|
|
|
|
|
| 931032 |
590343 |
product |
0 |
931269 |
M |
0 |
|
|
|
|
|
| 931036 |
590348 |
product |
0 |
931273 |
M |
0 |
|
|
|
|
|
| 931038 |
590350 |
product |
0 |
931275 |
M |
0 |
|
|
|
|
|
| 931039 |
590351 |
product |
0 |
931276 |
M |
0 |
|
|
|
|
|
| 931043 |
590355 |
product |
0 |
931280 |
M |
0 |
|
|
|
|
|
| 931044 |
590356 |
product |
0 |
931281 |
M |
0 |
|
|
|
|
|
| 931046 |
590358 |
product |
0 |
931283 |
M |
0 |
|
|
|
|
|
| 931047 |
590359 |
product |
0 |
931284 |
M |
0 |
|
|
|
|
|
| 931052 |
590364 |
product |
0 |
931289 |
M |
0 |
|
|
|
|
|
| 931053 |
590365 |
product |
0 |
931290 |
M |
0 |
|
|
|
|
|
| 931054 |
590366 |
product |
0 |
931291 |
M |
0 |
|
|
|
|
|
| 931056 |
590368 |
product |
0 |
931293 |
M |
0 |
|
|
|
|
|
| 931057 |
590369 |
product |
0 |
931294 |
M |
0 |
|
|
|
|
|
| 1654978 |
1070391 |
product |
0 |
1655216 |
M |
0 |
|
|
|
|
|
| 1654979 |
1070392 |
product |
0 |
1655217 |
M |
0 |
|
|
|
|
|