Query time 0.00075
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "70.55"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "15.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": 15,
"rows_produced_per_join": 15,
"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 (69458,68914,68936,69401,68933,68935,68903,68913,68893,68889,68924,69486,68911,69380,68909)))",
"cost_info": {
"read_cost": "26.48",
"eval_cost": "1.50",
"prefix_cost": "27.98",
"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": "4",
"ref": [
"cscart_db.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "12.66",
"eval_cost": "1.50",
"prefix_cost": "42.14",
"data_read_per_join": "11K"
},
"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": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "11.91",
"eval_cost": "1.50",
"prefix_cost": "55.55",
"data_read_per_join": "8K"
},
"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 |
uc_sa0u-eh.jpg |
800 |
800 |
N |
200617 |
68889 |
product |
201901 |
M |
0 |
|
201901 |
| 0 |
uc_iduz-7x.jpg |
800 |
800 |
N |
200661 |
68893 |
product |
201945 |
M |
0 |
|
201945 |
| 0 |
uc_n3rt-bk.jpg |
800 |
800 |
N |
200770 |
68903 |
product |
202054 |
M |
0 |
|
202054 |
| 0 |
uc_uq53-y2.jpg |
800 |
800 |
N |
200836 |
68909 |
product |
202120 |
M |
0 |
|
202120 |
| 0 |
uc_gxqi-11.jpg |
800 |
800 |
N |
200861 |
68911 |
product |
202145 |
M |
0 |
|
202145 |
| 0 |
uc_waxc-m8.jpg |
800 |
800 |
N |
200883 |
68913 |
product |
202167 |
M |
0 |
|
202167 |
| 0 |
uc_jj3m-ii.jpg |
800 |
800 |
N |
200895 |
68914 |
product |
202179 |
M |
0 |
|
202179 |
| 0 |
uc_j8rz-pc.jpg |
800 |
800 |
N |
200954 |
68924 |
product |
202238 |
M |
0 |
|
202238 |
| 0 |
uc_rfli-4u.jpg |
800 |
800 |
N |
201032 |
68933 |
product |
202316 |
M |
0 |
|
202316 |
| 0 |
uc_hzb9-hy.jpg |
800 |
800 |
N |
201048 |
68935 |
product |
202332 |
M |
0 |
|
202332 |
| 0 |
uc_hrhp-w8.jpg |
800 |
800 |
N |
201059 |
68936 |
product |
202343 |
M |
0 |
|
202343 |
| 0 |
61wlXUPeJxL._SL1500_.jpg |
1500 |
1500 |
N |
206416 |
69380 |
product |
207700 |
M |
0 |
|
207700 |
| 0 |
Etude_combo_z6qh-7w.webp |
1000 |
1000 |
N |
206498 |
69401 |
product |
207782 |
M |
0 |
|
207782 |
| 0 |
color_lasting_glow_stick__1_Front_240621_wax3-0m.jpg |
2868 |
4848 |
N |
208064 |
69458 |
product |
209339 |
M |
0 |
|
209339 |
| 0 |
17c2f898809820698136_1.png |
800 |
800 |
N |
208311 |
69486 |
product |
209586 |
M |
0 |
|
209586 |