Query time 0.00093
JSON explain
{
"query_block": {
"select_id": 1,
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_images_links.position, cscart_images_links.pair_id",
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": ["object_id"],
"key": "object_id",
"key_length": "81",
"used_key_parts": ["object_id", "object_type", "type"],
"rows": 8,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (220,134,222,219,201,203,135,200)"
}
}
},
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["cscart_purchase_fl_com.cscart_images_links.detailed_id"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "108",
"used_key_parts": ["object_id", "lang_code", "object_holder"],
"ref": ["cscart_purchase_fl_com.cscart_images.image_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'ja' and trigcond(cscart_images.image_id is not null))"
}
}
}
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 |
Panda_Dango_close_az6d-ey.jpg |
1000 |
1000 |
N |
1153 |
134 |
product |
9234 |
M |
0 |
|
9234 |
0 |
Panda_Pandapop_close_y6bb-jz.jpg |
1000 |
1000 |
N |
1154 |
135 |
product |
9235 |
M |
0 |
|
9235 |
0 |
Panda_Pandapop_close_v0iw-rx.jpg |
1000 |
1000 |
N |
1169 |
200 |
product |
9250 |
M |
0 |
|
9250 |
0 |
Panda_Pandapop_close_v666-8b.jpg |
1000 |
1000 |
N |
1170 |
201 |
product |
9251 |
M |
0 |
|
9251 |
0 |
Panda_Pandapop_close_oefz-tr.jpg |
1000 |
1000 |
N |
1172 |
203 |
product |
9253 |
M |
0 |
|
9253 |
0 |
Panda_Dango_close_5qkt-gy.jpg |
1000 |
1000 |
N |
1182 |
220 |
product |
9263 |
M |
0 |
|
9263 |
0 |
Panda_Dango_close_vqiq-rs.jpg |
1000 |
1000 |
N |
1193 |
222 |
product |
9274 |
M |
0 |
|
9274 |
0 |
Panda_Dango_close_2tqc-1g.jpg |
1000 |
1000 |
N |
1243 |
219 |
product |
9324 |
M |
0 |
|
9324 |