Query time 0.00079
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "42.61"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "10.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id",
"idx_object_type_type_position"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 10,
"rows_produced_per_join": 10,
"filtered": "100.00",
"index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'M') and (`cscart_db`.`cscart_images_links`.`object_id` in (65396,65399,65457,66114,66105,66160,66988,66111,66157,66161)))",
"cost_info": {
"read_cost": "16.71",
"eval_cost": "1.00",
"prefix_cost": "17.71",
"data_read_per_join": "960"
},
"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": "4",
"ref": [
"cscart_db.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.88",
"eval_cost": "1.00",
"prefix_cost": "25.59",
"data_read_per_join": "7K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
]
}
},
{
"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": [
"cscart_db.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.02",
"eval_cost": "1.00",
"prefix_cost": "32.61",
"data_read_per_join": "5K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
AB066B2C240426_1.jpg |
569 |
683 |
N |
177341 |
65396 |
product |
178687 |
M |
0 |
|
178687 |
| 0 |
bts-young-forever-night-version-special-album.webp |
1200 |
1200 |
N |
180538 |
66105 |
product |
181884 |
M |
0 |
|
181884 |
| 0 |
R_5000x.png |
738 |
528 |
N |
180543 |
66111 |
product |
181889 |
M |
0 |
|
181889 |
| 0 |
map_of_seoul.jpg |
1000 |
1000 |
N |
180546 |
66114 |
product |
181892 |
M |
0 |
|
181892 |
| 0 |
009001012331_5000x.jpg |
500 |
501 |
N |
181473 |
66157 |
product |
182819 |
M |
0 |
|
182819 |
| 0 |
009001026670_1400x.jpg |
500 |
500 |
N |
181476 |
66160 |
product |
182822 |
M |
0 |
|
182822 |
| 0 |
JIN_WV_TH_4c13a20a-9dc0-428b-9260-0abb75539ef6_1400x.jpg |
1400 |
1400 |
N |
181477 |
66161 |
product |
182823 |
M |
0 |
|
182823 |
| 0 |
MUSIC_CD_ALBUM__BTS_JIN_-_ECHO_2ND_SOLO_MINI_ALBUM_STANDARD_SET_.webp |
500 |
500 |
N |
185671 |
66988 |
product |
187017 |
M |
0 |
|
187017 |
| 0 |
SVT_f9224eee-cd4f-4627-a4bc-0378edefa099_5000x.webp |
1200 |
1200 |
N |
194416 |
65457 |
product |
195754 |
M |
0 |
|
195754 |
| 0 |
367446820_18274303255156246_2799552099462163859_n.jpg |
1080 |
1080 |
N |
213685 |
65399 |
product |
214960 |
M |
0 |
|
214960 |